UPM.VaR | R Documentation |
Generates an upside value at risk (VaR) quantile based on the Upper Partial Moment ratio
UPM.VaR(percentile, degree, x)
percentile |
numeric [0, 1]; The percentile for right-tail VaR (vectorized). |
degree |
integer; |
x |
a numeric vector. |
Returns a numeric value representing the point at which "percentile"
of the area of x
is above.
Fred Viole, OVVO Financial Systems
Viole, F. and Nawrocki, D. (2013) "Nonlinear Nonparametric Statistics: Using Partial Moments" (ISBN: 1490523995)
set.seed(123)
x <- rnorm(100)
## For 5th percentile, right-tail
UPM.VaR(0.05, 0, x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.