[R] prediction interval for multiple future observations

Vladimir Eremeev wl2776 at gmail.com
Tue Aug 21 08:31:08 CEST 2007




Vlad Skvortsov wrote:
> 
> '?predict.lm' says that the prediction intervals returned by predict() 
> are for single observation only. Is there a way to specify the desired 
> number of observations to construct the interval for?
> 

You can generate the desired sequence of new values using seq or sequence
and submit them to predict.lm in the newdata argument.
-- 
View this message in context: http://www.nabble.com/prediction-interval-for-multiple-future-observations-tf4303243.html#a12249044
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list