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 testmedia
For the Wilcoxon rank-sum test, there are two independent random variables, X 1 and X 2, and we 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.
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}