fgnSim: Simulate a discrete fractional Gaussian noise

Description Usage Arguments Details Value Note Author(s) See Also Examples

Description

Simulate a discrete fractional Gaussian noise

Usage

1
fgnSim(n, H)

Arguments

n

Length of the time series.

H

Hurst exponent.

Details

The FFT is used during the simulation so it is most efficient if n is a power of 2.

Value

A numeric vector containing the simulated time series.

Note

The fgnSim is just a wrapper of the SimulateFGN function from the FGN package.

Author(s)

A.I. McLeod

See Also

SimulateFGN

Examples

1
2
3
#simulate a dfgn process with H=0.2 and plot it
z = fgnSim(100, 0.2)
ts.plot(z)

citiususc/fracdet documentation built on May 13, 2019, 7:30 p.m.