STEP-BY-STEP TECHNOLOGY GUIDE: Wilcoxon Rank Sum Test

TI-83/84

Neither the TI-83/84 calculators nor Excel has a built-in function for the Wilcoxon rank sum test.

MINITAB

  • Step 1 Enter the values of the first variable in C1 and the values of the second in C2.
  • Step 2 Click Stat > Nonparametrics > Mann-Whitney….
  • Step 3 For First Sample, type C1. For Second Sample, type C2. Select the Not Equal form of the Alternative hypothesis, and click OK.

14-34

SPSS

  • Step 1 Enter the activity data in the first column and a numeric code for group (for example, 0 for control and 1 for patients) in the second column. Under the Variable View tab, name your variables Activity and Group, set Decimals at 0 for Group, and set the Measure for Activity to Scale and the Measure for Group to Nominal.
  • Step 2 Click Analyze > Nonparametric Tests > Independent Samples….
  • Step 3 In the Fields tab, move Activity to Test Fields and Group to Groups.
  • Step 4 In the Settings tab, select Customize tests and check Mann-Whitney (2 samples). Click Run.
  • Step 5 Double-click on the output to open the Model Viewer window, and observe the results on the right-hand side, shown in Figure 17 of Example 15.

CRUNCHIT!

  • Step 1 Click File, highlight Load from Larose, Discostat3e > Chapter 14, and select Example 14.
  • Step 2 Click Statistics, highlight Non-parametrics, and select Mann-Whitney U.
  • Step 3 For Sample 1, select Women. For Sample 2, select Men.
  • Step 4 For Location shift under null hypothesis, input 0. For Alternative, choose Less than. Click Calculate.