BookmarkSubscribeRSS Feed
BethOlsen
Calcite | Level 5

Is the SAS SurveyMeans procedure the best procedure to use to compare a set of sample data to the population to show whether the sample is a true representation of the population?

4 REPLIES 4
PGStats
Opal | Level 21

It depends... What do you know about your population (e.g. census data) that might be compared to your sample?

PG

PG
BethOlsen
Calcite | Level 5

Yes. I collected demographic information for my samples that matches demographic categories collected by the U.S. Census Bureau (USCB). I want to know if the people that attended my data collection meetings demographically represent the population of the state. The state demographics are collected by USCB.

PGStats
Opal | Level 21

You could use proc univariate with option LOCATION= to test the mean or median of each continuous variable (age, for example) against the population mean or median. For categorical proportions (sex, for example) you could use proc freq with option TESTP= to compare the proportions in your sample to the population proportions.

hth

PG

PG
BethOlsen
Calcite | Level 5

thanks. Since all of the data I'm using from USCB is categorical, I'll try using proc freq with option TESTP=

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 829 views
  • 6 likes
  • 2 in conversation