SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.stats.timeseries.linear.multivariate.stationaryprocess.arima.arma
Class ArmaModel

java.lang.Object
  extended by com.numericalmethod.suanshu.stats.timeseries.linear.multivariate.stationaryprocess.arima.ArimaxModel
      extended by com.numericalmethod.suanshu.stats.timeseries.linear.multivariate.stationaryprocess.arima.ArimaModel
          extended by com.numericalmethod.suanshu.stats.timeseries.linear.multivariate.stationaryprocess.arima.arma.ArmaModel
Direct Known Subclasses:
ArModel, MaModel

public class ArmaModel
extends ArimaModel

This class represents a multivariate ARMA model.

See Also:
"P. J. Brockwell and R. A. Davis, Time Series: Theory and Methods, Springer, 2006."

Field Summary
 
Fields inherited from class com.numericalmethod.suanshu.stats.timeseries.linear.multivariate.stationaryprocess.arima.ArimaxModel
mu, phi, psi, sigma, theta
 
Constructor Summary
ArmaModel(ArmaModel that)
          Copy constructor.
ArmaModel(ArmaModel model)
          Cast a univariate ARMA model to a multivariate model.
ArmaModel(Matrix[] phi, Matrix[] theta)
          Construct a zero-intercept (mu) multivariate ARMA model with unit variance.
ArmaModel(Matrix[] phi, Matrix[] theta, Matrix sigma)
          Construct a zero-intercept (mu) multivariate ARMA model.
ArmaModel(Vector mu, Matrix[] phi, Matrix[] theta)
          Construct a multivariate ARMA model with unit variance.
ArmaModel(Vector mu, Matrix[] phi, Matrix[] theta, Matrix sigma)
          Construct a multivariate ARMA model.
 
Method Summary
 Matrix armaMean(Matrix arLags, Matrix maLags)
          Compute the multivariate ARMA conditional mean.
 Matrix armaMeanNoIntercept(Matrix arLags, Matrix maLags)
          Compute the zero-intercept (mu) multivariate ARMA conditional mean.
 
Methods inherited from class com.numericalmethod.suanshu.stats.timeseries.linear.multivariate.stationaryprocess.arima.ArimaModel
getArma
 
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

ArmaModel

public ArmaModel(Vector mu,
                 Matrix[] phi,
                 Matrix[] theta,
                 Matrix sigma)
Construct a multivariate ARMA model.

Parameters:
mu - the intercept (constant) vector
phi - the AR coefficients (excluding the initial 1); null if no AR coefficient
theta - the MA coefficients (excluding the initial 1); null if no MA coefficient
sigma - the covariance matrix of white noise

ArmaModel

public ArmaModel(Vector mu,
                 Matrix[] phi,
                 Matrix[] theta)
Construct a multivariate ARMA model with unit variance.

Parameters:
mu - the intercept (constant) vector
phi - the AR coefficients (excluding the initial 1); null if no AR coefficient
theta - the MA coefficients (excluding the initial 1); null if no MA coefficient

ArmaModel

public ArmaModel(Matrix[] phi,
                 Matrix[] theta,
                 Matrix sigma)
Construct a zero-intercept (mu) multivariate ARMA model.

Parameters:
phi - the AR coefficients (excluding the initial 1); null if no AR coefficient
theta - the MA coefficients (excluding the initial 1); null if no MA coefficient
sigma - the covariance matrix of white noise

ArmaModel

public ArmaModel(Matrix[] phi,
                 Matrix[] theta)
Construct a zero-intercept (mu) multivariate ARMA model with unit variance.

Parameters:
phi - the AR coefficients (excluding the initial 1); null if no AR coefficient
theta - the MA coefficients (excluding the initial 1); null if no MA coefficient

ArmaModel

public ArmaModel(ArmaModel that)
Copy constructor.

Parameters:
that - a multivariate ARMA model

ArmaModel

public ArmaModel(ArmaModel model)
Cast a univariate ARMA model to a multivariate model.

Parameters:
model - a univariate ARMA model
Method Detail

armaMeanNoIntercept

public Matrix armaMeanNoIntercept(Matrix arLags,
                                  Matrix maLags)
Compute the zero-intercept (mu) multivariate ARMA conditional mean.

Parameters:
arLags - the AR lags
maLags - the MA lags
Returns:
the conditional mean

armaMean

public Matrix armaMean(Matrix arLags,
                       Matrix maLags)
Compute the multivariate ARMA conditional mean.

Parameters:
arLags - the AR lags
maLags - the MA lags
Returns:
the conditional mean

SuanShu, a Java numerical and statistical library

Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.