hist_var: Historical Value At Risk

View source: R/quants.R

hist_varR Documentation

Historical Value At Risk

Description

Historical value at risk

Usage

hist_var(x, p = 0.95)

Arguments

x

asset returns

p

confidence level

Value

numeric

Examples

xx <- c(0.003,0.026,0.015,-0.009,-0.014,-0.024,0.015,0.066,-0.014,0.039)
hist_var(xx,p=0.95)


maxto/qapi documentation built on Feb. 1, 2024, 9:42 a.m.