I would like to ask why the degree of freedom is 6 in the Chi-square test?
The answer key wrote: Degree of freedom = number of levels in factor - 1
However, per core reading, the degree of freedom should be the difference of all levels of all factors between the 2 models (one with and one without Marital Status rating factor), which in this case is just the number of levels of Marital Status (7). Or do we not count the Unknown level?
Thank you in advance
The answer key wrote: Degree of freedom = number of levels in factor - 1
However, per core reading, the degree of freedom should be the difference of all levels of all factors between the 2 models (one with and one without Marital Status rating factor), which in this case is just the number of levels of Marital Status (7). Or do we not count the Unknown level?
Thank you in advance