Learn R Programming

Distributacalcul (version 0.2.2)

TVaR_llogis: Tail Value-at-Risk of the Loglogistic distribution

Description

Tail Value-at-Risk of the Loglogistic distribution with shape parameter \(\tau\) and scale parameter \(\lambda\).

Usage

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

Arguments

kap

probability.

shape

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

rate

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

scale

\(\lambda\) rate parameter, must be positive.

Value

Function :

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

Details

The Loglogistic distribution with shape parameter \(\tau\) and scale parameter \(\lambda\) has density: $$\frac{\tau \lambda^\tau x^{\tau -1}}{(\lambda^{\tau }+x^{\tau })^{2}}$$ for \(x \in \mathcal{R}^+\), \(\lambda, \tau > 0\).

See Also

Other Loglogistic Distribution: E_llogis(), Elim_llogis(), Etronq_llogis(), Mexcess_llogis(), SL_llogis(), V_llogis(), VaR_llogis(), kthmoment_llogis()

Examples

Run this code
# NOT RUN {
# With scale parameter
TVaR_llogis(kap = 0.8, shape = 3, scale = 5)

# With rate parameter
TVaR_llogis(kap = 0.8, shape = 3, rate = 0.2)

# }

Run the code above in your browser using DataLab