Finds the most suitable model for the second observation equation according to the BIC.
obs2Optim(
x1,
x2,
xexo = NULL,
errorARmax = 2,
errorMAmax = 2,
maxCycleLag = 2,
maxAR = 2,
nModels = 1
)
A list containing the chosen parameters: errorAR, errorMA, cycleLag, ar, exo
.
A time series, the second observation equation.
(Optional) A (multiple) time series with exogenous variables.
Integer, maximal AR order of the error process of the 2nd observation equation.
Integer, maximal MA order of the error process of the 2nd observation equation.
Integer, maximal cycle lag included in the 2nd observation equation.
Integer, maximal AR order of the time series x2
in the 2nd observation
equation. 0
means that no lag is included.
Integer, maximum number of models chosen to be fitted.