Cochrane-Orcutt procedure
cochrane_orcutt.Rd
Cochrane-Orcutt procedure to resolve auto-correlated residuals in SWR
models.
Arguments
- model
an
SWR
model- ts_input
a vector or ts object containing the input time series
- ts_output
a vector or ts object (on the same time scale as ts_input) containing the target time series
- ar
number of autoregressive lags
- ...
parameters for re-training the model using trainSWR