BookmarkSubscribeRSS Feed
DavidD
Calcite | Level 5
Okay folks, I am in EG and at the end of my process I do a complex stratified sample survey using surveyselect. Things are looking good but now I need to post some tables that show the population size and the sample size and a couple of sample parameters. Surveyselect only gives me limited table info.

(I admit I don't even know if I am in the correct discussion forum).

Where should I go for more information?

Thanks,
3 REPLIES 3
Cynthia_sas
Diamond | Level 26
Hi:
There are a whole bunch of "SURVEY..." procedures as described here:
http://support.sas.com/rnd/app/da/new/dasurvey.html

And it further describes the process in this quote:

Traditional SAS® procedures, such as the MEANS procedure and the GLM procedure, compute statistics under the assumption that the sample is drawn from an infinite population by simple random sampling. These procedures generally do not correctly estimate the variance of an estimator if they are applied to a sample drawn by a complex sample design. SAS users have requested procedures that analyze data from complex sample surveys. In response to this request, SAS/STAT® software now provides the SURVEYFREQ, SURVEYLOGISTIC, SURVEYMEANS, SURVEYPHREG, SURVEYREG, and SURVEYSELECT procedures.

To select probability-based random samples from a study population, you can use the SURVEYSELECT procedure, which provides a variety of methods for probability sampling. To analyze sample survey data, you can use the SURVEYFREQ, SURVEYLOGISTIC, SURVEYMEANS, SURVEYPHREG, and SURVEYREG procedures, which incorporate the sample design into the analyses. These procedures can be used for multistage designs or for single-stage designs, with or without stratification, and with or without unequal weighting.


cynthia
ChrisHemedinger
Community Manager
David Cassell has several conference papers on the topic of using SURVEY* procedures for this sort of thing.

Here's one:
http://www.lexjansen.com/wuss/2006/tutorials/TUT-Cassell.pdf

And another:
http://www2.sas.com/proceedings/forum2007/183-2007.pdf

Chris
SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
DavidD
Calcite | Level 5
Thanks!

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1168 views
  • 0 likes
  • 3 in conversation