SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.stats.timeseries.linear.univariate.stationaryprocess.arima.arma
Class ArModel

java.lang.Object
  extended by com.numericalmethod.suanshu.stats.timeseries.linear.univariate.stationaryprocess.arima.ArimaxModel
      extended by com.numericalmethod.suanshu.stats.timeseries.linear.univariate.stationaryprocess.arima.ArimaModel
          extended by com.numericalmethod.suanshu.stats.timeseries.linear.univariate.stationaryprocess.arima.arma.ArmaModel
              extended by com.numericalmethod.suanshu.stats.timeseries.linear.univariate.stationaryprocess.arima.arma.ArModel

public class ArModel
extends ArmaModel

This class represents an AR model.

See Also:
Wikipedia: Autoregressive model

Field Summary
 
Fields inherited from class com.numericalmethod.suanshu.stats.timeseries.linear.univariate.stationaryprocess.arima.ArimaxModel
AR, MA, mu, psi, sigma
 
Constructor Summary
ArModel(ArModel that)
          Copy constructor.
ArModel(double[] AR)
          Construct a zero-intercept (mu) univariate AR model with unit variance.
ArModel(double[] AR, double sigma)
          Construct a zero-intercept (mu) univariate AR model.
ArModel(double mu, double[] AR)
          Construct a univariate AR model with unit variance.
ArModel(double mu, double[] AR, double sigma)
          Construct a univariate AR model.
 
Method Summary
 
Methods inherited from class com.numericalmethod.suanshu.stats.timeseries.linear.univariate.stationaryprocess.arima.arma.ArmaModel
armaMean, armaMeanNoIntercept
 
Methods inherited from class com.numericalmethod.suanshu.stats.timeseries.linear.univariate.stationaryprocess.arima.ArimaModel
getArma
 
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

ArModel

public ArModel(double mu,
               double[] AR,
               double sigma)
Construct a univariate AR model.

Parameters:
mu - the intercept (constant) term
AR - the AR coefficients (excluding the initial 1)
sigma - the white noise variance

ArModel

public ArModel(double mu,
               double[] AR)
Construct a univariate AR model with unit variance.

Parameters:
mu - the intercept (constant) term
AR - the AR coefficients (excluding the initial 1)

ArModel

public ArModel(double[] AR,
               double sigma)
Construct a zero-intercept (mu) univariate AR model.

Parameters:
AR - the AR coefficients (excluding the initial 1)
sigma - the white noise variance

ArModel

public ArModel(double[] AR)
Construct a zero-intercept (mu) univariate AR model with unit variance.

Parameters:
AR - the AR coefficients (excluding the initial 1)

ArModel

public ArModel(ArModel that)
Copy constructor.

Parameters:
that - a univariate AR model

SuanShu, a Java numerical and statistical library

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