Learn R Programming

Distributacalcul (version 0.2.2)

VaR_weibull: Value-at-Risk of the Weibull distribution

Description

Value-at-Risk of the Weibull distribution with shape parameter \(\tau\) and rate parameter \(\beta\).

Usage

VaR_weibull(kap, shape, rate = 1/scale, scale = 1/rate)

Arguments

kap

probability.

shape

shape parameter \(\tau\), must be positive integer.

rate

\(\beta\) is the rate parameter, must be positive.

scale

alternative parameterization to rate parameter, scale = 1 / rate.

Value

Returns numeric value. Function :

Invalid parameter values will return an error detailing which parameter is problematic.

Details

The Weibull distribution with shape parameter \(\tau\) and rate parameter \(\beta\) has density: $$f\left(x\right) = \beta \tau \left( \beta x \right) ^{\tau -1} % \mathrm{e}^{-\left( \beta x\right) ^{\tau }}$$ for \(x \in \mathcal{R}^+\), \(\beta > 0\), \(\tau > 0\)

See Also

Other Weibull Distribution: E_weibull(), Elim_weibull(), Etronq_weibull(), Mexcess_weibull(), SL_weibull(), TVaR_weibull(), V_weibull(), kthmoment_weibull()

Examples

Run this code
# NOT RUN {
# With scale parameter
VaR_weibull(kap = .2, shape = 3, scale = 4)

# With rate parameter
VaR_weibull(kap = .2, shape = 3, rate = 0.25)

# }

Run the code above in your browser using DataLab