# D.UPM: Divergent-Upper Partial Moment (Upper Left Quadrant 2) In NNS: Nonlinear Nonparametric Statistics

## Description

This function generates a divergent upper partial moment between two equal length variables for any degree or target.

## Usage

 `1` ```D.UPM(degree.x, degree.y, x, y, target.x, target.y) ```

## Arguments

 `degree.x` integer; Degree for variable X. `(degree.x = 0)` is frequency, `(degree.x = 1)` is area. `degree.y` integer; Degree for variable Y. `(degree.y = 0)` is frequency, `(degree.y = 1)` is area. `x` a numeric vector. `y` a numeric vector of equal length to `x`. `target.x` numeric; Typically the mean of Variable X for classical statistics equivalences, but does not have to be. (Vectorized) `target.y` numeric; Typically the mean of Variable Y for classical statistics equivalences, but does not have to be. (Vectorized)

## Value

Divergent UPM of two variables

## Author(s)

Fred Viole, OVVO Financial Systems

## References

Viole, F. and Nawrocki, D. (2013) "Nonlinear Nonparametric Statistics: Using Partial Moments" http://amzn.com/1490523995

## Examples

 ```1 2 3``` ```set.seed(123) x<-rnorm(100); y<-rnorm(100) D.UPM(0,0,x,y,mean(x),mean(y)) ```

NNS documentation built on Aug. 16, 2017, 1:06 a.m.