Question: The eastern factory had 28 accidents last year, out of a workforce of 673. The western factory had 31 accidents during this time period, out of 1,306 workers.
a. Which factory had more accidents? Which factory had a greater accident rate?
b. Is there a significant difference between the accident rates of these two factories? Justify your answer by reporting the chi-squared statistic and its degrees of freedom.