ordered logistic - diagnostics

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/
Post Reply
zuzannap
Posts: 6
Joined: Fri Jan 30, 2015 8:52 am

ordered logistic - diagnostics

Post by zuzannap »

Dear all,

What kind of model diagnostics do we perform in case of a multilevel ordered logistic regression model? By a continuous response variable, looking at qqplots and caterpillar plots we check whether the random effects at each level are normally distributed and homoscedastic and whether there are any outlying units. And what do we check in case of an ordinal response?

Bests,
Zuzanna
zuzannap
Posts: 6
Joined: Fri Jan 30, 2015 8:52 am

Re: ordered logistic - diagnostics

Post by zuzannap »

I posted this here as I (presumably incorrectly) attempted to add the term 'residuals(u)' to my runmlwin command for an ordinal response model and it does not work..

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

Re: ordered logistic - diagnostics

Post by ChrisCharlton »

Are you able to provide an example of your syntax, as the following works for me using the MLwiN sample data?:

Code: Select all

use "http://www.bristol.ac.uk/cmm/media/runmlwin/alevchem.dta", clear

generate gcseav = gcse_tot/gcse_no
egen gcseav_rank = rank(gcseav)
generate gcseav_uniform = (gcseav_rank - 0.5)/_N
generate gcseavnormal = invnorm(gcseav_uniform)
generate gcse2 = gcseavnormal^2
rename gender female
egen school = group(lea estab)

runmlwin a_point cons (gcseavnormal female gcse2, contrast(1/5)), ///
	level2(school: (cons, contrast(1/5)), residuals(u)) ///
	level1(pupil:) ///
	discrete(distribution(multinomial) link(ologit) denominator(cons) basecategory(6) pql2) nopause
zuzannap
Posts: 6
Joined: Fri Jan 30, 2015 8:52 am

Re: ordered logistic - diagnostics

Post by zuzannap »

Dear Chris,

It seems that I missed the second comma in expression "(cons, contrast(1/5)), residuals(u))". Now it works:) Thank you!

Bests,
Zuzanna
Post Reply