IDEAS home Printed from https://ideas.repec.org/p/boc/usug07/01.html
   My bibliography  Save this paper

Robust confidence intervals for Hodges–Lehmann median difference

Author

Listed:
  • Roger Newson

    (National Heart and Lung Institute, Imperial College London)

Abstract

The cendif module is part of the somersd package, and calculates confidence intervals for the Hodges–Lehmann median difference between values of a variable in two subpopulations. The traditional Lehmann formula, unlike the formula used by cendif, assumes that the two subpopulation distributions are different only in location, and that the subpopulations are therefore equally variable. The cendif formula therefore contrasts with the Lehmann formula as the unequal-variance t-test contrasts with the equal-variance t-test. In a simulation study, designed to test cendif to destruction, the performance of cendif was compared to that of the Lehmann formula, using coverage probabilities and median confidence interval width ratios. The simulations involved sampling from pairs of Normal or Cauchy distributions, with subsample sizes ranging from 5 to 40, and between-subpopulation variability scale ratios ranging from 1 to 4. If the sample numbers were equal, then both methods gave coverage probabilities close to the advertized confidence level. However, if the sample numbers were unequal, then the Lehmann coverage probabilities were over-conservative if the smaller sample was from the less variable population, and over-liberal if the smaller sample was from the more variable population. The cendif coverage probability was usually closer to the advertized level, if the smaller sample was not very small. However, if the sample sizes were 5 and 40, and the two populations were equally variable, then the Lehmann coverage probability was close to its advertised level, while the cendif coverage probability was over-liberal. The cendif confidence interval, in its present form, is therefore robust both to non-Normality and to unequal variablity, but may be less robust to the possibility that the smaller sample size is very small. Possibilities for improvement are discussed.

Suggested Citation

  • Roger Newson, 2007. "Robust confidence intervals for Hodges–Lehmann median difference," United Kingdom Stata Users' Group Meetings 2007 01, Stata Users Group.
  • Handle: RePEc:boc:usug07:01
    as

    Download full text from publisher

    File URL: http://repec.org/usug2007/newson_ohp1.pdf
    File Function: presentation slides
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Roger Newson, 2006. "Confidence intervals for rank statistics: Percentile slopes, differences, and ratios," Stata Journal, StataCorp LP, vol. 6(4), pages 497-520, December.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Ichiro Kunitsugu & Masayuki Okuda & Shinichi Sugiyama & Norikazu Yoshitake & Yukio Tanizawa & Satoshi Sasaki & Tatsuya Hobara, 2012. "Meat intake frequency and anemia in Japanese children and adolescents," Nursing & Health Sciences, John Wiley & Sons, vol. 14(2), pages 197-203, June.
    2. Roger Newson, 2016. "The role of Somers's D in propensity modeling," United Kingdom Stata Users' Group Meetings 2016 01, Stata Users Group.
    3. Orth, Walter, 2012. "The predictive accuracy of credit ratings: Measurement and statistical inference," International Journal of Forecasting, Elsevier, vol. 28(1), pages 288-296.
    4. Marszalec, Daniel, 2018. "Fear not the simplicity - An experimental analysis of auctions for complements," Journal of Economic Behavior & Organization, Elsevier, vol. 152(C), pages 81-97.
    5. Jeannette Brosig‐Koch & Heike Hennig‐Schmidt & Nadja Kairies‐Schwarz & Daniel Wiesen, 2017. "The Effects of Introducing Mixed Payment Systems for Physicians: Experimental Evidence," Health Economics, John Wiley & Sons, Ltd., vol. 26(2), pages 243-262, February.
    6. Navarro, Noemí & Veszteg, Róbert F., 2020. "On the empirical validity of axioms in unstructured bargaining," Games and Economic Behavior, Elsevier, vol. 121(C), pages 117-145.
    7. Roger Newson, 2019. "Bland–Altman plots, rank parameters, and calibration ridit splines," London Stata Conference 2019 01, Stata Users Group.
    8. Dirk Tasche, 2009. "Estimating discriminatory power and PD curves when the number of defaults is small," Papers 0905.3928, arXiv.org, revised Mar 2010.
    9. Roger Newson, 2014. "Easy-to-use packages for estimating rank and spline parameters," United Kingdom Stata Users' Group Meetings 2014 01, Stata Users Group.
    10. Hanna Karolina Szymborska, 2018. "Household wealth structures and position in the income distribution – econometric analysis for the USA, 1989-2013," Working Papers PKWP1806, Post Keynesian Economics Society (PKES).
    11. Szymborska, Hanna Karolina, 2019. "Wealth structures and income distribution of US households before and after the Great Recession," Structural Change and Economic Dynamics, Elsevier, vol. 51(C), pages 168-185.
    12. Ahdesmäki Miika & Lancashire Lee & Proutski Vitali & Wilson Claire & Davison Timothy S. & Harkin D. Paul & Kennedy Richard D., 2013. "Model selection for prognostic time-to-event gene signature discovery with applications in early breast cancer data," Statistical Applications in Genetics and Molecular Biology, De Gruyter, vol. 12(5), pages 619-635, October.
    13. Roger Newson, 2015. "Somers' D: A common currency for associations," United Kingdom Stata Users' Group Meetings 2015 01, Stata Users Group.
    14. Löschel, Andreas & Sturm, Bodo & Uehleke, Reinhard, 2017. "Revealed preferences for voluntary climate change mitigation when the purely individual perspective is relaxed – evidence from a framed field experiment," Journal of Behavioral and Experimental Economics (formerly The Journal of Socio-Economics), Elsevier, vol. 67(C), pages 149-160.
    15. Alena MINÃ ROVÃ, 2012. "Evaluation Of Dependence Of Occurrence Of Risk Events In Logistics On Risk Factors By Means Of Somers' D Coefficient," Journal of Applied Economic Sciences, Spiru Haret University, Faculty of Financial Management and Accounting Craiova, vol. 7(1(19)/ Sp), pages 73-86.
    16. Stephen F Weng & Jenna Reps & Joe Kai & Jonathan M Garibaldi & Nadeem Qureshi, 2017. "Can machine-learning improve cardiovascular risk prediction using routine clinical data?," PLOS ONE, Public Library of Science, vol. 12(4), pages 1-14, April.
    17. Cogneau, Philippe & Hübner, Georges, 2015. "The prediction of fund failure through performance diagnostics," Journal of Banking & Finance, Elsevier, vol. 50(C), pages 224-241.
    18. Diego Rios-Zertuche & Jose Cuchilla & Paola Zúñiga-Brenes & Bernardo Hernández & Patricia Jara & Ali H. Mokdad & Emma Iriarte, 2017. "Alcohol abuse and other factors associated with risky sexual behaviors among adolescent students from the poorest areas in Costa Rica," International Journal of Public Health, Springer;Swiss School of Public Health (SSPH+), vol. 62(2), pages 271-282, March.
    19. Marco Lollobrigida & Livia Ottolenghi & Denise Corridore & Gianluca Pingitore & Cecilia Damiano & Giorgio Serafini & Alberto De Biase, 2022. "Student Evaluation of Distance Learning during the COVID-19 Pandemic: A Cross-Sectional Survey on Medical, Dental, and Healthcare Students at Sapienza University of Rome," IJERPH, MDPI, vol. 19(16), pages 1-10, August.
    20. Daniel Marszalec, 2016. "Auctions For Complements –An Experimental Analysis," CIRJE F-Series CIRJE-F-1018, CIRJE, Faculty of Economics, University of Tokyo.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:usug07:01. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F Baum (email available below). General contact details of provider: https://edirc.repec.org/data/stataea.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.