Objects can be created by calls of the form new("MixARGaussian",
...)
, giving the elements of the model as named arguments, see the
examples below. All elements of the model, except arcoef
, are
simple numeric vectors. From version 0.19-15 of package MixAR it is
possible to create objects using MixARGaussian(...)
. The two
forms are completely equivalent.
arcoef
contains the AR coefficients, one numeric vector for
each mixture component. It can be given as a
"raggedCoef"
object or as a list of numeric
vectors.
To input a model with seasonal AR coefficients, argument passed to arcoef
can be passed as a raggedCoefS
object, or as a list
of three elements.
For the latter, seasonality s
must be explicitly indicated.
AR coefficients can be given as list
or matrix
within the main list (one for main AR coefficients, named a
, and one for seasonal AR coefficients, as
). Each row of a input matrix/element of the list denotes one component of the mixture.
If not named, initialisation takes the first passed element to be a
and the second to be as
.
The AR order of the model is inferred from arcoef
argument. If argument order
is given, it is checked for
consistency with arcoef
. The shift
slot defaults to a
vector of zeroes and the scale
slot to a vector of ones.
The distribution of the noise components is standard Gaussian, N(0,1).