The SURVEYSELECT Procedure |
Displayed Output |
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.
You can suppress display of these tables by specifying the NOPRINT option.
PROC SURVEYSELECT creates an output data set that contains the units 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. (See the sections Sample Output Data Set and Allocation Output Data Set for information about these output data sets.) 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
Size Measure variable, if you 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
type of Control Sorting, Serpentine or Nested, if you specify a CONTROL statement
type of Allocation, if you specify the ALLOC= 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=r option
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 with the SAMPRATE= option
Maximum Sample Size or Stratum Maximum Sample Size, if you specify the NMAX= option with the SAMPRATE= 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 STRATA statement
Expected Number of Hits, if you specify METHOD=URS and do not specify a STRATA statement
Sampling Weight for equal probability selection methods (METHOD=SRS, METHOD=URS, METHOD=SYS, METHOD=SEQ) if you do not specify a STRATA statement
Number of Strata, if you specify a STRATA statement
Number of Replicates, if you specify the REPS= option
Total Sample Size, if you specify a STRATA statement or the REPS= option
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, which includes the following information:
Allocation method
Strata Variables
When you specify the NOSAMPLE option in the STRATA statement, PROC SURVEYSELECT also displays the "Sample Allocation Summary" table, which includes the following information:
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
Total Sample Size
Allocation Output Data Set name
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.