How to: Wilcoxon matched pairs test

Print this Topic

The Wilcoxon matched pairs compares two matched groups, without assuming that the distribution of the before-after differences follows a Gaussian distribution. Look elsewhere if you want to perform the paired t test.

Beware: Wilcoxon's name is used on two different tests. The test usually called the Mann-Whitney test is also called the Wilcoxon rank-sum test. It compares two groups of unpaired data.

1. Enter data

From the Welcome (or New Table and graph) dialog, choose the one-way tab, and then a before-after graph.

If you are not ready to enter your own data, choose sample data and choose: t test - Paired.

Enter the data for each group into a separate column, with matched values on the same row. If you leave any missing values, that row will simply be ignored. Optionally, enter row labels to identify the source of the data for each row (i.e. subject's initials).

Stop. If you want to compare three or more groups, use Friedman's test.

2. Choose the Wilcoxon matched pairs test

1.From the data table, click on the toolbar.
2.Choose t tests from the list of column analyses.
3.On the t test dialog, choose the Wilcoxon matched-pairs test.

4.Choose a one- or two-tail P value. If in doubt, choose a two-tail P value.

3. Review the results

Learn more about interpreting the results of Wilcoxon's matched pairs test.

Before accepting the results, review the analysis checklist.

 

4. Polish the graph

A before-after graph shows all the data. This example plots each subject as an arrow to clearly show the direction from 'before' to 'after', but you may prefer to plot just lines, or lines with symbols.
Avoid using a bar graph, since it can only show the mean and SD of each group, and not the individual changes.
To add the asterisks representing significance level copy from the results table and paste onto the graph. This creates a live link, so if you edit or replace the data, the number of asterisks may change (or change to 'ns'). Use the drawing tool to add the line below the asterisks, then right-click and set the arrow heads to "half tick down'.


Copyright (c) 2007 GraphPad Software Inc. All rights reserved.
URL: http://www.graphpad.com/help/Prism5/Prism5Help.html?stat_how_to_do_an_unpaired_t_test_w_3_2.htm