IDEAS home Printed from https://ideas.repec.org/a/tsj/stataj/y13y2013i2p337-343.html
   My bibliography  Save this article

Exact Wilcoxon signed-rank and Wilcoxon Mann–Whitney ranksum tests

Author

Listed:
  • Tammy Harris

    (University of South Carolina)

  • James W. Hardin

    (University of South Carolina)

Abstract

We present new Stata commands for carrying out exact Wilcoxon one-sample and two-sample comparisons of the median. Nonparametric tests are often used in clinical trials, in which it is not uncommon to have small samples. In such situations, researchers are accustomed to making inferences by using exact statistics. The ranksum and signrank commands in Stata provide only asymptotic results, which assume normality. Because large-sample results are unacceptable in many clinical trials studies, these researchers must use other software packages. To address this, we have developed new commands for Stata that provide exact statistics in small samples. Additionally, when samples are large, we provide results based on the Student’s t distribution that outperform those based on the normal distribution. Copyright 2013 by StataCorp LP.

Suggested Citation

  • Tammy Harris & James W. Hardin, 2013. "Exact Wilcoxon signed-rank and Wilcoxon Mann–Whitney ranksum tests," Stata Journal, StataCorp LP, vol. 13(2), pages 337-343, June.
  • Handle: RePEc:tsj:stataj:y:13:y:2013:i:2:p:337-343
    Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj13-2/st0297/
    as

    Download full text from publisher

    File URL: http://www.stata-journal.com/article.html?article=st0297
    File Function: link to article purchase
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Niranjan Nagarajan & Uri Keich, 2009. "Reliability and efficiency of algorithms for computing the significance of the Mann–Whitney test," Computational Statistics, Springer, vol. 24(4), pages 605-622, December.
    2. Requena, F. & Ciudad, N. Martin, 2006. "A major improvement to the Network Algorithm for Fisher's Exact Test in 2xc contingency tables," Computational Statistics & Data Analysis, Elsevier, vol. 51(2), pages 490-498, November.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Miller, Luis & Montero, Maria & Vanberg, Christoph, 2018. "Legislative bargaining with heterogeneous disagreement values: Theory and experiments," Games and Economic Behavior, Elsevier, vol. 107(C), pages 60-92.
    2. Julia Nitsche & Theresa S. Busse & Jan P. Ehlers, 2023. "Teaching Digital Medicine in a Virtual Classroom: Impacts on Student Mindset and Competencies," IJERPH, MDPI, vol. 20(3), pages 1-17, January.
    3. Talukdar, Debabrata, 2018. "Cost of being a slum dweller in Nairobi: Living under dismal conditions but still paying a housing rent premium," World Development, Elsevier, vol. 109(C), pages 42-56.
    4. Utz Weitzel & Christoph Huber & Jürgen Huber & Michael Kirchler & Florian Lindner & Julia Rose & Lauren Cohen, 2020. "Bubbles and Financial Professionals [Margin, short sell, and lotteries in experimental asset markets]," The Review of Financial Studies, Society for Financial Studies, vol. 33(6), pages 2659-2696.
    5. Gnangnon, Sèna Kimm, 2021. "WTO membership, the membership duration and the utilization of non-reciprocal trade preferences offered by the QUAD Countries," EconStor Preprints 247265, ZBW - Leibniz Information Centre for Economics.
    6. Andreas Lange & Claudia Schwirplies, 2021. "Bargaining With Charitable Promises: True Preferences and Strategic Behavior," CESifo Working Paper Series 9129, CESifo.
    7. Ewa Lombard & Rajna N. GibsonBrandon, 2024. "Do Wealth Managers Understand Codes of Conduct and Their Ethical Dilemmas? Lessons from an Online Survey," Journal of Business Ethics, Springer, vol. 189(3), pages 553-572, January.
    8. Wichers, Hendrika Geesje, 2023. "Targeted intervention using network characteristics: An experiment," Journal of Behavioral and Experimental Economics (formerly The Journal of Socio-Economics), Elsevier, vol. 103(C).
    9. Rohit Singh & Santosh Singh Rathore, 2022. "Linear and non-linear bayesian regression methods for software fault prediction," International Journal of System Assurance Engineering and Management, Springer;The Society for Reliability, Engineering Quality and Operations Management (SREQOM),India, and Division of Operation and Maintenance, Lulea University of Technology, Sweden, vol. 13(4), pages 1864-1884, August.
    10. Isaac Levi Henderson & Mark Avis & Wai Hong Kan Tsui & Thanh Ngo & Andrew Gilbey, 2023. "Compound Brands and the Multi-Creation of Brand Associations: Evidence from Airports and Shopping Malls," Sustainability, MDPI, vol. 15(2), pages 1-21, January.
    11. Ahmad Bash, 2020. "International Evidence of COVID-19 and Stock Market Returns: An Event Study Analysis," International Journal of Economics and Financial Issues, Econjournals, vol. 10(4), pages 34-38.

    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. Silvia Mariela Méndez-Prado & Ariel Flores Ulloa, 2022. "The Impact Analysis of Psychological Issues and Pandemic-Related Variables on Ecuadorian University Students during COVID-19," Sustainability, MDPI, vol. 14(20), pages 1-23, October.
    2. Hämäläinen, Wilhelmiina, 2016. "New upper bounds for tight and fast approximation of Fisher’s exact test in dependency rule mining," Computational Statistics & Data Analysis, Elsevier, vol. 93(C), pages 469-482.

    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:tsj:stataj:y:13:y:2013:i:2:p:337-343. 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 or Lisa Gilmore (email available below). General contact details of provider: http://www.stata-journal.com/ .

    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.