This is a simple procedure for summarizing your data, similar to Proc Freq and Proc Univariate but at a lower capacity. good for simple descriptive statistics of your data set.
proc means data=dataname1
alpha=0.1
maxdec=4
mean
clm
std
var
min
max
range;
where var3 > 100;
class var4;
run;
alpha
maxdec
noprint
clm
std
var
Specify the confidence level for the confidence limits.
Specify the number of decimal places for the statistics
Suppresses all displayed output in the output window
Prints the confidence limit for the mean value
Specifies which statistics to compute and the order to display them in the output. The available keywords in the PROC statement are:
Tip: Use CLM or both LCLM and UCLM to compute a two-sided confidence limit for the mean. Use only LCLM or UCLM, to compute a one-sided confidence limit.
To tell SAS to provide all the requested statistic for a specific condition (e.g. here for only those observations where var3 has a value of higher than 100, or maybe for only male subjects, etc.)
To print all the statistics mentioned above for each levels of a categorical variable (e.g. for males and females separately)
and other
statistic-keyword(s)
where
class