I am in the process of building a strong understanding of what I believe is the conceptual basis of linear regression.
One thing that I am struggling with is what is the relationship between regression slope and aspects like variation of the variables, p-value and the overall utility of a given model.
As I intuitively understand, the steepness of the slope affects the p-value. That is, if the linear regression is either vertical or horizontal, the p-value will be 1, as this reflects lack of relationship between variables.
But then again, what about situations in which the regression line only slightly deviates either from the vertical or horizontal shape (like the red lines on the graph)? I would assume that now the significance and the overall utility of the model depends more on the residuals. Theoretically, if all residuals equalled zero, we would have a perfect correlation. Does it mean, that unless the regression line is perfectly horizontal or vertical, the slope on its own cannot say anything about the strength and significance of the model?
Thank you in advance for answering my questions and correcting my thinking where it is needed.
