rHS_arma: Simulation HS

View source: R/martingaleDifference.R

rHS_armaR Documentation

Simulation HS

Description

Simulate a stylized sample for a hypothetical bank using plain-vanilla historical simulation. Let the unmodelled stochastic volatility be driven by ARMA(1,1) process.

Usage

rHS_arma(n, cormodel)

Arguments

n

length of sample

cormodel

list of ar and ma weights, each scalar

Value

vector of length n


ajmcneil/spectralBacktest documentation built on Dec. 31, 2022, 8:17 p.m.