Description Usage Arguments Details Value Author(s) References See Also Examples
A fractional Gaussian noise time series is simulated.
1 | SimulateFD(n, d)
|
n |
length of time series |
d |
fractional difference parameter |
The FFT is used so it is most efficient if you select n to be a power of 2. Note, d=H-1/2.
vector of length containing the simulated time series
A.I. McLeod
Davies, R. B. and Harte, D. S. (1987). Tests for Hurst Effect. Biometrika 74, 95–101.
McLeod, A.I., Yu, Hao, Krougly, Zinovi L. (2007). Algorithms for Linear Time Series Analysis, Journal of Statistical Software.
1 2 3 4 | #Example 1
#simulate a process with H=0.2 and plot it
z<-SimulateFD(100, 0.2)
ts.plot(z)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.