EconPapers    
Economics at your fingertips  
 

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

Tammy Harris () and James W. Hardin ()
Additional contact information
Tammy Harris: University of South Carolina
James W. Hardin: University of South Carolina

Stata Journal, 2013, vol. 13, issue 2, 337-343

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.

Keywords: ranksumex; signrankex; exact distributions; nonparametric tests; median; Wilcoxon matched-pairs signed-rank test; Wilcoxon ranksum test (search for similar items in EconPapers)
Date: 2013
Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj13-2/st0297/
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (16)

Downloads: (external link)
http://www.stata-journal.com/article.html?article=st0297 link to article purchase

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:tsj:stataj:y:13:y:2013:i:2:p:337-343

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

Access Statistics for this article

Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins

More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().

 
Page updated 2025-03-20
Handle: RePEc:tsj:stataj:y:13:y:2013:i:2:p:337-343