Creating a Summarized Data Set Using PROC MEANS
OUTPUT Statement Syntax
To write summary statistics to a new data set, use the
OUTPUT statement in the MEANS procedure.
Syntax, OUTPUT statement:
OUTPUT OUT=SAS-data-set
statistic=variable(s);
|
When you use the OUTPUT statement, the summary statistics N, MEAN, STD, MIN, and MAX are produced for all of the numeric variables or for all of the variables that are listed in a VAR statement ...
Get SAS Certification Prep Guide, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.