Residuals & post estimation

Welcome to the forum for runmlwin users. Feel free to post your question about runmlwin 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!

Go to runmlwin: Running MLwiN from within Stata >> http://www.bristol.ac.uk/cmm/software/runmlwin/

Residuals & post estimation

Postby Aireann11 » Tue Mar 13, 2012 2:20 am

Hi,
I am running a 3 level logistic model (level3:houseID, level2:dogID, level1:isolateID) and was wondering if there is a way to examine the 1st level (isolateID) residuals?
Also, are there any postestimation commands available?
Thanks!

Erin
Aireann11
 
Posts: 2
Joined: Tue Mar 13, 2012 1:40 am

Re: Residuals & post estimation

Postby GeorgeLeckie » Tue Mar 13, 2012 4:15 pm

Hi Erin,

Currently you can't use runmlwin to calculate level-1 residuals for discrete response models.

You could caculate the predicted probability for each observation and then calculate the level-1 residuals as the difference between the observed binary response and the predicted probability.

I have to admit, I don't find level-1 residuals are not ususally very helpful quantities to look at in discrete response models and this is probably why we haven't implemented anything.

George
*************************
George Leckie
runmlwin developer
Centre for Multilevel Modelling
*************************
GeorgeLeckie
Site Admin
 
Posts: 212
Joined: Fri Apr 01, 2011 3:14 pm

Re: Residuals & post estimation

Postby Aireann11 » Tue Mar 13, 2012 4:42 pm

Hi George,
Thank you for your quick response. I will have to look into calculating the level one residuals.

Also, are there any post-estimation commands available for runmlwin that would be similar to the <lrtest>? Just looking for something to compare full and reduced models while model building.

Thanks again!

Erin
Aireann11
 
Posts: 2
Joined: Tue Mar 13, 2012 1:40 am

Re: Residuals & post estimation

Postby GeorgeLeckie » Tue Mar 13, 2012 5:09 pm

Hi Erin,

MLwiN uses maximum likelihood estimation to fit continuous response multilevel models. You can therefore use Stata's lrtest command post-estimation for these models.

MLwiN uses quasi-likelihood estimation to fit discrete response multilevel models. This is only an approximate method. We therefore do not present the likelihood for discrete response models and it is not possible to use Stata's lrtest command post-estimation for discrete response models. In terms of adding fixed effects to the model you can use the Wald tests (Stata's test command)

As quasi-likelihood estimation is only approximate, we recommend MLwiN users (and therefore runmlwin users) to fit their final discrete response multilevle models using MCMC estimation. Users can then use the Bayesian DIC statistic (similar to the AIC and BIC statistics) for model comparison purposes. See the MLwiN MCMC manual for more details.

Best wishes

George
*************************
George Leckie
runmlwin developer
Centre for Multilevel Modelling
*************************
GeorgeLeckie
Site Admin
 
Posts: 212
Joined: Fri Apr 01, 2011 3:14 pm


Return to runmlwin user forum

Who is online

Users browsing this forum: No registered users and 1 guest

cron