[R] Standard errors of least squares adjusted means
mark_difford at yahoo.co.uk
Thu Jan 22 09:10:23 CET 2009
Apropos of "ls-means" ...
>> I have tried help.search and RSiteSearch with several terms including
>> "standard errors", "least square means", "adjusted means".
And "ls-means," which is what "you" call them?
There are many threads on this, spanning many years. The following,
will get you to some, e.g.:
Read through to the bottom.
There are much better ways of examining/summarizing, your model. See, for
instance, the effects package of Prof. Fox and functions in the Design
package of Prof. Harrell.
Bruno Estigarribia wrote:
> I have the following model:
> lm.7 <- lm(Y ~ F + C1 + C2 , data = EM4)
> F is a 4-level factor, the rest are covariates centered at their mean (Y
> is a two-column matrix).
> I have tried to find functions to give the model-adjusted means
> (adjusted at the covariates'means) and their standard deviations for each.
> (That is, what I believe is called in SAS "least square or LS-means,
> whose errors one obtains by STDERR)
> I have tried help.search and RSiteSearch with several terms including
> "standard errors", "least square means", "adjusted means". I have found
> how to extract the SE from coefficients (se.coef from package arm), or
> the SE for contrasts (se.contrast from package stats), but not the SE
> for an adjusted mean.
> Thank you,
> Bruno Estigarribia
> Postdoctoral Fellow
> FPG Child Development Institute
> Neurodevelopmental Disorders Research Center
> University of North Carolina at Chapel Hill
> 105 Smith Level Rd
> Chapel Hill, NC 27599-8180
> + 1 (919) 843-7685
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
View this message in context: http://www.nabble.com/Standard-errors-of-least-squares-adjusted-means-tp21598897p21599542.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help