UPM | R Documentation |
This function generates a univariate upper partial moment for any degree or target.
UPM(degree, target, variable)
degree |
integer; |
target |
numeric; Typically set to mean, but does not have to be. (Vectorized) |
variable |
a numeric vector. data.frame or list type objects are not permissible. |
UPM of variable
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)
UPM(0, mean(x), x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.