This example is taken from Lehtonen and Pahkinen’s Practical Methods for Design and Analysis of Complex Surveys. page 46 Table 2.6 Estimates from a systematic sample drawn from the Province’91 population using implicit stratification.
data page44; input id str clu wt ue91 lab91 smplrat; fpc = 32; datalines; 1 1 1 4 4123 33786 .25 2 1 5 4 721 4930 .25 3 2 9 4 194 2069 .25 4 2 13 4 129 927 .25 5 2 17 4 239 2144 .25 6 2 21 4 61 573 .25 7 2 25 4 262 1737 .25 8 2 29 4 166 1615 .25 ; run;proc surveymeans data = page44 rate = fpc sum std cv; weight wt; strata str; cluster clu; var ue91; run;The SURVEYMEANS Procedure Data Summary Number of Strata 2 Number of Clusters 8 Number of Observations 8 Sum of Weights 32 Statistics Coeff of Std Error Variable Variation Sum of Sum -------------------------------------------------------- ue91 0.500487 23580 11801 --------------------------------------------------------