fracdiff.sim {fracdiff} | R Documentation |
Generates simulated long-memory time series data from the
fractional ARIMA(p,d,q) model. This is a test problem generator for
fracdiff
.
fracdiff.sim(n, ar, ma, d, mu = 0.)
n |
length of the time series. |
ar |
vector of autoregressive parameters. |
ma |
vector of moving average parameters. |
d |
fractional differencing parameter. |
mu |
time series mean |
a list containing the following elements :
x |
time series |
ar |
same as input |
ma |
same as input |
d |
same as input |
mu |
same as input |
seed |
same as input |
fracdiff
, also for references.
## Pretty (too) short to "see" the long memory fracdiff.sim(100, ar = .2, ma = .4, d = .3)