While applying chi-square test to a contingency table of 4 rows and 4 columns, the degrees of freedom would be:
- 1
- 4
- 9 (Correct Answer)
- 8
Explanation
Correct Answer :- C. 9
[Ref. Simple Biostatistics by Indrayan & Indrayan, 1/e p171 and Methods in Biostatistics by Mahajan, 7/e p159;Park 23/e p852]
• Degree of freedom: Is the no. of observations in a dataset that can freely vary once the parameters have been estimated
– Used in Chi-square test and t-test
– In a contingency table,
Degree of freedom, dof = (c – 1) (r – 1)
where c = no. of columns and r = no. of rows
Contingency table
2 × 2 table
3 × 3 table
4 × 4 table
5 × 5 table
3 × 4 table
10 × 20 table
Degree of freedom (dof)
(2 – 1) (2 – 1) = 1
(3 – 1) (3 – 1) = 4
(4 – 1) (4 – 1) = 9
(5 – 1) (5 – 1) = 16
(3 – 1) (4 – 1) = 6
(10 – 1) (20 – 1) = 171