Tips:Don't mess up your Data - Option OUTSORT in PROC SURVEYSELECT

From sasCommunity

Jump to: navigation, search

When specifying the CONTROL statement (for systematic or sequential selection methods), Proc SurveySelect sorts the input data set by the CONTROL variables within strata before selecting the sample. Using the OUTSORT=option prevents the sorted data set from replacing the input data set.

Submitted by Alberto Negron. Contact me at my Discussion Page.

Personal tools