eLP.poly {QDComparison} | R Documentation |
A function to compute the LP basis functions
Description
Given a random sample from X (which can be discrete, continuous, or even mixed), this function computes the empirical LP-basis functions.
Usage
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
Jungreis, D., (2019) "Unification of Continuous, Discrete, and Mixed Distribution Two-Sample Testing with Inferences in the Quantile Domain"
Mukhopadhyay, S. and Parzen, E. (2014), "LP Approach to Statistical Modeling", arXiv:1405.2601.
Examples
x <- c(rep(0,200),rep(1,200))
m <- 6
eLP.poly(x,m)
[Package QDComparison version 3.0 Index]