Descriptive
Statistics for Variables and Groups 2. Getting
Means by Groups, and Saving Results
Context
We illustrate simple ways of obtaining
descriptive statistics on variables using PROC
MEANS. The illustrations use the SAS data set
icua.sd2 created
by a SAS program that
consists the full
data from a study of Intensive
Care. The complete program is mn3.sas
Task
Result
SAS Keywords/Code
Detail
2a. Getting Statistics on Groups
Table 2a1.
Table 2a2.
2b. Creating a SAS data set with
Statistics for groups
Table 2b1.
Table 2b2.
Last Update: 10/13/98
Comments: Ed Stanek
Email:
stanek@schoolph.umass.edu
\ed\web\be691\webready\sdmn2.html