# Give the degrees of freedom for the chi-square test based on the two-way table. begin{array}{|c|c|c|} hline &text{Yes}&text{No}&text{Total} hline text

Two-way tables
Give the degrees of freedom for the chi-square test based on the two-way table.
$$\begin{array}{|c|c|c|} \hline &\text{Yes}&\text{No}&\text{Total}\\ \hline \text{Group 1} & 56&44&100\\ \hline \text{Group 2}&132&68&200\\ \hline \text{Group 3}&72&28&100\\ \hline \text{Total}&260&140&400\\ \hline \end{array}$$
Degrees of freedom=?

2021-02-24

Step 1

Given $$r=\text{No. of rows}=3$$
$$c=\text{No. of columns}=2$$

Step 2

$$\text{Degrees of freedom}=(r-1)\times(c-1)$$
$$dF=(3-1)\cdot(2-1)$$
$$d\cdot F=2$$