[R] Variance of fitted value in lm

David Barron mothsailor at googlemail.com
Tue Oct 17 09:33:12 CEST 2006


You can get these via the predict function.

On 17/10/06, Li Zhang <zhanglitt at 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 at 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



More information about the R-help mailing list