Chapter Contents |
Previous |
Next |
The SURVEYSELECT Procedure |
Sequential random sampling controls the distribution of the sample by spreading it throughout the sampling frame or stratum, thus providing implicit stratification according to the order of units in the frame or stratum. You can use the CONTROL statement to sort the input data set by the CONTROL variables before sample selection. If you also use a STRATA statement, PROC SURVEYSELECT sorts by the CONTROL variables within strata. By default, the procedure uses hierarchic serpentine ordering to sort the sampling frame by the CONTROL variables within strata. If you specify the SORT=NEST option, the procedure uses nested sorting. See the section "Sorting by CONTROL Variables" for descriptions of serpentine and nested sorting. If you do not specify a CONTROL statement, PROC SURVEYSELECT applies sequential selection to the observations in the order in which they appear in the input data set.
According to Chromy's method of sequential selection, PROC SURVEYSELECT first chooses a starting unit randomly from the entire stratum, with probability proportional to size. The procedure uses this unit as the first one and treats the stratum observations as a closed loop. This is done so that all pairwise (joint) expected number of hits are positive and an unbiased variance estimator can be obtained. The procedure numbers observations sequentially from the random start to the end of the stratum and then continues from the beginning of the stratum until all units are numbered.
Beginning with the randomly chosen starting unit, Chromy's method partitions the ordered stratum sampling frame into n_{h} zones of equal size. There is one selection from each zone and a total of n_{h} selections or hits, although fewer than n_{h} distinct units may be selected. Beginning with the random start, the procedure accumulates the expected number of hits and computes
Considering each unit sequentially, Chromy's method determines the actual number of hits for unit i by comparing the total number of hits for the first i-1 units,
If T_{h(i-1)} = I_{h(i-1)} , Chromy's method determines the total number of hits for the first i units as follows. If F_{hi} = 0 or F_{h(i-1)} > F_{hi} , then T_{hi} = I_{hi}. Otherwise, T_{hi} = I_{hi} + 1 with probability
If T_{h(i-1)} = I_{h(i-1)} + 1 , Chromy's method determines the total number of hits for the first i units as follows. If F_{hi} = 0, then T_{hi} = I_{hi}. If F_{hi} > F_{h(i-1)} , then T_{hi} = I_{hi}+1. Otherwise, T_{hi} = I_{hi}+1 with probability
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.