VaR_unif.Rd
Value-at-Risk of the Uniform distribution with min \(a\) and max \(b\).
VaR_unif(kap, min = 0, max = 1)
kap | probability. |
---|---|
min, max | lower and upper limits of the distribution. Must be finite. |
Function :
E_unif
gives the expected value.
V_unif
gives the variance.
kthmoment_unif
gives the kth moment.
Etrunc_unif
gives the truncated mean.
SL_unif
gives the stop-loss.
Elim_unif
gives the limited mean.
Mexcess_unif
gives the mean excess loss.
TVaR_unif
gives the Tail Value-at-Risk.
VaR_unif
gives the Value-at-Risk.
Invalid parameter values will return an error detailing which parameter is problematic.
The (continuous) uniform distribution with min and max parameters \(a\) and \(b\) respectively has density: $$f(x) = \frac{1}{b - a} \times \bm{1}_{\{x \in [a, b] \}}$$ for \(x \in [a, b]\).
Other Continuous Uniform Distribution:
E_unif()
,
Elim_unif()
,
Etrunc_unif()
,
Mexcess_unif()
,
SL_unif()
,
TVaR_unif()
,
V_unif()
,
kthmoment_unif()
VaR_unif(kap = .99, min = 3, max = 4)#> [1] 3.99