Dimitri Liakhovitski
2010-Oct-26 15:21 UTC
[R] mixed effects regression with weights using lme (lme4)
Hello! I am sorry if it's a naive/wrong question. But can one run a regression with weights using lme? Thank you! -- Dimitri Liakhovitski Ninah Consulting www.ninah.com
Ista Zahn
2010-Oct-26 15:37 UTC
[R] mixed effects regression with weights using lme (lme4)
Hi Dimitri, The lme function is not in the lme4 package, so there is some confusion there. But you can use weights with the lmer function in lme4. ?lmer tells you that weights are specified the same way as in the lm function, and refers you to ?lm for details. HTH, Ista On Tue, Oct 26, 2010 at 11:21 AM, Dimitri Liakhovitski <dimitri.liakhovitski at gmail.com> wrote:> Hello! > > I am sorry if it's a naive/wrong question. But can one run a > regression with weights using lme? > > Thank you! > > -- > Dimitri Liakhovitski > Ninah Consulting > www.ninah.com > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org