powered by
Computes the divergent lower partial moment (lower‑right quadrant 3) between two equal‑length numeric vectors.
D.LPM(degree_lpm, degree_upm, x, y, target_x, target_y)
Numeric vector of divergent LPM values.
numeric; LPM degree = 0 gives frequency, = 1 gives area.
numeric; UPM degree = 0 gives frequency, = 1 gives area.
numeric vector of observations.
numeric vector of the same length as x.
numeric vector; thresholds for x (defaults to mean(x)).
numeric vector; thresholds for y (defaults to mean(y)).
Fred Viole, OVVO Financial Systems
Viole, F. & Nawrocki, D. (2013) *Nonlinear Nonparametric Statistics: Using Partial Moments* (ISBN:1490523995)
set.seed(123) x <- rnorm(100); y <- rnorm(100) D.LPM(0, 0, x, y, mean(x), mean(y))
Run the code above in your browser using DataLab