P.Mean: I can't get SAS to model the cluster effects in the MEPS data set (created 2011-09-02).

News: Sign up for "The Monthly Mean," the newsletter that dares to call itself average, www.pmean.com/news.

Dear Professor Mean, I'm trying to use SAS to analyze data from the Medical Expenditure Panel Survey (MEPS) but when I try to model the cluster effect using proc glimmix, I get an error message. What am I doing wrong?

MEPS is a complicated data set that uses

stratification, clustering, multiple stages of selection, and disproportionate sampling. Furthermore, the MEPS sampling weights reflect adjustments for survey nonresponse and adjustments to population control totals from the Current Population Survey. http://www.meps.ahrq.gov/mepsweb/survey_comp/standard_errors.jsp

While proc glimmix does work for clustering, it doesn't take all the other factors into consideration. I pretty sure that glimmix, even with weights, won't produce meaningful results. The SAS examples at the website noted above all use proc surveymeans. You can also use SUDAAN (which was built with this type of survey in mind), Stata (with the svy commands), or SPSS (only with the complex survey add-on).

Creative Commons License This page was written by Steve Simon and is licensed under the Creative Commons Attribution 3.0 United States License. Need more information? I have a page with general help resources. You can also browse for pages similar to this one at Unusual Data.