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 nh zones of equal size. There is one selection from each zone and a total of nh selections or hits, although fewer than nh 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 Th(i-1) = Ih(i-1) , Chromy's method determines the total number of hits for the first i units as follows. If Fhi = 0 or Fh(i-1) > Fhi , then Thi = Ihi. Otherwise, Thi = Ihi + 1 with probability
If Th(i-1) = Ih(i-1) + 1 , Chromy's method determines the total number of hits for the first i units as follows. If Fhi = 0, then Thi = Ihi. If Fhi > Fh(i-1) , then Thi = Ihi+1. Otherwise, Thi = Ihi+1 with probability
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.