[R] Standard error of forecast

Ista Zahn izahn at psych.rochester.edu
Tue Sep 28 17:04:11 CEST 2010


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



More information about the R-help mailing list