CVAR.fc_kde: Calculate VaR and CVaR by trapezoidal integration.

Description Usage Arguments Value

View source: R/prob_forecast.R

Description

Calculate VaR and CVaR by trapezoidal integration.

Usage

1
2
## S3 method for class 'fc_kde'
CVAR(x, epsilon = c(0.05, 0.95))

Arguments

x

fc_kde object

epsilon

Probability levels for lower/upper tail VaR/CVaR calculations, defaults to c(0.05, 0.95)

Value

list of var, cvar


kdayday/forecasting documentation built on Oct. 7, 2020, 7:16 p.m.