Question: A data sample is sorted into a 3 × 2 contingency table based on two factors, one of which has three levels and the other of which has two levels.

a. Find the column totals, the row totals, and the grand total, n, of the table.
b. Find the expected number E of observations for each cell based on the assumption that the two factors are independent (that is, just use the formula E = (R × C) / n).
c. Find the value of the chi-square test statistic χ2.
d. Find the number of degrees of freedom of the chi-square test statistic.