UPI Study › Courses › Marketing Research › Free lessons › Lesson 11.5 Free lesson
Parametric and Non-Parametric Tests in Marketing Research
Marketing Research · Chapter 11: Hypothesis Testing and Inferential StatisticsSection 11.5 · lesson 79 of 10112 min · free to watch
Lesson complete
Earn the 3 college credits for Marketing Research
Enrolling adds a quiz after each lesson, the graded work and the official transcript. Recommended for credit by NCCRS.
Next lesson: Hypothesis Testing with Large Independent Samples →← The Z Test: Formula and ExamplesNext lesson: Hypothesis Testing with Large Independent Samples →
In this lesson
Choose between mean-based tests and rank-based tests for your data.
- Explain what parametric and non-parametric tests are and what each assumes
- Read a Mann-Whitney U test for two independent groups
- Read a Kruskal-Wallis test for three or more groups
- Choose between a parametric test and its rank-based partner before seeing results
Free study notes
Get this lesson's notes by email
The key points and 4 practice questions with answers, in your inbox. One email, free.
One email. Unsubscribe in one click.
Transcript
Everything said in the video, section by section (1,540 words). Read along, or search it.
Opening Question
Two Big Spenders Pull the Average
Eight loyalty-club members, and eight other shoppers, report their weekly snack spend. Six club members spend between $9 and $23. One spends $41. And one spends $60.
Average the club, and the big spenders pull it up, like balloons. So did the club lift spending? Or did one big spender make the average look good? Tests that rely on averages can be fooled, by a lone outlier.
A different family of tests ignores how big the numbers are. It only cares about their order. Who spent the most? Who spent the least? Who sits in the middle? That family is the subject of this lesson. These shoppers belong to Fernway Snacks, a composite case built for teaching.
Learning Goals
Ranks Instead of Raw Values
By the end, you will explain what parametric and non-parametric tests are, and what each assumes. You will read a Mann-Whitney U test, and a Kruskal-Wallis test. And you will choose between a parametric test and its non-parametric partner, for a given dataset.
Two Families
Parametric Tests Assume a Shape
First: two families of tests. A parametric test assumes the data come from a known kind of distribution, usually the bell curve. That distribution is described by parameters, such as a mean and a standard deviation.
You already know three of them. The t-test, the z test, and ANOVA are all parametric. They use the actual numbers: the means, and the spread. They work best on interval or ratio data. Lesson 5.5 explains that these data are roughly bell-shaped. Or they work on samples large enough, that the sample means are bell-shaped anyway, as lesson 9.4 showed.
A non-parametric test makes few assumptions about the shape. Most replace the raw numbers by their ranks: first, second, third, and so on. Then they compare the ranks. So a $60 purchase counts only as "the biggest." It gets no extra pull for being huge.
When Ranks Help
Medians Resist the Outlier Pull
When do they suit the job? Skewed data. Outliers. Small samples. And ordinal answers, such as a one to five satisfaction scale. The chi-square test, from lesson 11.1, works on counts, so it is also called non-parametric.
Here is why Fernway should care. One heavy buyer can move a mean a long way. But not a rank. Look at the members. Their mean spend is 23.7 dollars. But their median is only 16.5. For non-members, the mean is 11.0, and the median is 9.8.
The means are pulled by the $60 shopper. The medians stay near the typical shopper. Ranks avoid the pull, in the same way the median does.
So which family wins? There is a trade-off. When the assumptions hold, the parametric test is slightly more powerful. It spots real differences more often. That means fewer Type II errors. These are misses, covered in lesson 11.1. But when the assumptions do not hold, the parametric answer can mislead.
Test Map
Every Parametric Test Has a Rank Partner
Here is a simple map. First ask: what kind of data? If the numbers are roughly bell-shaped, or the samples fairly large, use a parametric test. If the data are skewed, have outliers, come from small samples, or are only ranks, use a non-parametric test.
And every parametric test has a rank-based partner. Two independent groups: the Welch t-test, or the Mann-Whitney U. Three or more groups: ANOVA, or Kruskal-Wallis. For repeat measurements, use the paired t-test or the Wilcoxon signed-rank test.
Pick the test from the shape and scale of the data. And pick it before looking at any p-values. You will see why, in a moment.
Mann-Whitney Setup
Pooling and Ranking Two Groups
Next: Mann-Whitney U, for two independent groups. The hypotheses, in words. The null: the two groups' spending is spread the same way. So a random member is as likely to spend more than a random non-member, as less.
The alternative: one group tends to spend more. In symbols, the null says the probability that a member outspends a non-member is 0.5. The alternative says that probability is not 0.5. Alpha is 0.05.
Now the steps, in words. Pool all the values. Rank them, from one, the smallest, up to N, the largest. Add up the ranks for one group. Call that R one. Then calculate the test statistic.
U one is the rank sum, R one, minus n one, times n one plus one, divided by two. And U two is n one times n two, minus U one. Here, n one and n two are the group sizes.
Computing U
Rank Sums of 88 and 48
What does this statistic tell you? Its middle value is n one times n two, over two. With eight and eight, that is 32. A U far from 32 means one group holds mostly the high ranks.
Picture all 16 values lined up, from the smallest spend to the largest. The smallest is 6.5 dollars, at rank one. The largest is 60 dollars, at rank 16. Members are gold boxes. They crowd the high ranks, but not completely.
The members' ranks add to 88. The other group's ranks add to 48. So U for members is 88, minus eight times nine, over two. That is 52. And U for non-members is eight times eight, minus 52. That is 12.
Decision
Ranks Reject Where Welch Does Not
Both are far from the middle value of 32. If members and non-members were mixed evenly through the ranks, each U would land near 32. If every member outranked every non-member, the members' U would hit its maximum, eight times eight. Here, it is 52: a strong lean, but not a clean sweep. The test asks one question. Is that gap more than chance would produce?
The decision. The p-value is 0.0379. That is below 0.05. So we reject the null hypothesis. For Fernway, club members tend to spend more than non-members.
Now here is the twist. The Welch t-test, run on the same data, gives p equals 0.0863. It would not reject. Why? It is fooled by the $60 shopper. That one value inflates the spread, so the noise looks bigger, and the gap looks smaller.
Test Choice
Never Shop for a P-Value
The two tests answer slightly different questions: ranks, versus means. So it is crucial to choose before looking. Never shop for the p-value you like. Trying tests until one passes inflates the false-alarm rate, far above the stated alpha.
Kruskal-Wallis
Ranking Spend Across Three Store Types
Next: Kruskal-Wallis, for three or more groups. Kruskal-Wallis is the rank-based partner of ANOVA, from lesson 11.3. In this part, Grace compares weekly spend across three store types. The idea is the same as before. Pool everyone, rank everyone, and see whether one group keeps landing near the top, or near the bottom.
The hypotheses, in words. The null: the spending of the three store types is spread the same way. The alternative: at least one store type tends to spend more, or less.
The steps look familiar. Rank all the values together. Add up the ranks in each group. Then compute H. The formula takes twelve, over N times N plus one. It multiplies that by the sum, over the groups, of each rank sum squared, divided by its group size. Then it subtracts three times N plus one.
Decision
Judging H Against the Chi-Square Curve
Here, N is the total number of shoppers. R j is the rank sum of group j. And n j is that group's size. A big H means the groups differ. How big is big? Judge it against the chi-square curve, with k minus one degrees of freedom, where k is the number of groups.
The decision. H is 11.59, with 2 degrees of freedom. The p-value is 0.0030. That is below 0.05. So we reject the null hypothesis.
For Fernway, weekly spend is not spread the same way, in all three store types. But as with ANOVA, a significant result does not say which pair differs. Post hoc tests, named in lesson 11.3, come next.
Leo asks, "So which test is the right one?" Grace answers. "Look at the dots first. If the spending is lumpy, with a few giants, I use ranks. If it is tidy, the t-test wins. I choose before I look at any p-value."
Common Mistake
Rank Tests Still Have Assumptions
Here is a common mistake. Some people think a non-parametric test needs no assumptions at all. It still assumes independent observations. And Mann-Whitney's simple "tends to be higher" reading is cleanest when the two groups have a similar spread, and a similar shape.
A fun fact. The Mann-Whitney test is named for Henry Mann and Donald Whitney, who published it in 1947. The Kruskal-Wallis test, by William Kruskal and W. Allen Wallis, followed in 1952.
Try it yourself. In the practice file, change the $60 to $30. Then change it to $600. Does the rank test's p-value move? Does the Welch p-value? Ranks care only about order. So one of them should hold still. Whether the top spender pays thirty dollars or six hundred, that shopper is still rank 16. The mean, though, swings wildly with that one number.
Key Takeaways
Numbers Versus Ranks in Brief
Key takeaways. Parametric tests use the numbers, and assume a shape, usually bell-shaped, or large samples. Non-parametric tests use ranks, and suit skewed, small, or ordinal data. Mann-Whitney U partners the two-group t-test. The rank-based partner to ANOVA handles three or more groups. When the data are tidy, parametric tests are slightly more powerful. And always choose the test before seeing the results.
Next, in lesson 11.6, you will use large independent samples, where the z test for means becomes practical. This lesson was made by UPI Study.
About Marketing Research at UPI Study
Marketing Research (Marketing 300) is a self-paced online course of 101 video lessons in 13 chapters, from consumer behavior, segmentation and the research process to qualitative methods, surveys and sampling, measurement, experiments, secondary and syndicated data, descriptive statistics, hypothesis tests, correlation and regression, research ethics and reports. It carries a NCCRS credit recommendation for 3 semester credits.
Every lesson transcript is free on pages like this one, and the videos are free with a free UPI Study account. Enrolling adds a practice quiz after each lesson, the graded work and final exam that earn the credit, lifetime access, and an official transcript on completion. UPI Study has helped over 130,000 students with college credits. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.
Enroll now → Course details Download the syllabus All Business courses Every credit course with PRO →
Why take it here
Why students take Marketing Research with UPI Study
Where the credit goes
Universities that work with NCCRS
Marketing Research carries a NCCRS credit recommendation. These universities work with NCCRS; some are UPI Study's signed partners. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.
Thomas Edison State UniversitySigned partner
University of the PeopleSigned partner
Charter Oak State CollegeSigned partner
Strayer UniversitySigned partner
Columbia Southern UniversitySigned partner
Indiana TechSigned partner
Penn StateWorks with NCCRS
Southern New Hampshire UniversityWorks with NCCRS
SUNYWorks with NCCRS
+many more cooperating universitiesFind my college →Find my college → Not listed? Ask Athena in the corner of this page, or book a 15-minute call.
FAQ
Questions students ask us
About Parametric and Non-Parametric Tests in Marketing Research
What is the difference between parametric and non-parametric tests?
When should you use a Mann-Whitney U test?
What is the non-parametric alternative to ANOVA?
Do non-parametric tests have assumptions?
About the Marketing Research course
How many college credits is Marketing Research?
How much does Marketing Research cost and what is included?
Which universities accept UPI Study credits?
How long does Marketing Research take?
How are the exams done?
How do my credits reach my college?
Ready for the full course? Earn 3 credits in Marketing Research.
101 video lessons, a quiz after each one, and the graded work that earns the credit. Recommended for credit by NCCRS.
Updated
3 credits · NCCRSEnroll →