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 PDT
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:
2 matches
Mail list logo