Question 11.92

9. How does one calculate the degrees of freedom for the test for independence?