Transcription of Syntax - Stata
{{id}} {{{paragraph}}}
Equality tests on unmatched dataSyntaxMenuDescriptionOptions for ranksumOptions for medianRemarks and examplesStored resultsMethods and formulasReferencesAlso seeSyntaxWilcoxon rank-sum testranksumvarname[if] [in], by(groupvar)[porder]Nonparametric equality-of-medians testmedianvarname[if] [in] [weight], by(groupvar)[medianoptions]ranksumoption sDescriptionMain by(groupvar)grouping variableporderprobability that variable for first group is larger than variable forsecond groupmedianoptionsDescriptionMain by(groupvar)grouping variableexactperform Fisher s exact testmedianties(below)assign values equal to the median to below groupmedianties(above)assign values equal to the median to above groupmedianties(drop)drop values equal to the median from the analysismedianties(split)split values equal to the median equally between the two groups by(groupvar)is allowed withranksumandmedian; see [D] are allowed withmedian; see[U] >Nonparametric analysis> tests of hypotheses> wilcoxon rank-sum testmedianStatistics>Nonparametric analysis> tests of hypotheses>K-sample equality-of-medians test12 ranksum Equality tests on unmatched dataDescriptionranksumtests the hypothesis that two independent samples (that is,unmatcheddata) are frompopulations with the same distribution by using the wilcoxon rank-sum test, which is also known asthe Mann Whitney two-sample statistic ( wilcoxon 1945; Mann and Whitney 1947).
test the null hypothesis that X 1 ˘X 2. We have a sample of size n 1 from X 1 and another of size n 2 from X 2. The data are then ranked without regard to the sample to which they belong. If the data are tied, averaged ranks are used. Wilcoxon’s test statistic (1945) is the sum of the ranks for the observations in the first sample: T = Xn 1 ...
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}