demp {skewsamp} | R Documentation |
Empirical probability density function (EPDF)
Description
Empirical probability density function based on a sample of observations, as described by Chakraborti (2006).
Usage
demp(x, sample)
Arguments
x |
numeric vector of values to evaluate |
sample |
numeric vector of sample values to base the EPDF on |
Value
numeric vector of density values based on the EPDF
References
Chakraborti, S., Hong, B., & Van De Wiel, M. A. (2006). A note on sample size determination for a nonparametric test of location. Technometrics, 48(1), 88–94. https://doi.org/10.1198/004017005000000193
Examples
x <- 1:5
demp(1, x)
[Package skewsamp version 1.0.0 Index]