What are the independence-test degrees of freedom for a complete 3×4 contingency table?
StatisticsLevel: FoundationBinary and categorical inference
What are the independence-test degrees of freedom for a complete 3×4 contingency table?
Hints
- Both marginal constraints reduce freedom.
- Use (rows−1)(columns−1).
Answer
(3−1)(4−1)=6. Fixed row and column totals constrain the freely varying cell counts; structural zeros require separate treatment.
Source and licence: SciPy — contingency tables · BSD-3-Clause · answer: Quantoros editorial