fgarch_1_1: 'fgarch_1_1' Simulates an fGARCH(1,1) process with N...

Description Usage Arguments Value Examples

View source: R/data_simulations.R

Description

fgarch_1_1 Simulates an fGARCH(1,1) process with N independent observations, each observed

Usage

1
fgarch_1_1(N, J, delta = 0.01, burn_in = 50)

Arguments

N

the number of fGARCH(1,1) curves to sample.

J

the number of points at which each curve is sampled (the resolution of the data).

delta

a parameter used in the variance recursion of the model.

burn_in

the number of initial samples to burn (discard).

Value

A list containing two J x N matrices, the former containing the sample of fGARCH(1,1) curves and the latter containing the respective variance values.

Examples

1
f <- fgarch_1_1(100, 50)

wwntests documentation built on July 2, 2020, 2:57 a.m.