Lab 04 - Simple Difference, A Not A, Simple Paired Comparison Test
Lab 04 - Simple Difference, A Not A, Simple Paired Comparison Test
E = Expected number
O = Observed number
E1 = [(18+16) x 40]/80 = 17
E2 = [(22+24) x 40]/80 = 23
X2 = (18-17)
2
+ (16-17)
2
+ (22-23)
2
+ (24-23)
2
= 0.2046
17 23
Calculation of simple difference test result using McNemar
Subject received same samples answered
Subject received
different samples
answered
Same Different
Same 4 12
Different 14 10
X
2
= (|C
1
-C
2
| - 1)
2
C
1
+C
2
C
1
= Number of subject that answered both test correctly
C
2
= Number of subject that answered both test incorrectly
X
2
= ( |14-12| - 1)
2
= 0.0385
14+12
Calculation of simple paired comparison test
Chi-square
Equation used:
( ) ( )
|
|
.
|
\
|
+
|
|
.
|
\
|
=
2
2
2 2
1
2
1 1 2
E
0.5 E O
E
0.5 E O
_
O = Observed number = 27 (number of right answers) and 13 (number of wrong
answers)
E = Expected number = 40/2 = 20
= 4.925
Z test
Equation used:
npq
np x 5 . 0
= Z
x = number of correct answers = 27 panelists choose Diamond
n = total panelists = 40
p = probability of correct answer =
q = probability of wrong answer =
Z =
(
Z = 2.055