Degrees of freedom
By Jude Wallis · Published
Degrees of freedom count the independent pieces of information left after estimation, and they select which t or chi-square curve a statistic follows.
Degrees of freedom, written , count the independent pieces of information a statistic has left after some are spent estimating other quantities. Make that concrete. Four measurements with a sample mean of 10 must total 40. Pick the first three freely, say 7, 12, and 6, and the fourth is forced: . Three values were free, so .
The count matters because it selects the curve that sets the multiplier. A one-sample interval at 95% uses at degrees of freedom: 2.262 when , 2.064 when , and 1.984 when . Same level, three multipliers, differing only in how much information carries. All approach from above without arriving.
is not a universal rule. A paired uses one fewer than the number of pairs, not of measurements. A chi-square test on an by table uses , which depends on the shape of the table, not the sample size: a 2 by 3 table carries 2 degrees of freedom whether the counts total 60 or 6000.
Two habits cause most of the damage. One is reading the table at row : a sample of 20 has 19 df and , while row 20 gives 2.086. The other is expecting a whole number: Welch's two-sample with , , , and returns . Nothing is counted there: it is the curve that best approximates a statistic whose distribution is not , and that density exists for any positive .
The Welch value is penned in by , so 23.40 must land between 11 and 25, a fast data entry check. A calculator reports the decimal; a printed table forces a whole row, so round down. is 2.069 at 23 df against 2.067 at 23.40, so the interval comes out slightly wide, not falsely narrow.
Where this comes up
- What are degrees of freedom?Guide
- AP Stats 4.7: Confidence Interval for Two MeansAP topic
- How to read t-test, z, chi-square calculator outputGuide
- AP Stats 3.15: Carrying Out a Chi-Square TestAP topic
- Chi-square practice problemsPractice
- Chi-square two-way table practice problemsPractice
- t-test practice problems (one-sample and paired)Practice
- Two-sample t test practice problems and intervalsPractice
38 pages on the site use this term.
More confidence intervals terms, or browse the full statistics glossary.