Re: [R] Variance of fitted value in lm

2006-10-17 Thread David Barron
You can get these via the predict function.

On 17/10/06, Li Zhang [EMAIL PROTECTED] wrote:
 Hi,

 I am wondering if a linear model

 lm(y~ x1+x2) calculates the variance of a fitted
 value.

 Thank you

 Li

 __
 R-help@stat.math.ethz.ch 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.



-- 
=
David Barron
Said Business School
University of Oxford
Park End Street
Oxford OX1 1HP

__
R-help@stat.math.ethz.ch 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.


[R] Variance of fitted value in lm

2006-10-16 Thread Li Zhang
Hi,

I am wondering if a linear model

lm(y~ x1+x2) calculates the variance of a fitted
value.

Thank you

Li

__
R-help@stat.math.ethz.ch 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.