Overview
Degree of Freedom is a fundamental concept that represents the number of independent values or pieces of information that can vary in a statistical analysis without violating any constraints.
It is typically calculated by
where
- n is the sample size
- p is the parameters being estimated(number of restrictions)
for example, in t-tests. the degree of freedom is one less than the sample size, as one parameter(the mean) is estimated from the data
Deeper?
The number of independent pieces of information used to calculate th statistic is called the degrees of freedom1
When represent how values are related to each other, it would introduce some retrictionsk and so that not all the pieces of information can vary freely
Degrees of freedom change the shape of the null distribution.
In t-distribution
when , the distribution is leptokurtic(fat-tailed)
as df increases, the distribution become narrower(more and more similiar to normal distribution)
when , t distribution is almost the same as the standard normal distribution
In Chi-square distribution
Chi-square test 👈 TODO
when , the probability distribution is shaped like a backwards “J”
when , it will become hump-shaped(驼峰状), with the peak of the hump located at , and the hump is right-skewed
when , chi-square is approximated by a normal distribution
Reference
Some text are written by AI