Example 9.9 Selecting Observations at Random from a Data Set without Replacement
Create a subset of a data set by randomly choosing observations from the data set. Do not allow an observation to be selected more than once. This method is commonly referred to as simple random sampling without replacement.
|Featured Step||PROC SURVEYSELECT|
|Featured Step Options and Statements||PROC SURVEYSELECT statement options: METHOD=SRS, OUT=, SAMPSIZE=, SEED= options|
|Related Technique 1||DATA step with RANUNI function and PROC SORT|
|Related Technique 2||DATA step with RANUNI function, OUTPUT and STOP statements, SET statement with NOBS= option|