pemp: Empirical cumulative density function (ECDF)

Description Usage Arguments Value References Examples

View source: R/empirical_cdf.R

Description

Empirical cumulative density function based on a sample of observations, as used by described by Chakraborti (2006).

Usage

1

Arguments

q

numeric vector of values to evaluate

sample

numeric vector of sample values to base the ECDF on

Value

Returns the probabilities that a value drawn at random from the empirical cumulative density based on sample is smaller than or equal to the elements of x.

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

1
2
x <- 1:5
pemp(1, x)

skewsamp documentation built on Dec. 17, 2021, 1:07 a.m.