|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.stats.timeseries.linear.multivariate.stationaryprocess.arima.ArimaxModel
com.numericalmethod.suanshu.stats.timeseries.linear.multivariate.stationaryprocess.arima.arma.ArmaxModel
public class ArmaxModel
This class represents a multivariate ARMAX (ARMA model with eXogenous inputs) model.
The multivariate ARMAX model incorporates exogenous variables and it can be considered as a generalization of the multivariate ARMA model. Let Y_t be a multivariate ARMAX process, then
Y_t = μ + Σ φ_i * Y_{t-i} + Σ θ_j * ε_{t-j} + ψ * D_t + ε_t.
In the equation above, Y_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 ψ.
| Field Summary |
|---|
| Fields inherited from class com.numericalmethod.suanshu.stats.timeseries.linear.multivariate.stationaryprocess.arima.ArimaxModel |
|---|
mu, phi, psi, sigma, theta |
| Constructor Summary | |
|---|---|
ArmaxModel(ArmaxModel that)
Copy constructor. |
|
ArmaxModel(ArmaxModel model)
Cast a univariate ARMAX model to a multivariate model. |
|
ArmaxModel(Matrix[] phi,
Matrix[] theta,
Matrix psi)
Construct a zero-intercept (mu) multivariate ARMAX model with unit variance. |
|
ArmaxModel(Matrix[] phi,
Matrix[] theta,
Matrix psi,
Matrix sigma)
Construct a zero-intercept (mu) multivariate ARMAX model. |
|
ArmaxModel(Vector mu,
Matrix[] phi,
Matrix[] theta,
Matrix psi)
Construct a multivariate ARMAX model with unit variance. |
|
ArmaxModel(Vector mu,
Matrix[] phi,
Matrix[] theta,
Matrix psi,
Matrix sigma)
Construct a multivariate ARMAX (ARMA model with eXogenous inputs) model. |
|
| Method Summary | |
|---|---|
Matrix |
armaxMean(Matrix arLags,
Matrix maLags,
Vector exVar)
Compute the multivariate ARMAX conditional mean. |
Matrix |
armaxMeanNoIntercept(Matrix arLags,
Matrix maLags,
Vector exVar)
Compute the zero-intercept (mu) multivariate ARMAX conditional mean. |
| Methods inherited from class com.numericalmethod.suanshu.stats.timeseries.linear.multivariate.stationaryprocess.arima.ArimaxModel |
|---|
AR, AR, d, dimension, getArmax, MA, MA, maxPQ, mu, p, psi, q, sigma |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArmaxModel(Vector mu,
Matrix[] phi,
Matrix[] theta,
Matrix psi,
Matrix sigma)
mu - the intercept (constant) vectorphi - the AR coefficients (excluding the initial 1); null if no AR coefficienttheta - 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 noise
public ArmaxModel(Vector mu,
Matrix[] phi,
Matrix[] theta,
Matrix psi)
mu - the intercept (constant) vectorphi - the AR coefficients (excluding the initial 1); null if no AR coefficienttheta - the MA coefficients (excluding the initial 1); null if no MA coefficientpsi - the coefficients of the deterministic terms (excluding the intercept term)
public ArmaxModel(Matrix[] phi,
Matrix[] theta,
Matrix psi,
Matrix sigma)
phi - the AR coefficients (excluding the initial 1); null if no AR coefficienttheta - 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 noise
public ArmaxModel(Matrix[] phi,
Matrix[] theta,
Matrix psi)
phi - the AR coefficients (excluding the initial 1); null if no AR coefficienttheta - the MA coefficients (excluding the initial 1); null if no MA coefficientpsi - the coefficients of the deterministic terms (excluding the intercept term)public ArmaxModel(ArmaxModel that)
that - a multivariate ARMAX modelpublic ArmaxModel(ArmaxModel model)
model - a univariate ARIMA model| Method Detail |
|---|
public Matrix armaxMeanNoIntercept(Matrix arLags,
Matrix maLags,
Vector exVar)
arLags - the AR lagsmaLags - the MA lagsexVar - the exogenous variables
public Matrix armaxMean(Matrix arLags,
Matrix maLags,
Vector exVar)
arLags - the AR lagsmaLags - the MA lagsexVar - the exogenous variables
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||