Locked lesson.
About this lesson
These tests are used when comparing two non-normal data samples. The Levene's Test checks for the variance and the Mann-Whitney checks the median. These tests are both standard tests in Minitab and the lesson will illustrate how to conduct them.
Exercise files
Download this lesson’s related exercise files.
Levene's and Mann-Whitney Exercise.xlsx10.8 KB Levene's and Mann-Whitney Exercise Solution.docx
385.9 KB
Quick reference
Levene's and Mann Whitney Tests
Levene’s Test and Mann-Whitney Test are hypothesis tests used for testing two non-normal data samples. Levene’s Test checks the variance of the data sample and the Mann-Whitney Test checks the medians.
When to use
These tests are used for non-normal data sets. They are appropriate for comparing the two sets to determine if there are statistically significant differences. This helps to identify root cause factors for problems and to demonstrate the impact of implemented solutions.
Instructions
Levene’s Test
Levene’s Test is similar to the F Test or Bartlett’s Test which is used with normal data. The variance, or spread, of two sets of sample data are compared to determine if they are statistically different. The test can be set to check for equality, greater than or less than relationships. The form of the hypothesis test is:
H0: σ12 = σ22
Ha: σ12 ≠ σ22
- Minitab:
- Stat > Basic Statistics > 2 Variances
- Select the columns with the data, the order matters if doing a greater than or less than relationship.
- Use the Option button to change the type of relationship to be tested – default is equal/not equal.
- Use the Option button to ensure that the normality box is not checked (checking the box will result in an F Test instead of Levene’s Test).
Mann-Whitney Test
The Mann-Whitney Test is similar to the Two-Sample T Test used with normal data. The primary difference is that Mann-Whitney uses the median value since it is the preferred measure for central tendency with non-normal data. The test can be to check for equal medians or to check whether one is greater than or less than the other. The form of the hypothesis test is:
H0: median1 – median2 = 0
Ha: median1 > median2 or Ha: median1 < median2
- Minitab:
- Stat > Nonparametrics > Mann Whitney
- Select the format of the data
- Select the columns with the data
- Select the relationship to be tested (equals, greater than, less than)
- The results are shown in the Session Window. Minitab states that “the test is significant at .XXX” This is the P Value for the test.
Hints & tips
- The Levene’s Test provides a box plot that makes the differences between the data samples very clear.
- Check your data for normality first. If normal, use the F Test and Two-Sample T Test, if non-normal, use these tests.
- A small number of data points has a tendency to result in variances and medians with large confidence intervals. This makes it more difficult to identify true differences.
Lesson notes are only available for subscribers.
PMI, PMP, CAPM and PMBOK are registered marks of the Project Management Institute, Inc.