Re: [R] How to read prediction intervals given by predict()?

2016-10-15 Thread Jeff Newmiller
No, you need to specify the inputs corresponding to the next value in order to obtain a production for that point. Read ?predict.lm or whatever function is appropriate for your model about the newdata argument. -- Sent from my phone. Please excuse my brevity. On October 15, 2016 8:24:35 AM

Re: [R] How to read prediction intervals given by predict()?

2016-10-15 Thread Rolf Turner
On 16/10/16 04:24, mviljamaa wrote: My conception of prediction intervals is the following: "a prediction interval gives an interval within which we expect next y_i to lie with a specified probability" So when using predict() for my model: predict(fit4, interval="prediction")[1:20,] I get:

[R] How to read prediction intervals given by predict()?

2016-10-15 Thread mviljamaa
My conception of prediction intervals is the following: "a prediction interval gives an interval within which we expect next y_i to lie with a specified probability" So when using predict() for my model: predict(fit4, interval="prediction")[1:20,] I get: fit lwr upr 1