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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 849 views
  • 6 likes
  • 2 in conversation