|
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.univariate.stationaryprocess.arima.ArimaxModel
com.numericalmethod.suanshu.stats.timeseries.linear.univariate.stationaryprocess.arima.arma.ArmaxModel
public class ArmaxModel
This class represents a univariate ARMAX (ARMA model with eXogenous inputs) model.
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 ψ.
| Field Summary |
|---|
| Fields inherited from class com.numericalmethod.suanshu.stats.timeseries.linear.univariate.stationaryprocess.arima.ArimaxModel |
|---|
AR, MA, mu, psi, sigma |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.numericalmethod.suanshu.stats.timeseries.linear.univariate.stationaryprocess.arima.ArimaxModel |
|---|
AR, AR, d, 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(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 variance
public 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 variance
public 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 model| Method Detail |
|---|
public double armaxMeanNoIntercept(double[] arLags,
double[] maLags,
double[] exVar)
arLags - the AR lagsmaLags - the MA lagsexVar - the exogenous variables
public double armaxMean(double[] arLags,
double[] maLags,
double[] 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 | |||||||