|
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.univariate.realtime.SimpleTimeSeries
com.numericalmethod.suanshu.stats.timeseries.linear.univariate.stationaryprocess.arima.ArimaSim
public class ArimaSim
This class simulates the ARIMA models.
An AutoRegressive Integrated Moving Average (ARIMA) model is a generalization of an AutoRegressive Moving Average (ARMA) model. They are applied in some cases where data show evidence of non-stationarity, where an initial differencing step (corresponding to the "integrated" part of the model) can be applied to remove the non-stationarity.
Given a time series of data Xt, the ARMA model is a tool for understanding and, perhaps, predicting future values in this series. The model consists of two parts, an autoregressive (AR) part and a moving average (MA) part. The model is usually then referred to as the ARMA(p,q) model where p is the order of the autoregressive part and q is the order of the moving average part.
The notation AR(p) refers to the autoregressive model of order p. The AR(p) model is defined as the weighted sum of the lagged values, a constant, and a white noise.
The notation MA(q) refers to the autoregressive model of order q. The MA(q) model is defined as the weighted sum of the lagged white noises and a drift. That is, a moving average model is conceptually a linear regression of the current value of the series against previous (unobserved) white noise error terms or random shocks. The random shocks are suppose to propagate to future values of the time series.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.numericalmethod.suanshu.stats.timeseries.univariate.realtime.SimpleTimeSeries |
|---|
SimpleTimeSeries.Iterator |
| Nested classes/interfaces inherited from interface com.numericalmethod.suanshu.stats.timeseries.univariate.realtime.TimeSeries |
|---|
TimeSeries.Entry |
| Constructor Summary | |
|---|---|
ArimaSim(int n,
ArimaModel arima)
Simulate an ARIMA model. |
|
ArimaSim(int n,
ArimaModel arima,
Innovations innovations)
Simulate an ARIMA model. |
|
| Method Summary |
|---|
| Methods inherited from class com.numericalmethod.suanshu.stats.timeseries.univariate.realtime.SimpleTimeSeries |
|---|
diff, drop, equals, get, hashCode, iterator, lag, lag, size, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ArimaSim(int n,
ArimaModel arima,
Innovations innovations)
The innovation length is at least
n + max(AR.length, MA.length) + d
n - the length of the time series to generatearima - an ARIMA modelinnovations - the innovations
public ArimaSim(int n,
ArimaModel arima)
n - the length of the time series to generatearima - an ARIMA model
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||