Stata Help

Wilcoxon Signed Rank Test

When performing a nonparamteric paired sample t-test in Stata, you are comparing two groups on a dependent variable that violates the standard assumptions for a t-test. Then the syntax is simply signrank [depvarforgroup1]=[depvarforgroup2]

For example, if I wanted to compare performance after eating an apple to performance after eating a fruit roll-up, but my data isn't normal, then the command look like signrank apple=fruitrollup and the output is pretty straightforward. In this case, perhaps due to my ten-person sample (I had funding problems) there is no significant difference between performance for the fruit team and the fruit roll-up team - this is indicated by Prob > |z| = 0.1621 in a two-tailed test.


Back to Nonparametric Tests

Back to Home