I am working with a dataset that describes diabetes status (0 or 1) for individual residents of multiple states, across multiple years. I'm interested in obtaining age/sex/race adjusted estimates of prevalence for state/year combinations that have some shrinkage to account for small sample size, so I've specified a crossed effects model:
Code:
melogit diabetes age sex race || _all: R.year || _state: predict re*, reffects
Code:
bayes, saving(output/bayes, replace): melogit diabetes age sex race || _all: R.year || _state:
Thanks for any suggestions!
0 Response to Predictions from bayesian logistic model
Post a Comment