The degrees of freedom (df) for a goodness-of-fit test are determined by the number of categories minus the number of parameters estimated from the data, minus 1. In the simplest case, where no parameters are estimated from the data, the formula simplifies to \(df
Show more…