LPT {LPKsample}R Documentation

eLP Transformation

Description

Empirical LP Transformation on the data

Usage

LPT(x, k);
LP.Poly(x, m);

Arguments

x

A column vector of the data

k

An integer, order of LP component for transformation

m

An integer, maximum order of LP component for transformation

Details

Given a vector of data x, the LPT(x,k) function computes the vector of eLP component of order specified by k for x. While the LP.Poly(x,m) function computes all components up until m.

Value

A vector containing the elements of k-th order component of the eLP transformation on x (LPT); Or a matrix with columns of 1 to m-th order component of the eLP transformation on x (LP.Poly);

Author(s)

Mukhopadhyay, S. and Wang, K.

References

Mukhopadhyay, S. and Wang, K. (2020), "A Nonparametric Approach to High-dimensional K-sample Comparison Problem", arXiv:1810.01724.

Mukhopadhyay, S. and Parzen, E. (2014) "LP Approach to Statistical Modeling", arXiv:1405.2601.

Examples

##
 x<-runif(10)
 LPT(x,1)

[Package LPKsample version 2.1 Index]