Quick, simple question.
I read that DF = n-2 when doing "a linear regression t-test" with a continuous independent variable. (Testing that the slope is 0). https://stattrek.com/regression/slope-test.aspx
I want to manually run through this with a single binary independent variable.
Is DF still n-2?
BTW, the "linear regression t-test" proceeds with t = b1/SE, which are provided from lm() - using R.