I have created a linear regression model for a set of data. I have calculated the slope and intercept of the line.
If given a theoretical slope for this kind of data, how can I test to see if the slope that I calculated and the theoretical slope are significantly different?
For example, the slope I calculated is 0.02 and the theoretical slope is 0.01, are they significantly different? How can I tell? I am working in R.
confint
function to get the confidence interval of the observed slope, $\endgroup$