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 for sorting. 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.
Following Chromy's method of sequential selection, PROC SURVEYSELECT randomly chooses a starting unit from the entire stratum (or frame, if the design is not stratified). Using this unit as the first one, the procedure treats the stratum units as a closed loop. This is done so that all pairwise (joint) selection probabilities are positive and an unbiased variance estimator can be obtained. The procedure numbers units 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, PROC SURVEYSELECT accumulates the expected number of selections or hits, where the expected number of selections ES_{hi} equals n_{h} / N_{h} for all units i in stratum h. The procedure computes
Considering each unit sequentially, Chromy's method determines whether unit i is selected by comparing the total number of selections for the first i-1 units,
If T_{h(i-1)} = I_{h(i-1)} , Chromy's method determines whether or not unit i is selected as follows. If F_{hi} = 0 or F_{h(i-1)} > F_{hi} , then unit i is selected with certainty. Otherwise, unit i is selected with probability
If T_{h(i-1)} = I_{h(i-1)} + 1 , Chromy's method determines whether or not unit i is selected as follows. If F_{hi} = 0 or F_{hi} > F_{h(i-1)} , then the unit is not selected. Otherwise, unit i is selected with probability
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.