BookmarkSubscribeRSS Feed
medea
Calcite | Level 5


I would like to do a multilevel regression analysis using a Bayesian approach. Could any body clarify what the difference/pros/cons in using GENMOD or MCMC? Does GLIMMIX have a BAYES option as GENMOD? thank you!

3 REPLIES 3
JasonXin
SAS Employee

Medea,

When you say multilevel, do you mean hierarchically nested data only or you also need to model on longitudinal data?

There is a SAS training course on the subject "Multilevel modeling of hierarchical and longitudinal data using SAS". There should be a more cost-effective web class avaiable.

Jason Xin

medea
Calcite | Level 5


Hello Jason, thank you for your message. I am not interested in longitudinal analysis, at the moment, I simply have 2 levels of nested data (Hospital and patients within). If you have a link for the mentioned web class, I would appreciate it.

Thank you and regards.

SteveDenham
Jade | Level 19

GLIMMIX does not have the same sort of Bayesian analysis as found in GENMOD.  Take a look at Example 55.8 Nonlinear Poisson Regression Multilevel Random-Effects Model in the PROC MCMC documentation.  That should provide an excellent starting point (well, assuming you have a background in MCMC methods).

Steve Denham

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1528 views
  • 0 likes
  • 3 in conversation