Poisson 3 level model for overdispersion

Welcome to the forum for MLwiN users. Feel free to post your question about MLwiN software here. The Centre for Multilevel Modelling take no responsibility for the accuracy of these posts, we are unable to monitor them closely. Do go ahead and post your question and thank you in advance if you find the time to post any answers!

Remember to check out our extensive software FAQs which may answer your question: http://www.bristol.ac.uk/cmm/software/s ... port-faqs/
Post Reply
rdmcdowell
Posts: 31
Joined: Mon Apr 02, 2012 3:26 pm

Poisson 3 level model for overdispersion

Post by rdmcdowell »

Hello

I have some cross-sectional count data I wish to model using MLwin. It is two-level data, patients within GP practices, 1 observation per patient. From my work in STATA, I know there is overdispersion that needs to be taken account of. With STATA, I can add another random effect, so that observations (=1 per patient) are clustered within patients within practices e.g.

xtmepoisson (outcome predictors) || practiceid: || patientid: , irr

Could someone advise how to do this in MLWin? When I set my outcome to a 3 level variable, with the highest level as practice, I am unsure how to correctly specify the other two levels.

Many thanks in advance

Ron
ChrisCharlton
Posts: 1384
Joined: Mon Oct 19, 2009 10:34 am

Re: Poisson 3 level model for overdispersion

Post by ChrisCharlton »

As you are a Stata user I will assume that you are using -runmlwin-, for which George has previously provided the following example:

https://www.cmm.bristol.ac.uk/forum/vie ... t=453#p985

MLwiN uses quasi-likelihood when fitting these models with (R)IGLS so it is recommended that you fit at least your final models using the MCMC estimation method.

Other ways that you can model overdispersion via -runmlwin- are with the extra option or fitting the model as negative-binomial, however these options are not currently allowed by -runmlwin- when fitting the model with MCMC.
rdmcdowell
Posts: 31
Joined: Mon Apr 02, 2012 3:26 pm

Re: Poisson 3 level model for overdispersion

Post by rdmcdowell »

Thanks for that. It has been a while since I used mlwin and had forgotten about the runmlwin option.
Post Reply