simulation_2d_arch: Simulation of 2D STARCH-process

Description Usage Arguments Value Examples

Description

Simulation of 2D STARCH-process

Usage

1
2
simulation_2d_arch(param = NULL, dim = NULL, burnin = 100, cutoff = 0,
  seed = NULL)

Arguments

param

Numeric vector of length 2, consiting of α_0 and α_1

dim

Numeric vector of length 3, indicating dimension size on form spatial1 x spatial2 x temporal

burnin

Integer, size of temporal burnin

cutoff

Integer, number of spatial points to be "cut off" in each spatial direction in order to make the simulated process non-circular. If cutoff=0, the process is circular.

seed

For reproducibility, you may set a seed

Value

Simulated STARCH process in form of a matrix of dimension dim.

Examples

1
2
3
4
data<-simulation_2d_arch(param=c(0.3, 0.05),
                         dim=c(10, 10, 100),
                         burnin=100,
                         cutoff=0)

Sondre91/STGARCH documentation built on May 9, 2019, 1:52 p.m.