test a claim and yates law effects

A survey conducted in a small town yielded the results shown in the table.

men women

Plan to vote

105 87

Do not plan to vote

312 246

i) Test the claim that the intention to vote in the next presidential election is independent of the gender of the person being surveyed. Use a 0.05 significance level.ii) Using Yates' correction, replace ∑(O−E)2Ewith ∑(∣∣O−E∣∣−0.5)2E and repeat the test. What effect does Yates' correction have on the value of the test statistic?