Skip to contents

The normal distribution with mean mu and standard deviation sigma, on the whole real line: asset returns, log returns and other outcomes of either sign. Its TVaR is mu + sigma * dnorm(z) / (1 - p) with z = qnorm(p) (Pricing Insurance Risk, section 4.3.3): VaR plus a multiple of sigma that depends only on p.

Usage

normal_distribution(mu, sigma, ptr = NULL)

Arguments

mu

The mean.

sigma

The standard deviation, positive.

ptr

Internal.

Value

A normal_distribution, which inherits from distribution.

Examples

x <- normal_distribution(0, 1)
quantile(x, 0.99)
#> [1] 2.326348
TVaR(x, 0.99) # 2.665 sigma
#> [1] 2.665214