midquantile.RdCompute mid-cumulative probabilities and mid-quantiles
midecdf(x, na.rm = FALSE)
midquantile(x, probs = 1:3/4, na.rm = FALSE)An object of class class midecdf or midquantile with mid-cumulative probabilities and mid-quantiles. For midecdf, this is a list that contains:
unique values of the vector x at which mid-cumulative probabilities are calculated.
estimated mid-cumulative probabilities.
interpolating function of the points (x,y).
input values.
For midquantile, this is a list that contains:
probabilities probs at which mid-quantiles are calculated.
estimated mid-cumulative probabilities.
interpolating function of the points (x,y).
input values.
Ma Y., Genton M., and Parzen E. Asymptotic properties of sample quantiles of discrete distributions. Annals of the Institute of Statistical Mathematics 2011;63(2):227-243
Parzen E. Quantile probability and statistical data modeling. Statistical Science 2004;19(4):652-62.
x <- rpois(100, lambda = 3)
midquantile(x)
#> Empirical mid-quantile function
#> Call:
#> midquantile(x = x)
#>