Re: [R] Variance of fitted value in lm

From: David Barron <mothsailor_at_googlemail.com>
Date: Tue 17 Oct 2006 - 07:33:12 GMT

You can get these via the predict function.

On 17/10/06, Li Zhang <zhanglitt@yahoo.com> 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.
Received on Tue Oct 17 17:45:16 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 17 Oct 2006 - 08:30:10 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.