BookmarkSubscribeRSS Feed
yoosoo
Calcite | Level 5

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! 

2 REPLIES 2
ballardw
Super User

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

SteveDenham
Jade | Level 19

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

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
  • 2 replies
  • 821 views
  • 0 likes
  • 3 in conversation