Professional Documents
Culture Documents
Advanced Statistics
Prepared by:
Jonna Karla C. Bien
Quinn McNemar (1900–1986)
US psychologist & statistician
TEST 2
+ - ROW
TOTAL
+ A B A+B
TEST 1 - C D C+D
COLUMN A +C B +D N
TOTAL
Assumethattherowtotalisequaltothecolumntotal .
TEST 2
+ - ROW
TOTAL
(A + B) = (A + C) + A B A+B
(C + D) = (B + D) TEST 1
- C D C+D
COLUMN A +C B +D N
TOTAL
x=
2 ( B – C) 2
B +C
Where:
x2 = chi- square test
B = the first cell of the 2nd column in a 2 X 2 table
C = the first cell of the 2nd row in a 2 x 2 table
x= 2 ( B – C) 2
B +C
ALTERNATIVE HYPOTHESIS
McNemar’s test assumes that the total number
of rows is NOT equal to the total number of
columns.
The mean of paired samples are NOT equal.
SIGNIFICANCE TESTING
In McNemar’s test, significance is tested
by using the chi-square table.
COLUMN 79 21 100
TOTAL
Problem:
Is there a significant difference in the use of seat
belt before and after involvement in a car accident?
Hypotheses:
HO : There is no significant difference in the use of
seat belt before and after involvement in a car
accident.
= ( 6 – 19)2
( 6 + 19)
= ( - 13)2
25
= 169
25
x2 = 6.76
Conclusion:
Since the computed x2 is 6.76, larger than
the tabular value of 3.841 at .05 level of
significance with 1 degree of freedom, the null
hypothesis is rejected in favour of the research
hypothesis
x=2 ( B – C) 2
B +C
= (8 - 40)2
(8 + 40)
= (- 32)2
48
= 1024
48
X2 = 21.333
Conclusion:
Wth a 0.05 significance level and degrees of
freedom given by df = 1. The test statistic of x2 =
21.333 exceeds the critical value of x2 = 3.841, reject
the null hypothesis.
It appears that the two creams produce different
results. Analyzing the frequencies of 8 and 40, more
feet were cured with Pedacream than Fungacream.