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
Hi We have added 7 levels however if we know 6 levels we know the 7th level because we know the total. We therefore a difference of 6 degrees of freedom.