eLP.poly: A function to compute the LP basis functions

Description Usage Arguments Value Author(s) References Examples

View source: R/eLP.poly.R

Description

Given a random sample from X (which can be discrete, continuous, or even mixed), this function computes the empirical LP-basis functions.

Usage

1
eLP.poly(x,m)

Arguments

x

The random samples

m

Number of basis functions to compute

Value

LP basis functions

Author(s)

Subhadeep Mukhopadhyay

References

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

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

Examples

1
2
3
x <- c(rep(0,200),rep(1,200))
m <- 6
eLP.poly(x,m)

QDComparison documentation built on Oct. 31, 2018, 1:05 a.m.