Chapter Contents |
Previous |
Next |
The STANDARD Procedure |
Standardized Test Scores Using PROC STANDARD shows a simple standardization where the output data set contains standardized student exam scores. The statements that produce the output follow:
proc standard data=score mean=75 std=5 out=stndtest; run; proc print data=stndtest; run;
Standardized Test Scores Using PROC STANDARD
Z Scores for Each BY Group Using PROC STANDARD shows a more complex example that uses BY-group processing. PROC STANDARD computes Z scores separately for two BY groups by standardizing life-expectancy data to a mean of 0 and a standard deviation of 1. The data are 1950 and 1993 life expectancies at birth for 16 countries. The birth rates for each country, classified as stable or rapid, form the two BY groups. The statements that produce the analysis also
For an explanation of the program that produces this output, see Standardizing BY Groups and Replacing Missing Values .
Z Scores for Each BY Group Using PROC STANDARD
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.