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 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. (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

  • 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:

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.