Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: times
See also: FGNcov fft

Quantlet: FGN
Description: simulation of a series of fractional Gaussian noise (FGN) (not the standard Gaussian (Brownian) noise) by means of the Davies and Harte algorithm.

Reference(s):

Usage: daFGN=FGN(iNN,dH,dVar)
Input:
iNN scalar, length of the simulated FGN series
dH scalar, Hurst coefficient (self similarity parameter)
dVar scalar, variance scaling parameter of FGN (mean of FGN is 0)
Output:
daFGN n x 1 vector of size iNN containing the simulated FGN

Example:
library("times")
randomize(850)
daFGN=FGN(4.0,.75,1.0)
daFGN

Result:
Contents of daFGN
[1,]  0.19654
[2,]  -1.0063
[3,] -0.097859
[4,] -0.00049242



Author: O. Blaskowitz, W. Haerdle, 20020228 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006