Sign Test
Sign Test
While using statistical methods, the data used must be formatted and hence different
assumptions are made on them. This assumption is only good when we are doing a clinical
test. While dealing with raw data, it will be important to apply a suitable transformation. Here
comes the problem that every transformed data may not satisfy the assumption made and
hence using the traditional parametric method of analysis becomes inappropriate. For this
reason. The sign test is defined under the heading of non parametric test, which can only be
used if the observed differences between any two conditions are significant. It tests the null
hypothesis and checks if two groups are equally sized. It means by the use of the sign test, it
will be possible to determine when variable is greater than the other.
The sign test is used to test the null hypothesis that two groups are of equal size. Many of the
hypothesis tests require normal distributed populations or some tests require that population
variances be equal.statisticians have developed hypothesis tests that are 'distribution free'.
Such tests are called nonparametric tests. One of the easiest nonparametric tests to perform is
the sign test.
1. One Sample: Here, the hypothesis is formed so that positive(+) and negative(-) signs
are the values of random variables which will have equal size.
2. Paired Sample: This test also known as alternative to the paired sample t-test. Here,
the signs are in paired sample tests or in the form of before-after study. Here, null
hypothesis will be set up so that the sign are of equal size or their population means
are equal to the sample mean.
A nonparametric paired data are taken in the same logic as the parametric paired t-test. If the
distribution of the difference are non normal and cant be normalized by any transformation,
then a 1 sample nonparametric test will be appropriate. Here, there are mainly two choices:
Step 1:
Consider a distribution. Then, calculate its + as well as sign. Plug in a positive (+) sign for
those values which has greater than the mean value and put a negative () sign for those value
which has less than the mean value. Plug in zero when the value becomes equal to the mean
value.
Step 2:
Denote n as the total number of signs excluding zero sign and the s by the number of less
frequency signs. If the sample is very small, use the formula to get the critical value at 5% of
the significance level.
Step 3:
K = n12
- 0.98n
Z = Snpnp(1p)
Step 4:
If the sample size is very large, S is compared with the Z value. For the rest of the calculation
it will be very helpful to use the SPSS software.
Critical values for Sign Test are given in the table shown below. Left values of s give P(S < s)
and right values of s give P(S > s).
Sign Test Example
Back to Top
Solved Example
Question: A test is done before and after training. About 15 people were tested and it has
been seen that the datas are not normally distributed. We need to find whether the training has
improved the test scores.
Solution:
Step 1:
Using above table
Total number of people = 15
Number of positive sign = 8
Number of negative sign = 2
The binomial test tests the probability of k when its greater than or equal to 8 has positive
changes,
Here the probability p = 12
for positive and
Step 2:
Now lets take the Hypothesis:
H0: There are less than or equal positive as negative changes (p 0.5)
H1: There are more than positive as negative changes (p > 0.5)
Step 3:
The probability for the events k equal or greater 8 is given by using the binomial formula
ni=k(ni) pi qn - 1
= 0.05467
Step 4:
Lets check the one sided distribution
The significance level taken is 5 percent. So the probability is greater than the 5 percent
significance level. Hence H1 is discarded. The training doesnt show any improvement in test.