Freedom

Degrees of freedom in chi-square goodness of fit
Degrees of freedom for a chi-square goodness-of-fit test are equal to the number of groups minus 1. How do you find the degree of freedom for goodness...