powered by
This function generates a univariate lower partial moment for any degree or target.
LPM(degree, target, variable)
LPM of variable
integer; (degree = 0) is frequency, (degree = 1) is area.
(degree = 0)
(degree = 1)
numeric; Typically set to mean, but does not have to be. (Vectorized)
a numeric vector. data.frame or list type objects are not permissible.
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) LPM(0, mean(x), x)
Run the code above in your browser using DataLab