Question: why do you use degrees of freedom?
Answer: The degrees of freedom in a statistical calculation represent how many values involved in a calculation have the freedom to vary. The degrees of freedom can be calculated to help ensure the statistical validity of chi-square tests, t-tests and even the more advanced f-tests.