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?
It depends... What do you know about your population (e.g. census data) that might be compared to your sample?
PG
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.
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
thanks. Since all of the data I'm using from USCB is categorical, I'll try using proc freq with option TESTP=
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: