By default, PROC SURVEYSELECT displays two tables that summarize the sample selection: the "Sample Selection Method" table and the "Sample Selection Summary" table.
If you request sample allocation but no sample selection, PROC SURVEYSELECT displays two tables that summarize the allocation: the "Sample Allocation Method" table and the "Sample Allocation Summary" table.
If you request random assignment, the procedure displays the "Random Assignment" table.
You can suppress display of these tables by specifying the NOPRINT option.
PROC SURVEYSELECT creates an output data set that contains the units that are selected for the sample. Or if you request sample allocation but no sample selection, PROC SURVEYSELECT creates an output data set that contains the sample size allocation results. If you request random assignment, the procedure creates an output data set that contains the assignments. For more information, see the sections Sample Output Data Set, Allocation Output Data Set, and Random Assignment Output Data Set. The procedure does not display the output data set that it creates. Use PROC PRINT, PROC REPORT, or any other SAS reporting tool to display the output data set.
PROC SURVEYSELECT displays the following information in the "Sample Selection Method" table:
Selection Method
Sampling Unit Variables, if you specify a SAMPLINGUNIT statement
Size Measure variable, if you specify a SIZE statement
Size Measure: Number of Observations, if you specify the PPS option in the SAMPLINGUNIT statement and do not specify a SIZE statement
Minimum Size Measure, if you specify the MINSIZE= option
Maximum Size Measure, if you specify the MAXSIZE= option
Certainty Size Measure, if you specify the CERTSIZE= option
Certainty Proportion, if you specify the CERTSIZE=P= option
Strata Variables, if you specify a STRATA statement
Control Variables, if you specify a CONTROL statement
Control Sorting (Serpentine or Nested), if you specify a CONTROL statement
Allocation (Proportional, Neyman, Optimal, or Input), if you specify the ALLOC= option in the STRATA statement
Margin of Error, if you specify the MARGIN= option in the STRATA statement
Confidence Level, if you specify the ALPHA= option in the STRATA statement
PROC SURVEYSELECT displays the following information in the "Sample Selection Summary" table:
Input Data Set name
Sorted Data Set name, if you specify the OUTSORT= option
Random Number Seed
Sample Size or Stratum Sample Size, if you specify the SAMPSIZE=n option
Sample Size Data Set, if you specify the SAMPSIZE=SAS-data-set option
Sampling Rate or Stratum Sampling Rate, if you specify the SAMPRATE=value option for METHOD=SRS , METHOD=URS , METHOD=SYS , or METHOD=SEQ .
Selection Probability or Stratum Selection Probability, if you specify the SAMPRATE=value option for METHOD=BERNOULLI
Sampling Rate Data Set, if you specify the SAMPRATE=SAS-data-set option
Minimum Sample Size or Stratum Minimum Sample Size, if you specify the NMIN= option in the SAMPRATE= option
Maximum Sample Size or Stratum Maximum Sample Size, if you specify the NMAX= option in the SAMPRATE= option
Number of Certainty Units, if you specify the CERTSIZE= or CERTSIZE=P= option and do not specify a STRATA statement
Specified Start, if you specify the START= option for METHOD=SYS or METHOD=PPS_SYS
Random Start, if you specify the DETAILS option for METHOD=SYS or METHOD=PPS_SYS and do not specify a STRATA statement or the REPS= option
Specified Interval, if you specify the INTERVAL= option for METHOD=SYS or METHOD=PPS_SYS
Systematic Interval, if you specify the DETAILS option for METHOD=SYS or METHOD=PPS_SYS and do not specify a STRATA statement or the REPS= option
Sample Size, if you specify the INTERVAL= option for METHOD=SYS or METHOD=PPS_SYS and do not specify a STRATA statement or the REPS= option
Allocation Input Data Set name, if you specify the ALLOC=SAS-data-set option in the STRATA statement
Variance Input Data Set name, if you specify the VAR=SAS-data-set option in the STRATA statement
Cost Input Data Set name, if you specify the COST=SAS-data-set option in the STRATA statement
Selection Probability, if you specify METHOD=SRS , METHOD=SYS , or METHOD=SEQ and do not specify a SIZE statement or a STRATA statement
Expected Number of Hits, if you specify METHOD=URS and do not specify a STRATA statement
Total Number of Units, if you specify METHOD=BERNOULLI or METHOD=POISSON and do not specify a STRATA statement
Expected Sample Size, if you specify METHOD=BERNOULLI or METHOD=POISSON and do not specify a STRATA statement
Sample Size, if you specify METHOD=BERNOULLI or METHOD=POISSON and do not specify a STRATA statement
Sampling Weight, if you specify an equal probability selection method (METHOD=SRS , METHOD=URS , METHOD=SYS , METHOD=SEQ , or METHOD=BERNOULLI ) and do not specify a STRATA statement
Adjusted Sampling Weight, if you specify METHOD=BERNOULLI and do not specify a STRATA statement
Number of Strata, if you specify a STRATA statement
Stratum Minimum Sample Size, if you specify the ALLOCMIN= option in the STRATA statement
Number of Replicates, if you specify the REPS= option
Total Sample Size, if you specify a STRATA statement or the REPS= option
Expected Margin of Error, if you specify the STATS option with the MARGIN= option in the STRATA statement
Expected Variance, if you specify the STATS option without the MARGIN= option in the STRATA statement for ALLOC=OPTIMAL or ALLOC=NEYMAN
Total Stratum Costs, if you specify the STATS option with ALLOC=OPTIMAL in the STRATA statement
Output Data Set name
If you specify the NOSAMPLE option in the STRATA statement, PROC SURVEYSELECT allocates the total sample among the strata but does not select the sample. When you specify the NOSAMPLE option, PROC SURVEYSELECT displays the "Sample Allocation Method" table and the "Sample Allocation Summary" table. The "Sample Allocation Method" table includes the following information:
Allocation (Proportional, Neyman, Optimal, or Input)
Margin of Error, if you specify the MARGIN= option in the STRATA statement
Confidence Level, if you specify the ALPHA= option in the STRATA statement
Sampling Unit Variables, if you specify a SAMPLINGUNIT statement
Strata Variables
Frequency Variable
Selection Method, if you specify the METHOD= option
PROC SURVEYSELECT displays the following information in the "Sample Allocation Summary" table.
Input Data Set name
Allocation Input Data Set name, if you specify the ALLOC=SAS-data-set option in the STRATA statement
Variance Input Data Set name, if you specify the VAR=SAS-data-set option in the STRATA statement
Cost Input Data Set name, if you specify the COST=SAS-data-set option in the STRATA statement
Number of Strata
Stratum Minimum Sample Size, if you specify the ALLOCMIN= option in the STRATA statement
Total Sample Size
Expected Margin of Error, if you specify the STATS option with the MARGIN= option in the STRATA statement
Expected Variance, if you specify the STATS option without the MARGIN= option in the STRATA statement for ALLOC=OPTIMAL or ALLOC=NEYMAN
Total Stratum Costs, if you specify the STATS option with ALLOC=OPTIMAL in the STRATA statement
Allocation Output Data Set name
If you specify the GROUPS= option, PROC SURVEYSELECT displays the following information in the "Random Assignment" table:
Input Data Set name
Strata Variables, if you specify a STRATA statement
Random Number Seed
Number of Groups
Total Number of Units, if you specify the GROUPS=n option and do not specify a STRATA statement
Number of Units per Group, if you specify the GROUPS=n option and do not specify a STRATA statement
Number of Replicates, if you specify the REPS= option
Number of Strata, if you specify a STRATA statement
Total Number of Groups, if you specify a STRATA statement or the REPS= option
Output Data Set name