Re: [R] Help with lmer formula

2012-07-03 Thread Camila Mendes
Thanks Joshua for the clear explanation. I've previously posted in r sig mixed, but I got no response... :( Cheers, - Camila On Mon, Jul 2, 2012 at 9:31 PM, Joshua Wiley wrote: > Hi Camila, > > In mixed equation form instead of multilevel, it would be: > > Y_it = gamma_00 + gamma_10*X_it + ga

Re: [R] Help with lmer formula

2012-07-02 Thread Joshua Wiley
Hi Camila, In mixed equation form instead of multilevel, it would be: Y_it = gamma_00 + gamma_10*X_it + gamma_11*W_it*X + (e_it + u_0t + u_1j*X) your code seems reasonable. Note that the random intercept and slope will be correlated in your specification (unstructured if you want, it is possibl

Re: [R] Help with lmer formula

2012-07-02 Thread Bert Gunter
Wrong list. Post to r-sig-mixed-models. -- Bert On Mon, Jul 2, 2012 at 6:47 PM, Camila Mendes wrote: > Hey all - > > I am a newbie on mixed-effects models. I want to estimate the following > model: > > Y_it = alpha_0t + alpha_1t*X_it + e_it > alpha_0t = gamma_00 + u_0t > alpha_1t = gamma_10 + g

Re: [R] Help with lmer

2011-06-26 Thread Hugo Mildenberger
0 > Stream > Rocksgravel > 1 > Rocks > 0.45 > less1 > 025to05 > > > 0 > > > > Stream > Rocksgravel > 1 > Rocks > 0.45 > less1 > 025to05 > > > > > > > > > > >

Re: [R] Help with lmer

2011-06-26 Thread Sophie Higgins
help@r-project.org > CC: england...@hotmail.com > Subject: Re: [R] Help with lmer > Date: Fri, 24 Jun 2011 17:19:00 +0200 > > Sophie, > > I'm myself quite new to linear mixed effect models, but "PresenceAbsence" > sounds like > a binary response variable. S

Re: [R] Help with lmer

2011-06-24 Thread Hugo Mildenberger
Sophie, I'm myself quite new to linear mixed effect models, but "PresenceAbsence" sounds like a binary response variable. So wouldn't be m1<-lmer(Presencebsence~Habitatype*Width+(1|Sitename),familiy=binomial) the first thing to try? There is also a special mailing list for linear - mixe

Re: [R] Help with lmer, nested data and repeated measures

2010-11-18 Thread Bert Gunter
You would be better off posting to R-sig-mixed-models or R-sig-ecology -- Bert On Thu, Nov 18, 2010 at 9:58 AM, Simon Garnier wrote: > Dear all, > > I'm discovering the somehow confusing (for me) world of linear mixed models > after having been advised it could be the best option to analyze my