confint.midquantile: Mid-distribution Functions

Description Usage Arguments Author(s) References Examples

View source: R/Qtools.R

Description

Compute mid-quantiles confidence intervals

Usage

1
2
## 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

1
2
3
4
5
6
x <- rpois(100, lambda = 3)
mq <- midquantile(x)
confint(mq, level = 0.95)

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

marco-geraci/Qtools documentation built on Oct. 10, 2019, 9:05 p.m.