Computes the 1-step ahead prediction errors (residuals) for an estimated polynomial
model, and plots auto-correlation of the residuals and the
cross-correlation of the residuals with the input signals.
Usage
residplot(model, newdata = NULL)
Arguments
model
estimated polynomial model
newdata
an optional dataset on which predictions are to be computed. If
not supplied, predictions are computed on the training dataset.