backtest: VaR Backtesting

Description Usage Arguments Details Value See Also

View source: R/backtest.R

Description

This function performs VaR backtesting and creates an S3 class object of backtesting results

Usage

1
backtest(object, testLen.years = 1)

Arguments

object

an object of class "VaR".

testLen.years

the window size of backtesting in years.

Details

Backtesting is performed by firstly compute the realized loss, and then calculate the rate that VaR is exceeded across the backtesting window.

Value

An object of class "VaR.backtesting".

See Also

VaR


zhangkd5/riskCalc documentation built on May 4, 2019, 10:16 p.m.