Re: [R] random effect question and glm

2006-11-27 Thread Michael Dewey
At 06:28 26/11/2006, you wrote: Below is the output for p5.random.p,p5.random.p1 and m0 My question is in p5.random.p, variance for P is 5e-10. But in p5.random.p1,variance for P is 0.039293. Why they are so different? Please do as the posting guide asks and reply to the list, not just the

Re: [R] random effect question and glm

2006-11-24 Thread Michael Dewey
At 21:52 23/11/2006, Aimin Yan wrote: consider p as random effect with 5 levels, what is difference between these two models? p5.random.p - lmer(Y ~p+(1|p),data=p5,family=binomial,control=list(usePQL=FALSE,msV=1)) p5.random.p1 - lmer(Y

[R] random effect question and glm

2006-11-23 Thread Aimin Yan
consider p as random effect with 5 levels, what is difference between these two models? p5.random.p - lmer(Y ~p+(1|p),data=p5,family=binomial,control=list(usePQL=FALSE,msV=1)) p5.random.p1 - lmer(Y ~1+(1|p),data=p5,family=binomial,control=list(usePQL=FALSE,msV=1)) in addtion, I try these