Skip to main content
Tweeted twitter.com/StackStats/status/1277708441855971330
added 116 characters in body
Source Link
rnorouzian
  • 4.1k
  • 4
  • 28
  • 59

I often hear (e.g., p. 99 of this book) that in a regression model (of any type), it is bad for slope(s) and intercept to be (highly) correlated. In R, this correlation is gotten by cov2cor(vcov(fitted_model)).

My understanding is that after fitting a regression model, we get a single estimate for each slope and the intercept from our model.

Question: So, what correlations are we talking about given some few estimates at hand? And how high degrees of such correlations could affect our inference about our estimated slopes and intercept?

I highly appreciate an R demonstration.

I often hear that in a regression model (of any type), it is bad for slope(s) and intercept to be (highly) correlated. In R, this correlation is gotten by cov2cor(vcov(fitted_model)).

My understanding is that after fitting a regression model, we get a single estimate for each slope and the intercept from our model.

Question: So, what correlations are we talking about given some few estimates at hand? And how high degrees of such correlations could affect our inference about our estimated slopes and intercept?

I highly appreciate an R demonstration.

I often hear (e.g., p. 99 of this book) that in a regression model (of any type), it is bad for slope(s) and intercept to be (highly) correlated. In R, this correlation is gotten by cov2cor(vcov(fitted_model)).

My understanding is that after fitting a regression model, we get a single estimate for each slope and the intercept from our model.

Question: So, what correlations are we talking about given some few estimates at hand? And how high degrees of such correlations could affect our inference about our estimated slopes and intercept?

I highly appreciate an R demonstration.

Source Link
rnorouzian
  • 4.1k
  • 4
  • 28
  • 59

What is meant by correlation between intercept and slope(s)

I often hear that in a regression model (of any type), it is bad for slope(s) and intercept to be (highly) correlated. In R, this correlation is gotten by cov2cor(vcov(fitted_model)).

My understanding is that after fitting a regression model, we get a single estimate for each slope and the intercept from our model.

Question: So, what correlations are we talking about given some few estimates at hand? And how high degrees of such correlations could affect our inference about our estimated slopes and intercept?

I highly appreciate an R demonstration.