This tutorial explains how to calculate quartiles in SAS, along with examples.
The PROC UNIVARIATE procedure is used to calculate quartiles in SAS.
Calculating Quartiles for a Variable
The following SAS code calculates first, second and third quartile of variable ‘height’ from the dataset ‘class’ and saves the result to a dataset named ‘outdata’.
To read this article in full, please click here
Read MoreListenData