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

VaR_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(), Etrunc_llogis(), Mexcess_llogis(), SL_llogis(), TVaR_llogis(), V_llogis(), dllogis(), kthmoment_llogis(), pllogis()

Examples

# With scale parameter VaR_llogis(kap = 0.8, shape = 3, scale = 5)
#> [1] 7.937005
# With rate parameter VaR_llogis(kap = 0.8, shape = 3, rate = 0.2)
#> [1] 7.937005