[R] Linear Regression
Ben Bolker
bolker at ufl.edu
Fri Oct 5 14:56:03 CEST 2007
livia wrote:
>
> Hello,
>
> I am performing a multiple linear regression, is there a way of get the
> mean and standard error of the response variable?
>
> Could anyone give me some advice? Many thanks.
>
You may need to give us more information/express your request more clearly.
Two
answers I can think of (if your model is LM1 = lm(z~x+y)) are
mean(z)
sd(z)/sqrt(length(z))
or
predict(LM1,se.fit=TRUE)
Ben Bolker
--
View this message in context: http://www.nabble.com/Linear-Regression-tf4574635.html#a13058756
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list