public class ARIMAXModel
extends java.lang.Object
implements java.io.Serializable
The multivariate ARIMAX model incorporates exogenous variables and it can be considered as a generalization of the multivariate ARIMA model. Letting L be lag operator, the d-th difference of a multivariate ARIMAX(p, d, q) process Y_t is
X_t = (1 - L) ^ d * Y_t,
where
X_t is an ARMAX(p, q) process, for which
X_t = μ + Σ φ_i * X_{t-i} + Σ θ_j * ε_{t-j} + ψ * D_t + ε_t.
In the equation above, X_s, μ and ε_s are n-dimensional vectors; (n * n) matrices {φ_i} and {θ_j} are the AR and MA
coefficients, respectively; D_t is an (m * 1) vector which contains all exogenous variables at time t (excl. the intercept term),
and its coefficients are represented by a (n * m) matrix ψ.| Modifier and Type | Field and Description |
|---|---|
protected ImmutableVector |
mu
the intercept (constant) vector
|
protected ImmutableMatrix[] |
phi
the AR coefficients
|
protected ImmutableMatrix |
psi
the coefficients of the deterministic terms (excluding the intercept term)
|
protected ImmutableMatrix |
sigma
the covariance matrix of white noise
|
protected ImmutableMatrix[] |
theta
the MA coefficients
|
| Constructor and Description |
|---|
ARIMAXModel(ARIMAXModel that)
Copy constructor.
|
ARIMAXModel(ARIMAXModel model)
Cast a univariate ARIMAX model to a multivariate model.
|
ARIMAXModel(Matrix[] phi,
int d,
Matrix[] theta,
Matrix psi)
Construct a zero-intercept (mu) multivariate ARIMAX model with unit variance.
|
ARIMAXModel(Matrix[] phi,
int d,
Matrix[] theta,
Matrix psi,
Matrix sigma)
Construct a zero-intercept (mu) multivariate ARIMAX model.
|
ARIMAXModel(Vector mu,
Matrix[] phi,
int d,
Matrix[] theta,
Matrix psi)
Construct a multivariate ARIMAX model with unit variance.
|
ARIMAXModel(Vector mu,
Matrix[] phi,
int d,
Matrix[] theta,
Matrix psi,
Matrix sigma)
Construct a multivariate ARIMAX (ARIMA model with eXogenous inputs) model.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableMatrix[] |
AR()
Get the AR coefficients, excluding the initial 1.
|
ImmutableMatrix |
AR(int i)
Get the i-th AR coefficient; AR(0) = 1.
|
int |
d()
Get the order of integration.
|
int |
dimension()
Get the dimension of multivariate time series.
|
ARMAXModel |
getArmax()
Get the ARMAX specification of this ARIMAX model, essentially ignoring the differencing.
|
ImmutableMatrix[] |
MA()
Get the MA coefficients, excluding the initial 1.
|
ImmutableMatrix |
MA(int i)
Get the i-th MA coefficient; AR(0) = 1.
|
int |
maxPQ()
Get the maximum of AR length or MA length.
|
ImmutableVector |
mu()
Get the intercept vector.
|
int |
p()
Get the number of AR terms.
|
ImmutableMatrix |
psi()
Get the coefficients of the deterministic terms.
|
int |
q()
Get the number of MA terms.
|
ImmutableMatrix |
sigma()
Get the covariance matrix of white noise.
|
protected final ImmutableVector mu
protected final ImmutableMatrix[] phi
protected final ImmutableMatrix[] theta
protected final ImmutableMatrix psi
protected final ImmutableMatrix sigma
public ARIMAXModel(Vector mu, Matrix[] phi, int d, Matrix[] theta, Matrix psi, Matrix sigma)
mu - the intercept (constant) vectorphi - the AR coefficients (excluding the initial 1); null if no AR coefficientd - the order of integrationtheta - the MA coefficients (excluding the initial 1); null if no MA coefficientpsi - the coefficients of the deterministic terms (excluding the intercept term)sigma - the covariance matrix of white noisepublic ARIMAXModel(Vector mu, Matrix[] phi, int d, Matrix[] theta, Matrix psi)
mu - the intercept (constant) vectorphi - the AR coefficients (excluding the initial 1); null if no AR coefficientd - the order of integrationtheta - the MA coefficients (excluding the initial 1); null if no MA coefficientpsi - the coefficients of the deterministic terms (excluding the intercept term)public ARIMAXModel(Matrix[] phi, int d, Matrix[] theta, Matrix psi, Matrix sigma)
phi - the AR coefficients (excluding the initial 1); null if no AR coefficientd - the order of integrationtheta - the MA coefficients (excluding the initial 1); null if no MA coefficientpsi - the coefficients of the deterministic terms (excluding the intercept term)sigma - the covariance matrix of white noisepublic ARIMAXModel(Matrix[] phi, int d, Matrix[] theta, Matrix psi)
phi - the AR coefficients (excluding the initial 1); null if no AR coefficientd - the order of integrationtheta - the MA coefficients (excluding the initial 1); null if no MA coefficientpsi - the coefficients of the deterministic terms (excluding the intercept term)public ARIMAXModel(ARIMAXModel that)
that - a multivariate ARIMAX modelpublic ARIMAXModel(ARIMAXModel model)
model - a univariate ARIMAX modelpublic ImmutableVector mu()
public ImmutableMatrix AR(int i)
i - an indexpublic ImmutableMatrix[] AR()
nullpublic ImmutableMatrix MA(int i)
i - an indexpublic ImmutableMatrix[] MA()
nullpublic ImmutableMatrix psi()
nullpublic int d()
public int dimension()
public int p()
public int q()
public int maxPQ()
public ImmutableMatrix sigma()
public ARMAXModel getArmax()