Description Usage Arguments Details Value See Also Examples
Predicts from a fitted "arima.rob" object.
1 2 3 |
object |
an object of class |
n.predict |
the number of predictions to be returned. |
newdata |
a data frame containing the future values of exogenous variables, if any, at which predictions are required. |
olddata |
a data frame containing the original data used to fit
|
se.fit |
logical flag: if |
... |
extra arguments passed to or from other methods. The predict method here ignore these arguments. |
This function is a method for the generic function predict for class
"arima.rob".
It can be invoked by calling predict for an object of the
appropriate class,
or directly by calling predict.arima.rob regardless of the
class of the object.
a list containing the following components:
values |
the predicted values. |
std.err |
the pointwise standard errors for the predictions (if |
1 2 | import.rr <- arima.rob(import ~ taxes-1, data=import.dat, p=2, d=1)
import.hat <- predict(import.rr, 5, newdata=newtaxes.dat, se=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.