es_lognormal: Expected Shortfall for normally distributed geometric returns

Description Usage Arguments Value

Description

This function estimates the ES of P/L data assuming geometric returns are normally distributed, for specified confidence level and holding period. It does so by taking an average of the VaRs in the tail of the distribution.

Usage

1
es_lognormal(mu, sigma, investment, conf = 0.95, holding = 1)

Arguments

mu

mean daily P/L data

sigma

standard deviation of daily P/L data

investment

the size of investment

conf

the confidence level (double)

holding

the holding period in days (double)

Value

ES measure (numeric)


dandermotj/mmr documentation built on June 4, 2019, 9:26 p.m.