| predict.ptsr | R Documentation |
Predicted values based on ptsr object.
## S3 method for class 'ptsr'
predict(object, newdata, nnew = 0, ...)
object |
Object of class inheriting from |
newdata |
A matrix with new values for the regressors. If omitted
and |
nnew |
number of out-of-sample forecasts required. If |
... |
further arguments passed to or from other methods. |
predict.ptsr produces predicted values, obtained by evaluating
the regression function in the frame newdata.
If newdata is omitted the predictions are based on the data
used for the fit.
For now, prediction intervals are not provided.
A list with the following arguments
series |
The original time series yt. |
xreg |
The original regressors (if any). |
fitted.values |
The in-sample forecast given by |
etat |
In-sample values of |
error |
The error term |
residuals |
The (in-sample) residuals, that is, the observed minus the predicted values. |
forecast |
The predicted values for yt. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.