<s>
In	O
statistics	O
,	O
Yates	B-General_Concept
's	I-General_Concept
correction	I-General_Concept
for	I-General_Concept
continuity	I-General_Concept
(	O
or	O
Yates	O
's	O
chi-squared	O
test	O
)	O
is	O
used	O
in	O
certain	O
situations	O
when	O
testing	O
for	O
independence	O
in	O
a	O
contingency	B-Application
table	I-Application
.	O
</s>
<s>
Using	O
the	O
chi-squared	O
distribution	O
to	O
interpret	O
Pearson	B-General_Concept
's	I-General_Concept
chi-squared	I-General_Concept
statistic	I-General_Concept
requires	O
one	O
to	O
assume	O
that	O
the	O
discrete	O
probability	O
of	O
observed	O
binomial	O
frequencies	O
in	O
the	O
table	O
can	O
be	O
approximated	O
by	O
the	O
continuous	O
chi-squared	O
distribution	O
.	O
</s>
<s>
To	O
reduce	O
the	O
error	O
in	O
approximation	O
,	O
Frank	O
Yates	O
,	O
an	O
English	O
statistician	O
,	O
suggested	O
a	O
correction	O
for	O
continuity	O
that	O
adjusts	O
the	O
formula	O
for	O
Pearson	B-General_Concept
's	I-General_Concept
chi-squared	I-General_Concept
test	I-General_Concept
by	O
subtracting	O
0.5	O
from	O
the	O
difference	O
between	O
each	O
observed	O
value	O
and	O
its	O
expected	O
value	O
in	O
a	O
22	O
contingency	B-Application
table	I-Application
.	O
</s>
<s>
This	O
reduces	O
the	O
chi-squared	O
value	O
obtained	O
and	O
thus	O
increases	O
its	O
p-value	B-General_Concept
.	O
</s>
<s>
This	O
can	O
result	O
in	O
an	O
overly	O
conservative	O
result	O
that	O
fails	O
to	O
reject	O
the	O
null	B-General_Concept
hypothesis	I-General_Concept
when	O
it	O
should	O
(	O
a	O
type	O
II	O
error	O
)	O
.	O
</s>
<s>
The	O
following	O
is	O
Yates	O
's	O
corrected	O
version	O
of	O
Pearson	B-General_Concept
's	I-General_Concept
chi-squared	I-General_Concept
statistics	I-General_Concept
:	O
</s>
