Compute the descriptive statistics for one variable. PROC UNIVARIATE computes the univariate statistics for one variable, Quantity. This is the same PROC UNIVARIATE step that was used in Program 1: Using the Default Table Template That SAS Provides. The actual results of the procedure step are the same in this case, but they are presented differently because the procedure uses the edited table template. It does so because when it looks for Base.Univariate.Moments, it looks in the first template store in the path, SASUSER.TEMPLAT. If you wanted to use the table template that is supplied by SAS, you would have to change the path with the ODS PATH statement. For more information see the ODS PATH Statement.


proc univariate data=exprev mu0=3.5;
   var Quantity;
title "Custom Moments Table";
run;