Help using Base SAS procedures

Three-level model with categorical outcome and complex sampling

Reply
New User
Posts: 1

Three-level model with categorical outcome and complex sampling

Dear everyone, 

 

I seeking your advice on whether SAS will be able to fit my model, and if so, which procedure. 

 

My data has a three-level structure (country, community, individual) with a binary outcome variable at level 1, and main independent variable at level 2. The data was collected using two-stage complex sampling, hence I hope to incorporate stratification and sample weight in the model. Sampling strata is not being analysed as a separate level.

 

Thank you for your help in advance! 

Super User
Posts: 11,343

Re: Three-level model with categorical outcome and complex sampling

Without more details this sound like you may be looking at Proc SurveyLogisitic.

Respected Advisor
Posts: 2,655

Re: Three-level model with categorical outcome and complex sampling

[ Edited ]

And if you have SAS/STAT14.1 installed, then PROC GLIMMIX has an example (45.18 Weighted Multilevel Model for Survey Data) that covers a two level model, and an example of a three level model using the quadrature method to fit the data (45.19 Quadrature Method for Multilevel Model), that has students, classes and schools.  By combining the principles in these examples, I think you can get what you are after.

 

Steve Denham

Ask a Question
Discussion stats
  • 2 replies
  • 216 views
  • 0 likes
  • 3 in conversation