Re: [R] lsmeans

From: Dieter Menne <>
Date: Sat, 07 Jun 2008 08:36:05 +0000 (UTC)

John Fox <jfox <at>> writes:

> I intend at some point to extend the effects package to linear and
> generalized linear mixed-effects models, probably using lmer() rather
> than lme(), but as you discovered, it doesn't handle these models now.
> It wouldn't be hard, however, to do the computations yourself, using
> the coefficient vector for the fixed effects and a suitably constructed
> model-matrix to compute the effects; you could also get standard errors
> by using the covariance matrix for the fixed effects.

>> Douglas Bates: >>
My big problem with lsmeans is
that I have never been able to understand how they should be calculated and, more importantly, why one should want to calculate them. In other words, what do lsmeans represent and why should I be interested in these particular values?

Truly Confused, torn apart by the Masters

Dieter mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Sat 07 Jun 2008 - 08:39:10 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 07 Jun 2008 - 21:31:00 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive