Sign test is a non-parametric test for a difference in central location (median) between two paired samples.
The requirements of the test are:
Data in existing Excel worksheets can be used and should be arranged in a List dataset layout. The dataset must contain two ordinal or continuous scale variables.
When entering new data we recommend using New Dataset to create a new 2 variables dataset ready for data entry.
To start the test:
Excel 97, 2000, 2002 & 2003:
Select any cell in the range containing the dataset to analyse, then click Analyse on the Analyse-it toolbar, click Compare Pairs then click Sign.
The report shows the number of observations analysed, and, if applicable, how many missing values were excluded. Since the test uses the sign of the difference between paired observations, the number of positive, negative and zero differences are shown.
The Sign statistic and hypothesis test are shown. The p-value is the probability of rejecting the null hypothesis, that the samples have the same median, when it is in fact true. A significant p-value implies that the two samples have different medians.
METHOD An exact p-value is calculated using the Binomial distribution (see  or ).
If both samples are continuous the median difference and confidence interval can be calculated to quantify the difference between the samples in terms that can be practically evaluated.
To calculate a confidence interval:
The median of the differences and confidence interval are shown.
METHOD The median difference and confidence interval are calculated using the Hodges-Lehman method (see ).