We are independent & ad-supported. We may earn a commission for purchases made through our links.
Advertiser Disclosure
Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.
How We Make Money
We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently of our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.
Science

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

What Is a Nonparametric Test?

By Matt Hubbard
Updated: May 21, 2024
Views: 36,906
Share

A nonparametric test is a type of statistical hypothesis testing that doesn’t assume a normal distribution. For this reason, nonparametric tests are sometimes referred to as distribution-free. A nonparametric test is more robust than a standard test, generally requires smaller samples, is less likely to be affected by outlying observations and can be applied with fewer assumptions. On the other hand, nonparametric tests can be less efficient than their standard counterparts, particularly if the population truly is normally distributed. Nonparametric testing is particularly effective for questions dealing with frequencies and proportions.

Standard hypothesis testing compares a sample from a test population to a sample from a control population to determine whether the test population is statistically comparable to the control population. If the difference between the sample parameter or parameters — usually the mean and/or variance — is large enough, then the test sample can be judged to be distinct from the control population. Such parametric testing requires that the parameters come from a normal distribution.

It has been mathematically proven that a sample size of 30 or more will behave approximately like a normal distribution, so this requirement is generally assumed. If the assumption isn’t justified, however, the results of the testing might not be valid. Nonparametric testing avoids this assumption.

Instead, nonparametric hypothesis testing commonly examines data either by categorizing it or by ordering it. If the sample and control populations are the same and if the data was gathered correctly, any differences between their categories or rankings are strictly the results of chance. If the probability that those differences could have occurred by random chance, also called a P-value, is less than a chosen significant probability, usually either 5 percent or 1 percent, then the tester rejects the hypothesis that the sample and control populations are the same and concludes that they are different.

One common nonparametric test is a Chi-square test, used to compare observed frequencies or proportions. When only one set of frequencies is examined, this is often called a goodness-of-fit test and is used to determine whether the observed frequencies fit within the range that would be expected. For example, a goodness-of-fit test could be used to determine whether a roulette table had been rigged by comparing table results to the results that probability theory predicts or to determine whether a headache medicine was effective by comparing the proportion of people whose headache improved on the medicine to the proportion of people whose headache improved when they took a placebo. If two frequencies are examined, then the Chi-square nonparametric test can be used to test for correlation or independence between factors. Political pollsters often look for correlation between social, economic or demographic factors and political beliefs, such as seeing whether there is a correlation between a person’s education and whether he or she approves of how an elected official is performing.

Another nonparametric test is the Wilcoxon rank sum test, which generally is used in the same situations as standard parametric hypothesis testing. Instead of examining the mean of each sample, however, the Wilcoxon test examines the rank of each value if the two samples are ordered from least to greatest. If the two samples are the same, each group should be scattered evenly through the ranking. If one group is clustered at the lower or upper end of the ranking, this indicates that the two groups are different.

For example, suppose that someone wanted to determine whether animated movies are longer or shorter than non-animated movies. For a standard test, he or she would determine the average duration for a sample of animated movies and for a sample of live-action movies and compare the difference to the variance of the samples. For the Wilcoxon nonparametric test, the movie times are put in order from least to greatest, and the ranks of the animated movie times are summed.

The person could calculate the probability that the rank sum would be that size or smaller by determining the number of possible orderings with a given rank sum and the total number of possible ordering, a calculation that is simple given enough brute force calculation strength. With two small samples of six movies each, there are already 924 possible arrangements of rankings, a number that rapidly grows much bigger as movies are added. Alternatively, there are published tables that give probabilities corresponding to given rank sums for given sample sizes. These can be found in statistics texts or online.

Nonparametric testing is a growing field. It can be applied in any field in which more conventional statistics have been used as well. Applications are particularly common in the social sciences and medicine, however, particularly when normal distribution cannot apply.

Share
All The Science is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.
Discussion Comments
Share
https://www.allthescience.org/what-is-a-nonparametric-test.htm
Copy this link
All The Science, in your inbox

Our latest articles, guides, and more, delivered daily.

All The Science, in your inbox

Our latest articles, guides, and more, delivered daily.