Re: [R] multilevel binary and ordered regression models

2013-06-13 Thread Rune Haubo
Could you share the results of sessionInfo() and str(alllev)? Also please share the exact in- and output with relevant error messages; for example 'cntnew:male' does not make much sense without context. Unfortunately I don't understand your model specification and is lost in the interpretation of

Re: [R] multilevel binary and ordered regression models

2013-06-09 Thread Xu Jun
Rune, Thanks a lot for pointing me to your ordinal package. It is wonderful, and I tried a random intercept model and it worked well except that probably there is something wrong with my data (size is big), I got some warning messages indicating that "In sqrt(diag(vc)[1:npar]) : NaNs produced." Th

Re: [R] multilevel binary and ordered regression models

2013-06-06 Thread Rune Haubo
On 6 June 2013 00:13, Xu Jun wrote: > Dear r-helpers, > > I have two questions on multilevel binary and ordered regression models, > respectively: > > 1. Is there any r function (like lmer or glmer) to run multilevel ordered > regression models? Yes, package ordinal will fit such models. Cheers,

[R] multilevel binary and ordered regression models

2013-06-05 Thread Xu Jun
Dear r-helpers, I have two questions on multilevel binary and ordered regression models, respectively: 1. Is there any r function (like lmer or glmer) to run multilevel ordered regression models? 2. I used the glmer function to run a two-level binary logit model. I want to make sure that I did i