I’ve got a problem with fitting a 3-level ordered logistic regression model using PQL2. I managed to get the results for MQL1, MQL2 and PQL1 (each time using the estimates from the previous model as staring values –the initsprevious or initsmodel(name) option). However, when I proceed to PQL2, I get the following error:
I use the following syntax:error while obeying batch file C:\Docume….\ST_00000007.tmp at line number 506:
design vector at level 2 is the wrong length
Code: Select all
runmlwin diseng_simpl cons (ethnic age sex edu income income_reg urban1 urban2 urban3 fed1 fed2 fed3, contrast(1/6)), level3 (regid: (cons, contrast(1/6))) level2(housid: (cons, contrast(1/6))) level1(indid) discrete(distribution(multinomial) link(ologit) denominator(cons) basecategory(6) pql2) initsmodel(m4) nopause
What may be the reason of that?
By the way, I tried also to get the results with the MCMC using the estimates from the MQL1 model and I managed to get the results.
..................
My second doubt concerns weighting. I actually should use the poststratification weights in my analysis. I know that I cannot use them by MCMC. I thought of using them in PQL2 model and check whether the PQL2 with weights gives me similar results as the unweighted MCMC (as recommended by George in this post: http://www.cmm.bristol.ac.uk/forum/view ... ?f=3&t=456). However, the runmlwin help says that
Does this mean that there is actually no way to apply weights in case of ordered logistic regression using runmlwin? What can I do with that? Should I try treating my response variable as interval (although it is ordinal)?Sampling weights should therefore only be used for continuous response variables as the quasilikelihood procedures available for (R)IGLS estimation of discrete response variables are only approximate.
Best regards,
Zuza