powered by
Given a random sample from X (which can be discrete, continuous, or even mixed), this function computes the empirical LP-basis functions.
eLP.poly(x,m)
The random samples
Number of basis functions to compute
LP basis functions
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.
# NOT RUN { x <- c(rep(0,200),rep(1,200)) m <- 6 eLP.poly(x,m) # }
Run the code above in your browser using DataLab