This tutorial explains how to use PROC SUMMARY in SAS, along with examples.
PROC SUMMARY is a powerful SAS procedure that can be used to calculate descriptive statistics for variables either across all observations or within specific groups of observations.
Table of Contents
Syntax of PROC SUMMARY
Below is the syntax of PROC SUMMARY.
PROC SUMMARY DATA=input_dataset; BY variable; CLASS variable(s) </ options>; VAR variable(s); OUTPUT OUT=output_dataset </ options>; RUN;