| Date: | Sat, 16 Jul 2011 16:47:52 -0700 |
| Reply-To: | Daniel Nordlund <djnordlund@FRONTIER.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Daniel Nordlund <djnordlund@FRONTIER.COM> |
| Subject: | Re: the "standard" code generating a sample |
| In-Reply-To: | <201107162339.p6GAnxIL029324@waikiki.cc.uga.edu> |
| Content-Type: | text/plain; charset="UTF-8" |
> -----Original Message-----
> From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
> Arthur Tabachneck
> Sent: Saturday, July 16, 2011 4:39 PM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: Re: the "standard" code generating a sample
>
> Another interesting question: what method does proc surveyselect use?
>
> I ran the following, expecting to get the same answer as the other two
> methods, but 10 different records were selected:
>
> proc surveyselect data = pool method = SRS rep = 1
> sampsize = 10 seed = 5 out = test3;
> id _all_;
> run;
>
> Art
> -------
Art,
the SAS documentation does give a description of the algorithm for SurveySelect, and it is an entirely different algorithm that is more efficient for different kinds of sampling.
Dan
Daniel Nordlund
Bothell, WA USA
|