Re: [R] lmer function in R

2012-06-10 Thread Ben Bolker
Gary Dong gmail.com> writes: > I'm estimating a two-level regresion model but having difficuly in finding > a good R syntax example. > > Let me use an example to explain what I'm doing. The dependent variable is > math score (mathscore). Predictors are at two levels. At the student level, > they

[R] lmer function in R

2012-06-09 Thread Gary Dong
Dear R users, I'm estimating a two-level regresion model but having difficuly in finding a good R syntax example. Let me use an example to explain what I'm doing. The dependent variable is math score (mathscore). Predictors are at two levels. At the student level, they are household income (hinc)

[R] lmer function bug

2011-12-27 Thread Cheryl Johnson
Hello, When I make certain values greater with the lmer function, variance components that I expect to give a certain value are switched from how I expect them to be. Has anyone else had this problem? Thanks [[alternative HTML version deleted]] __

[R] lmer function and Inverse mills ratio

2009-10-17 Thread saurav pathak
Dear R users I have two questions, I have been on this problem for last 3 months, please help First question: *How can I use the lmer function for a three level probit ( ie please help me with the command syntax)?* The second question is, *how can I then subsequently calculate the Inverse Mills

Re: [R] lmer() function

2009-04-22 Thread Ben Bolker
Ali Mahani wrote: > > I'm trying to estimate a two-tier model with varying intercepts and slopes > across 20 groups, with each group having about 50 observations and with no > group predictor. I use the command lmer(y~x+(1+x | group)). But the result > is a constant intercept (zero standard dev

[R] lmer() function

2009-04-22 Thread Ali Mahani
I'm trying to estimate a two-tier model with varying intercepts and slopes across 20 groups, with each group having about 50 observations and with no group predictor. I use the command lmer(y~x+(1+x | group)). But the result is a constant intercept (zero standard deviation, all 20 intercept values

[R] lmer function :method="AGQ" and glmmADMB

2008-04-02 Thread dave fournier
The freely available R package glmmADMB can do Adaptive Gaussian Quadrature for this type of model, since it is built using AD Model Builder's random effects module which incorporates this feature. There is now a beta version of the software for people using R on the Mac intel platform. http://ot

[R] lmer function :method="AGQ" glmmADMB

2008-04-02 Thread dave fournier
The freely available R package glmmADMB can do Adaptive Gaussian Quadrature for this type of model, since it is built using AD Model Builder's random effects module which incorporates this feature. There is now a beta version of the software for people using R on the Mac intel platform. http://ot

Re: [R] lmer function :method="AGQ"

2008-04-01 Thread Douglas Bates
On Tue, Apr 1, 2008 at 7:45 AM, Stefan Grosse <[EMAIL PROTECTED]> wrote: > On Tuesday 01 April 2008 02:20:39 pm Boikanyo Makubate wrote: > BM> I am using the lmer function from the lme4 package. I wrote the > BM> following statement, specifying the method to be adaptive Gaussian > BM> quadratur

Re: [R] lmer function :method="AGQ"

2008-04-01 Thread Stefan Grosse
On Tuesday 01 April 2008 02:20:39 pm Boikanyo Makubate wrote: BM> I am using the lmer function from the lme4 package. I wrote the BM> following statement, specifying the method to be adaptive Gaussian BM> quadrature. I am getting an error saying "method = "AGQ" not yet BM> implemented for supernod

[R] lmer function :method="AGQ"

2008-04-01 Thread Boikanyo Makubate
I am using the lmer function from the lme4 package. I wrote the following statement, specifying the method to be adaptive Gaussian quadrature. I am getting an error saying "method = "AGQ" not yet implemented for supernodal representation". Please help. How can i implement AGQ. fit<-lmer(respons

Re: [R] lmer function.

2008-03-31 Thread Douglas Bates
On Mon, Mar 31, 2008 at 7:13 AM, Boikanyo Makubate <[EMAIL PROTECTED]> wrote: > I am using the lmer function from the lme4 package. I wrote the > following statement, specifying the method to be adaptive Gaussian > quadrature. I am getting an error saying "method = "AGQ" not yet > implemented f

[R] lmer function.

2008-03-31 Thread Boikanyo Makubate
I am using the lmer function from the lme4 package. I wrote the following statement, specifying the method to be adaptive Gaussian quadrature. I am getting an error saying "method = "AGQ" not yet implemented for supernodal representation". Please help. > fit <- lmer(response~beta1+(1|patien