1

I am currently testing if an OLS slope is statistically different from a known, expected slope. I think I would need to do a one-sampled t-test but I am not exactly sure how. Specifically, is the degree of freedom also N-1 if I have N data points? Thanks for any insight!

utobi
  • 11,726
Le Wang
  • 11

1 Answers1

0

The degrees of freedom to use are $n-p$ (where $n$ is the number of data points, and $p$ the number of parameters), it relates to the distribution of the residuals which is used to estimate the distribution of the errors.

There are several questions that deal with this.

Also note that the problem of 'the distribution of the slope' might be more complicated when you consider