Generates an upside value at risk (VaR) quantile based on the Upper Partial Moment ratio.
Usage
UPM.VaR(percentile, degree, x)
Value
Returns a numeric value representing the point at which "percentile" of the area of x is above.
Arguments
percentile
numeric [0, 1]; The percentile for right-tail VaR.
degree
integer; (degree = 0) for discrete distributions, (degree = 1) for continuous distributions.
x
a numeric vector.
Author
Fred Viole, OVVO Financial Systems
References
Viole, F. and Nawrocki, D. (2013) "Nonlinear Nonparametric Statistics: Using Partial Moments" (ISBN: 1490523995, 2nd edition: https://ovvo-financial.github.io/NNS/book/)