As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Difference between revisions of "Tips:Don't mess up your Data - Option OUTSORT in PROC SURVEYSELECT"

From sasCommunity
Jump to: navigation, search
(Scheduled October 22, 2009)
m (gardening)
 
Line 1: Line 1:
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.
+
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 <code>OUTSORT=</code> option prevents the sorted data set from replacing the input data set.
  
 
{{SubmittedBy|Altons|Alberto Negron}}
 
{{SubmittedBy|Altons|Alberto Negron}}

Latest revision as of 13:43, 16 October 2017

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.