Hi,
predict(model_fit, se.fit=TRUE)
see ?predict.lm for details.
-Ista
On Tue, Sep 28, 2010 at 12:16 PM, Brima <adamsteve2000 at yahoo.com>
wrote:>
> Hi all,
>
> This is very basic but for a starter nothing is. I have a simple linear
> regression I am using to predict some values and I need the standard error
> of the prediction (forecast). Whats the easiest/bestway of getting this
> error?
>
> Best regards
> --
> View this message in context:
http://r.789695.n4.nabble.com/Standard-error-of-forecast-tp2717125p2717125.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org 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.
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org