**WILCOXON SIGNED RANK TEST FOR PAIRED SAMPLE**

**Introduction**

Mann Whitney U test assumes the samples to be independent of each other. But, the condition may not hold in reality; as in many cases the sample observations seem to be related pair wise. Wilcoxon signed rank test is used to test the equality of population means for paired sample. The test is an alternative to paired‘t’ test for small samples not assuming the normality condition of the population.

**CASE ANALYSIS- 1**

**PROBLEM**

The HR manager of a company is interested to assess the performance of the employees on the basis of a training programme imparted. Twenty employees were selected and sent for the training. The appraisal scores before and after the training are given in table-1.

The hypotheses for the analysis are:

Null hypothesis-H_{0}: There is no change in appraisal scores after training.

Alternative Hypothesis- H_{1}: There is a change in appraisal scores because of training **(two tailed test)**

**Table-1:** Input Data

**Performing the Analysis with SPSS**

For SPSS Version 11, click on **Analyze ⇒ ****Non parametric tests ⇒ 2-Related Samples. **This will bring up the following SPSS screen dialogue box.

After clicking **2- Related Samples, **this will bring up the SPSS screen dialogue box as shown below.

Select the variable and move them to the **Test Pair(s) list** box.

Now, click on **Wilcoxon **and then OK.

**SPSS Output**

The SPSS outputs of the analysis are depicted in table-2 and table-3.

**Wilcoxon Signed Ranks Test**

**Table-2:** Ranks

* a After < Before*

* b After > Before *

* c Before = After*

**Table-3:** Test Statistics

* a Based on negative ranks.*

* b Wilcoxon Signed Ranks Test*

**DECISION**

Reject the null hypothesis if p-value is (Asymp. Sig. (2-tailed)) ≤ 0.05

**INTERPRETATION**

The Z value is (-0.037) and has a p-value of 0.970. The p-value is more than 0.05 (5% level of significance). Therefore the null hypothesis is accepted and alternative hypothesis is rejected. It is concluded that there is no change in appraisal scores after training program.

**CASE ANALYSIS- 2**

**PROBLEM**

A business school conducted a pre placement training by two experts X and Y. Twenty second year students were explored to each of these training and their average mark were recorded. The problem is to the hypothesis that the trainer X is more effective as compared to Y or not.

The hypotheses for the analysis are:

Null hypothesis-H_{0}: There is no difference in average marks due to two different trainers X and Y.

Alternative Hypothesis- H_{1}: The average marks due to trainer X is more than the average mark due to trainer Y. **(one tailed test)**

**Table-1:** Input Data

**SPSS Output**

**Table-2:** Ranks

* a Y < X*

* b Y > X*

* c X = Y*

**Table-3:** Test Statistics

a Based on positive ranks.

b Wilcoxon Signed Ranks Test

**DECISION**

Reject the null hypothesis if p-value is (Asymp. Sig. (2-tailed)) ≤ 0.05

The p-value for one-tailed test would be (Asymp. Sig. (2-tailed))/2.

**INTERPRETATION**

The Z value is (-1.456) and has a p-value of 0.145/2 = 0.0725. The p-value is more than 0.05 (5% level of significance). Therefore the null hypothesis is accepted and alternative hypothesis is rejected. It is concluded that trainer X is not more effective than trainer Y.

**SPSS command **

- Click on ANALYZE at the SPSS menu bar (in older versions of SPSS, click on STATISTICS instead of ANALYZE).
- Click on NONPARAMETRIC TEST followed by 2-RELATED SAMPLES.
- Select the variables simultaneously and move them to TEST PAIR(S) LIST box.
- Select WILCOXON TEST.
- Click OK of the main dialogue box.