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.

______________________________________________
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.

Reply via email to