confint.midquantile: Mid-distribution Functions

View source: R/Qtools_mid.R

confint.midquantileR Documentation

Mid-distribution Functions

Description

Compute mid-quantiles confidence intervals

Usage

## S3 method for class 'midquantile'
confint(object, parm = NULL, level = 0.95, ...)

Arguments

object

an object of class midquantile.

parm

not used (included for consistency with confint.default).

level

nominal coverage level of the confidence interval.

...

not used.

Author(s)

Marco Geraci

References

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.

Examples


x <- rpois(100, lambda = 3)
mq <- midquantile(x)
confint(mq, level = 0.95)

# print standard errors
attributes(confint(mq, level = 0.95))$stderr


Qtools documentation built on Nov. 2, 2023, 6:11 p.m.