Sample Quantiles in Statistical Packages
The DOI matches its Crossref record; 18 of the 18 references it cites were found in a registry or an index.
Abstract
There are a large number of different definitions used for sample quantiles in statistical computer packages. Often within the same package one definition will be used to compute a quantile explicitly, while other definitions may be used when producing a boxplot, a probability plot, or a QQ plot. We compare the most commonly implemented sample quantile definitions by writing them in a common notation and investigating their motivation and some of their properties. We argue that there is a need to adopt a standard definition for sample quantiles so that the same answers are produced by different packages and within each package. We conclude by recommending that the median-unbiased estimator be used because it has most of the desirable properties of a quantile estimator and can be defined independently of the underlying distribution.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Continuous Univariate Distributions.
Omori, Y., Johnson, N. L., Kotz, S., & Balakrishnan, N. (1995) · Journal of the American Statistical Association · doi:10.2307/2291547 · Cited by 9,084
Gumbel, E. J. (1958) · Columbia University Press eBooks · doi:10.7312/gumb92958 · Cited by 5,567
Order Restricted Statistical Inference.
Santner, T., Robertson, T., Wright, F. T., & Dykstra, R. L. (1990) · Journal of the American Statistical Association · doi:10.2307/2289813 · Cited by 1,586
Statistical Estimates and Transformed Beta-Variables.
Minton, P. D., & Blom, G. (1960) · The American Mathematical Monthly · doi:10.2307/2308690 · Cited by 1,166
Continuous Univariate Distributions.
Chatfield, C., Johnson, N. L., Kotz, S., & Balakrishnan, N. (1995) · The Statistician · doi:10.2307/2348907 · Cited by 1,008
Bechhofer, R. E. (1954) · The Annals of Mathematical Statistics · doi:10.1214/aoms/1177728845 · Cited by 928
Nonparametric Statistical Data Modeling
Parzen, E. (1979) · Journal of the American Statistical Association · doi:10.1080/01621459.1979.10481621 · Cited by 713
Unbiased plotting positions — A review
Cunnane, C. (1978) · Journal of Hydrology · doi:10.1016/0022-1694(78)90017-3 · Cited by 664
Collett, D., Baker, R. J., & Nelder, J. A. (1979) · Biometrics · doi:10.2307/2530359 · Cited by 645
A new distribution-free quantile estimator
HARRELL, F. E., & DAVIS, C. E. (1982) · Biometrika · doi:10.1093/biomet/69.3.635 · Cited by 546
Cited by
Modern Applied Statistics with S
Venables, W. N., & Ripley, B. D. (2002) · Statistics and Computing · doi:10.1007/978-0-387-21706-2 · Cited by 24,305
Estimating psychological networks and their accuracy: A tutorial paper
Epskamp, S., Borsboom, D., & Fried, E. I. (2018) · Behavior Research Methods · doi:10.3758/s13428-017-0862-1 · Cited by 5,715
Cornwell, W. K., Cornelissen, J. H. C., Amatangelo, K., Dorrepaal, E., Eviner, V. T., Godoy, O., Hobbie, S. E., Hoorens, B., Kurokawa, H., Pérez‐Harguindeguy, N., et al. (2008) · Ecology Letters · doi:10.1111/j.1461-0248.2008.01219.x · Cited by 2,855
fitdistrplus: An R Package for Fitting Distributions
Delignette-Muller, M. L., & Dutang, C. (2015) · Journal of Statistical Software · doi:10.18637/jss.v064.i04 · Cited by 2,383
EFSA Panel on Food Contact Materials, E. (2015) · EFSA Journal · doi:10.2903/j.efsa.2015.3978 · Cited by 1,023
Cho, Y. S., Go, M. J., Kim, Y. J., Heo, J. Y., Oh, J. H., Ban, H.-J., Yoon, D., Lee, M. H., Kim, D.-J., Park, M., et al. (2009) · Nature Genetics · doi:10.1038/ng.357 · Cited by 1,015
Suurmond, R., van Rhee, H., & Hak, T. (2017) · Research Synthesis Methods · doi:10.1002/jrsm.1260 · Cited by 881
“5)/k as incorporated in metafor.(44) The l'Abbe plot, applicable to binary data only, appears to be the same in MIX Pro, metafor, and Meta‐Essentials but is not available in CMA.”
MethodAccuracy assessment of digital elevation models by means of robust statistical methods
Höhle, J., & Höhle, M. (2009) · ISPRS Journal of Photogrammetry and Remote Sensing · doi:10.1016/j.isprsjprs.2009.02.003 · Cited by 743
Clinical translation of an ultrasmall inorganic optical-PET imaging nanoparticle probe
Phillips, E., Penate-Medina, O., Zanzonico, P. B., Carvajal, R. D., Mohan, P., Ye, Y., Humm, J., Gönen, M., Kalaigian, H., Schöder, H., et al. (2014) · Science Translational Medicine · doi:10.1126/scitranslmed.3009524 · Cited by 712
DIAGRAM Consortium, Cho, Y. S., MuTHER Consortium, Chen, C.-H., Hu, C., Long, J., Hee Ong, R. T., Sim, X., Takeuchi, F., Wu, Y., et al. (2012) · Nature Genetics · doi:10.1038/ng.1019 · Cited by 611
Avoiding Inhomogeneity in Percentile-Based Indices of Temperature Extremes
Zhang, X., Hegerl, G., Zwiers, F. W., & Kenyon, J. (2005) · Journal of Climate · doi:10.1175/jcli3366.1 · Cited by 504
Density Forecasting for Long-Term Peak Electricity Demand
Hyndman, R. J., & Fan, S. (2010) · IEEE Transactions on Power Systems · doi:10.1109/tpwrs.2009.2036017 · Cited by 369
Self-citationA simple more general boxplot method for identifying outliers
Schwertman, N. C., Owens, M. A., & Adnan, R. (2004) · Computational Statistics & Data Analysis · doi:10.1016/j.csda.2003.10.012 · Cited by 346
Image Noise Level Estimation by Principal Component Analysis
Pyatykh, S., Hesser, J., & Zheng, L. (2013) · IEEE Transactions on Image Processing · doi:10.1109/tip.2012.2221728 · Cited by 339
Travison, T. G., Vesper, H. W., Orwoll, E., Wu, F., Kaufman, J. M., Wang, Y., Lapauw, B., Fiers, T., Matsumoto, A. M., & Bhasin, S. (2017) · The Journal of Clinical Endocrinology & Metabolism · doi:10.1210/jc.2016-2935 · Cited by 326
Hesterberg, T. (2011) · WIREs Computational Statistics · doi:10.1002/wics.182 · Cited by 318
Regional diversification and firm performance
Qian, G., Li, L., Li, J., & Qian, Z. (2008) · Journal of International Business Studies · doi:10.1057/palgrave.jibs.8400346 · Cited by 302
Smart Detection: An Online Approach for DoS/DDoS Attack Detection Using Machine Learning
Lima Filho, F. S. D., Silveira, F. A. F., de Medeiros Brito Junior, A., Vargas-Solar, G., & Silveira, L. F. (2019) · Security and Communication Networks · doi:10.1155/2019/1574749 · Cited by 293
Frazer, G. W., Magnussen, S., Wulder, M. A., & Niemann, K. O. (2011) · Remote Sensing of Environment · doi:10.1016/j.rse.2010.10.008 · Cited by 286
A Comparison of Several Methods for Analyzing Censored Data
(2007) · The Annals of Occupational Hygiene · doi:10.1093/annhyg/mem045 · Cited by 275
Wei, N., Li, C., Peng, X., Zeng, F., & Lu, X. (2019) · Journal of Petroleum Science and Engineering · doi:10.1016/j.petrol.2019.106187 · Cited by 259
Path loss exponent estimation for wireless sensor network localization
Mao, G., Anderson, B. D. O., & Fidan, B. (2007) · Computer Networks · doi:10.1016/j.comnet.2006.11.007 · Cited by 235
“A more generic technique, based on the same idea as the quantile–quantile (q–q) plot [24], can be used if the distance distribution has a complex form which is not suitable for computation.”
MethodEstimation and Evidence in Forensic Anthropology: Age‐at‐Death
Konigsberg, L. W., Herrmann, N. P., Wescott, D. J., & Kimmerle, E. H. (2008) · Journal of Forensic Sciences · doi:10.1111/j.1556-4029.2008.00710.x · Cited by 228
“from Hyndman and Fan (47), and the ages were rounded to the nearest integer.”
Tolerating the community detection resolution limit with edge weighting
Berry, J. W., Hendrickson, B., LaViolette, R. A., & Phillips, C. A. (2011) · Physical Review E · doi:10.1103/physreve.83.056119 · Cited by 188
Quartiles in Elementary Statistics
Langford, E. (2006) · Journal of Statistics Education · doi:10.1080/10691898.2006.11910589 · Cited by 181
“It is Definition 2 of Hyndman and Fan (1996) and Definition 4 of Joarder and Firozzaman (2001), who refer to Smith (1997), p. 36, who uses the alternative calculation.”
BackgroundMethodInfluentialRobust analogs to the coefficient of variation
Arachchige, C. N. P. G., Prendergast, L. A., & Staudte, R. G. (2022) · Journal of Applied Statistics · doi:10.1080/02664763.2020.1808599 · Cited by 178
“We estimate the p th quantile xp = G(p) = F−1(p) by the Hyndman and Fan [29] quantile estimator x̂p = Ĝ(p), which is a linear combination of two adjacent order statistics.”
MethodResistant outlier rules and the non-Gaussian case
Carling, K. (2000) · Computational Statistics & Data Analysis · doi:10.1016/s0167-9473(99)00057-2 · Cited by 174
“Equations (1) and (2) may look simple, but the definition of sample quartiles has long been debated (see Cleveland, 1985, Freund and Perles, 1987, Frigge, Hoaglin, and Iglewicz, 1989, Harrell and Davis, 1982, Hoaglin et al., 1983, Hoaglin and Iglewicz, 1987, Hyndman and Fan, 1996).”
BackgroundWiFi Fingerprinting Indoor Localization Using Local Feature-Based Deep LSTM
Chen, Z., Zou, H., Yang, J., Jiang, H., & Xie, L. (2020) · IEEE Systems Journal · doi:10.1109/jsyst.2019.2918678 · Cited by 173
“In addition to these two features, we also attempt to know the distributions of the RSSI values, which can be achieved by us-ing quantile [31].”
BackgroundMaximum Entropy Bootstrap for Time Series: The mebootR Package
Vinod, H. D., & López-de-Lacalle, J. (2009) · Journal of Statistical Software · doi:10.18637/jss.v029.i05 · Cited by 163
“Assuming the earlier code is in the memory, let us begin by computing the simplest percentile interval, using the function quantile of R , while choosing type = 8 (as recommended by Hyndman and Fan 1996, see also help("quantile") ).”
Quantile regression under memory constraint
Chen, X., Liu, W., & Zhang, Y. (2019) · The Annals of Statistics · doi:10.1214/18-aos1777 · Cited by 161
“There are different ways in the literature to define the τ -th sample quantiles (see Hyndman and Fan (1996)), while most of them have the following form”
BackgroundEPHA2 Is Associated with Age-Related Cortical Cataract in Mice and Humans
Jun, G., Guo, H., Klein, B. E. K., Klein, R., Wang, J. J., Mitchell, P., Miao, H., Lee, K. E., Joshi, T., Buck, M., et al. (2009) · PLoS Genetics · doi:10.1371/journal.pgen.1000584 · Cited by 158
“We also conducted association analyses on the normalized traits, forcing the marginal distribution of the analyzed trait to be about normally distributed under the null hypothesis, by taking the inverse standard normal transformation of the empirical quantile that was obtained from the formula [r(y)21/3] divided by (n…”
MethodThe BP Oil Spill: Shareholder Wealth Effects and Environmental Disclosures
Heflin, F., & Wallace, D. (2017) · Journal of Business Finance & Accounting · doi:10.1111/jbfa.12244 · Cited by 116
Epithelial Sodium Channel Regulates Adult Neural Stem Cell Proliferation in a Flow-Dependent Manner
Petrik, D., Myoga, M. H., Grade, S., Gerkau, N. J., Pusch, M., Rose, C. R., Grothe, B., & Götz, M. (2018) · Cell Stem Cell · doi:10.1016/j.stem.2018.04.016 · Cited by 104
EDLA-EFDS: A Novel Ensemble Deep Learning Approach For Electrical Fault Detection Systems
Elmasry, W., & Wadi, M. (2022) · Electric Power Systems Research · doi:10.1016/j.epsr.2022.107834 · Cited by 42
Estimating concurrent climate extremes: A conditional approach
Huang, W. K., Monahan, A. H., & Zwiers, F. W. (2021) · Weather and Climate Extremes · doi:10.1016/j.wace.2021.100332 · Cited by 23
Hu, Y., Qin, L., Li, S., Li, X., Zhou, R., Li, Y., & Sheng, W. (2023) · Energy and Buildings · doi:10.1016/j.enbuild.2023.113429 · Cited by 22
Moran, J. P., de Avila-Armenta, E., Aquino-Ibarra, R. A., Nicolás-Díaz, J. O., & Leon-Dominguez, U. (2026) · arXiv · doi:10.48550/arxiv.2611.19118
Metadata
- Authors
- Hyndman, R. J., & Fan, Y.
- Venue
- The American Statistician
- Publisher
- Informa UK Limited
- Published
- 1996-11
- Volume
- 50
- Issue
- 4
- Pages
- 361-365
- ISSN
- 0003-1305 (ISSN-L)
- 1537-2731
- OpenAlex
- W1985710418
- Cited by
- 1,183
- References
- 18
- FWCI
- 0.79
- Type
- journal article
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.