Degrees of freedom: what it means and how to read it

In the report: df — The degrees of freedom of the statistic next to it: how much independent information the estimate rests on.

How to read it

Degrees of freedom — roughly, how much data is left to estimate the spread once the means are estimated. You do not interpret them; you report them next to the statistic, for example t(45) = 2.10.

In plain words

A student measured the height of 50 pupils and wrote a short report. Her teacher asked her to add the degrees of freedom, and she found 49. This number says roughly how much information is left over once the average has been worked out. She does not have to judge it or explain it. She only writes it in its usual place next to the main result, so readers can see how much information stood behind it. With 10 pupils the same report would show 9, and readers would know the result rests on much less.

Example

The cell with df is selected in each report; point at a label to see its note.

  • — the sample data (50 rows) the examples use
  • — =STATS_LINEAR(Data!A1:T51, "y", "x1,x2", 0)
  • — two steps; pass is coded 0 and 1 =STATS_LOGISTIC(Data!A1:T51, "pass", "x1,x2|x", 0, 50, 1e-8)
  • — =STATS_PEARSON(Data!A1:T51, "x,y,x1",0.95,"two-sided")

Where you see it

Get it in your sheet

One formula in a cell gives the whole report, Degrees of freedom included. ALS Stats is a free add-on for Google Sheets™.

Install ALS Stats from Google Workspace Marketplace (opens in a new tab)