High Profile Call Girls Coimbatore Saanvi☎️ 8250192130 Independent Escort Se...
SIGN TEST SLIDE.ppt
1. Statistical Methods for Non parametric
Continuous Variables
Yilma ch, ass.t prof bio HI
2/28/2023 1
2. Objective
At the end of the presentation you will able to:
list non parametric statistical tests
describe sign test
test hypothess using sign test
2/28/2023 2
4. Introduction
• When your data do not satisfy the distributional
assumptions required by parametric procedures,
other statistical methods are needed that is Non
parametric statistics.
2/28/2023 4
5. • The distributional assumptions required for non- parametric
procedures are usually less specific than those required for
parametric procedures.
• Many non-parametric tests have less power than the
corresponding parametric tests.
• Because power should never be given up unless absolutely
necessary, non-parametric methods should not be used when
parametric methods are appropriate.
2/28/2023 5
6. Cont...
• The sign test is an example of one of these non parametric
tests.
• Do not rush to use the NPT
• If your outcome variable is not normal, try to normalize using
log or ln.
• If it is still not normalized, go to non parametric tests
2/28/2023 6
7. What is the Sign Test?
The sign test compares the sizes of two groups.
It is a non-parametric or “distribution-free” test, which means
the test doesn’t assume the data comes from a particular
distribution, like the normal distribution.
The sign test is an alternative to a one-sample t-test.
It can also be used for ordered (ranked) categorical data.
2/28/2023 7
8. Cont...
The sign test is used to test the null hypothesis that the median
of a distribution is equal to some hypothetical ( standard) value.
It can be used;
in place of a one-sample t-test
in place of a paired t-test or
for ordered categorical data where a numerical scale is
inappropriate but where it is possible to rank the observations.
2/28/2023 8
9. Assumptions of sign test
1. data is non normally distributed
2. a random sample of independent measurement for a
population with unknown median
3. the variable of interest is continuous or ranked
ordinal scale of measurement
4. the one sample test handle non symmetric data set
(skewed either to right or left)
2/28/2023 9
10. procedure
• Let A and B represent two materials or treatments to be
compared.
• Let x and y represent measurements made on A and B.
• Let the number of pairs of observations be n.
• The n pairs of observations and their differences may be
denoted by:
(X1, Y1), (X2, y2), .....,(Xn, Yn) and
X1 - Y1, X2 - Y2 .............. Xn - Yn.
2/28/2023 10
12. Cont...
• The sign test is based on the signs of these differences.
• The letter Bs will be used to denote the number of times the
maximum sign has occurred.
• If some of the differences are zero, we can cancel the
observation.
• BS= Max{N+,N-}
2/28/2023 12
13. • As an example of the type of data for which the sign test is
appropriate, we may consider the following yields of two
hybrid lines of corn obtained from several different
experiments.
• In this example N =28
N+ = 7
N- = 21
BS = Max{N+,N-}
BS= 21
2/28/2023 13
14. • we can find the critical values and p-values of Bs from the sign
test table.
• if the p-value is less than significance level or alpha value,
reject the null hypothesis
P<α → reject the null hypothesis which states no median
difference.
2/28/2023 14
19. Step 5. Interpretation
0.021< 0.05 ( 0.021 is obtained from sign test table at n=16, BS
13 and alpha 0.05, which is 0.021
P<α → reject the null hypothesis
There for the drivers injury is not equal to the passengers injury.
2/28/2023 19
20. Exercise
The table below shows the hours of relief provided by two
analgesic drugs in 12 patients suffering from arthritis. Is there
any evidence that one drug provides longer relief than the other?
Test at 95% confidence interval.
2/28/2023 20
21. Solution
In this case our null hypothesis is that the median difference is
zero.
Our actual differences (Drug B - Drug A) are: +1.5, +2.1,
+0.3,−0.2, +2.6,−0.1, +1.8,−0.6, +1.5, +2.0, +2.3, +12.4
Our actual median difference is 1.65 hours.
N+ = 9, N− = 3, n = 12,
Bs = max(N−, N+) = 9
Our p-value at n=12, Bs= 9 and alpha =0.05
(from tables) is p = 0.146
We would conclude that there is no evidence for a difference
between the two treatments on relief of pain.
2/28/2023 21
22. Sign test with large sample size
large sample size = N > 30 we use Z test.
Z= (X ± 0.5) -N/2
0.5 *√N
where : X= no of fewer sign
N = total pair of sample
we can use Z= (X + 0.5) -N/2 if N/2 >X
0.5* √N
2/28/2023 22
23. find the p value of Z from the table then:
P <α → reject the null hypothesis
2/28/2023 23
24. Example
A researcher has taken 50 pair of students for the study and
obtained the data.
can you conclude from the data by using sign test that the
training of the two groups differ significantly?
Given no of
+ve sign = 37
-ve sign =12
of 0 =1
solution
HO= the training of one group=training of the other.
N= 37+12 = 49
N/2= 49/2=24.5
2/28/2023 24
25. x= 12
As 24.5 > 12 we use the formula
Z= (X + 0.5) -N/2
1/2 √N
= (12 +0.5)- 24.5
1/2 √49 Z= -3.43
3.43 > 1.96 or -3.43 < -1.96
• p-value of Z= -3.43 = 0.0003.
• Since the hypothesis is two sided, multiply 0.0003*2= 0.0006
0.0006 < 0.05 and 0.01
so, reject the null hypothesis at 5% as well as at 1%.
• Hence, training of two groups differ significantly.
2/28/2023 25