# Wilcoxon Test - Explained

What is the Wilcoxon Test?

# What is the Wilcoxon Test?

The Wilcoxon test is a nonparametric test used in statistics for comparing two paired sets. This test is either called the Signed Rank test or the Rank Sum test. The main objective of this test is to ascertain and analyze the difference between both pair sets The Wilcoxon Rank Sum test enables in testing the null hypothesis that the similar continuous distribution lies between two populations. This test is based on the assumption that the data should be from the similar population, and is paired, it should be quantified on minimum of one interval scale, and it should be selected on a random and independent basis. The Wilcoxon Signed Rank test lies on the assumption that data lies in the degrees and hints of the differences between two paired groups. In case, the population information does not follow the pattern of a normal distribution, one can use this test instead of the t-test.

Back to: RESEARCH, ANALYSIS, & DECISION SCIENCE
Back to: RESEARCH, ANALYSIS, & DECISION SCIENCE

## How is the Wilcoxon Test Used?

In 1945, an American statistician named Frank Wilcoxon devised The Rank Sum and Signed Rank tests, and further published them in his research paper. Wilcoxon test created premises for hypothesis testing involving nonparametric statistics, which were applied to population data. This data was given ranks, but was not assigned any numbers, for example, movie reviews or customer satisfaction. Equations can easily define parametric distributions, but not nonparametric distribution. Nonparametric distribution, as the name suggests, doesnt have any parameters. Here are the questions that the Wilcoxon test provides answers for:

1. Do test scores vary from 5th grade to 5th grade considering the same set of students?
2. Will a specific drug affect health if given to the same individuals?

The model is based on the assumption that the information is derived from two dependent populations which follow the similar individual or stock every time and everywhere. This data is said to be continuous in nature. Due to the non-parametric nature of the test, the analysis doesnt ask for a specific probability distribution of the variable that is dependent in nature. Key points

1. The Wilcoxon test is either referred to as the Signed Rank test or the Rank Sum test. This nonparametric test involves comparison of two paired groups.
2. Due to the nonparametric nature of the t-test of paired student, the Signed Rank can be considered as a substitute for the t-test where there is no normal distribution in the population data.
3. The model revolves around the belief that the data originates from two similar or dependent populations, pursuing the similar person or share in terms of location or time.

## How to calculate a Wilcoxon test statistic?

Here are the steps that need to be followed for calculating the Wilcoxon test statistics:

1. Considering every item for a sample set of n items, calculate the difference score Di by subtracting two quantities.
2. No need to worry if the difference comes to be in positives or negatives. Ascertain a set of n perfect differences.
3. Exclude the values with a difference of zero. Consider a set of n absolute difference value without any zero values, where n n, and n is the actual size of the sample.
4. Now, give ranks Ri from 1 to n to the differences calculated in such a way that the smallest difference value receives rank 1, and the biggest one receives rank n. In case, there are at least two values with equivalent differences, they will receive the average rank based on the ranks they would have got if there were no ties present.
5. Based on the previous calculation if the difference was positive or negative, reallocated the positive or negative sign to each of the n ranks.
6. The summation of the positive ranks will provide the value of W, that is the Wilcoxon test statistic.