public class ARMAXModel extends ARIMAXModel
The ARMAX model incorporates exogenous variables and it can be considered as a generalization of the ARMA model. Let Y_t be an ARMAX process, then
Y_t = μ + Σ φ_i * Y_{t-i} + Σ θ_j * ε_{t-j} + ψ * D_t + ε_t,
where 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 an m-dimensional vector ψ.| Constructor and Description |
|---|
ARMAXModel(ARMAXModel that)
Copy constructor.
|
ARMAXModel(double[] AR,
double[] MA,
double[] psi)
Construct a zero-intercept (mu) univariate ARMAX model with unit variance.
|
ARMAXModel(double[] AR,
double[] MA,
double[] psi,
double sigma)
Construct a zero-intercept (mu) univariate ARMAX model.
|
ARMAXModel(double mu,
double[] AR,
double[] MA,
double[] psi)
Construct a univariate ARMAX model with unit variance.
|
ARMAXModel(double mu,
double[] AR,
double[] MA,
double[] psi,
double sigma)
Construct a univariate ARMAX (ARMA model with eXogenous inputs) model.
|
| Modifier and Type | Method and Description |
|---|---|
double |
armaxMean(double[] arLags,
double[] maLags,
double[] exVar)
Compute the univariate ARMAX conditional mean.
|
double |
armaxMeanNoIntercept(double[] arLags,
double[] maLags,
double[] exVar)
Compute the zero-intercept (mu) univariate ARMAX conditional mean.
|
public ARMAXModel(double mu,
double[] AR,
double[] MA,
double[] psi,
double sigma)
mu - the intercept (constant) termAR - the AR coefficients (excluding the initial 1); null if no AR coefficientMA - the MA coefficients (excluding the initial 1); null if no MA coefficientpsi - the coefficients of the deterministic terms (excluding the intercept term)sigma - the white noise variancepublic ARMAXModel(double mu,
double[] AR,
double[] MA,
double[] psi)
mu - the intercept (constant) termAR - the AR coefficients (excluding the initial 1); null if no AR coefficientMA - the MA coefficients (excluding the initial 1); null if no MA coefficientpsi - the coefficients of the deterministic terms (excluding the intercept term)public ARMAXModel(double[] AR,
double[] MA,
double[] psi,
double sigma)
AR - the AR coefficients (excluding the initial 1); null if no AR coefficientMA - the MA coefficients (excluding the initial 1); null if no MA coefficientpsi - the coefficients of the deterministic terms (excluding the intercept term)sigma - the white noise variancepublic ARMAXModel(double[] AR,
double[] MA,
double[] psi)
AR - the AR coefficients (excluding the initial 1); null if no AR coefficientMA - 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 univariate ARMAX modelpublic double armaxMeanNoIntercept(double[] arLags,
double[] maLags,
double[] exVar)
arLags - the AR lagsmaLags - the MA lagsexVar - the exogenous variablespublic double armaxMean(double[] arLags,
double[] maLags,
double[] exVar)
arLags - the AR lagsmaLags - the MA lagsexVar - the exogenous variables