The SURVEYSELECT Procedure |

Allocation Output Data Set |

When you specify the NOSAMPLE option in the STRATA statement, PROC SURVEYSELECT allocates the total sample size among the strata but does not select the sample. In this case, the OUT= data set contains the allocated sample sizes.

You can specify the name of the allocation output data set with the OUT= option in the PROC SURVEYSELECT statement. If you omit the OUT= option, the data set is named DATA*n*, where *n* is the smallest integer that makes the name unique.

The allocation output data set can include the following variables:

STRATA variables, which you specify in the STRATA statement

Total, which is the total number of sampling units in the stratum

Variance, which is the stratum variance. This variable is included if you specify the VAR, VAR=(

*values*), or VAR=*SAS-data-set*option for ALLOC=OPTIMAL or ALLOC=NEYMAN.Cost, which is the stratum cost. This variable is included if you specify the COST, COST=(

*values*), or COST=*SAS-data-set*option for ALLOC=OPTIMAL.AllocProportion, which is the target allocation proportion, or the proportion of the total sample size to allocate to the stratum. PROC SURVEYSELECT computes this proportion by using the specified allocation method.

SampleSize, which is the sample size allocated to the stratum

ActualProportion, which is the actual proportion allocated to the stratum. The value of ActualProportion equals the allocated stratum sample size divided by the total sample size. This value can differ from the target AllocProportion due to rounding and other restrictions. See the section Sample Size Allocation for details.

Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.