SOCIAL STATISTICS
Managing Data, Conducting Analyses, Presenting Results Fifth Edition
This tells you the row of the t-table to use when you’re finding the statistical significance of a slope. It is the sample size minus 2.
Degrees of freedom for slope inference