one of the coefficients in an OLS regression turned out zero and its Standard error is zero as well. Would you be suspicious of this result? Is there any possible explanation for this?
-
A poor choice of units of measurement for that variable can cause this. Are you certain the estimate and its SE are *exactly* zero? – whuber Oct 31 '20 at 15:47
2 Answers
It's very likely it was caused by perfect fit.
It's not wrong actually, see How to derive the standard error of linear regression coefficient.
The standard errors depend on the residual sum of squares (RSS): if it's zero they tend to zero as well. Other packages/software may give you approximately zero standard errors, but analytically they should be exactly zero.

- 15,262
- 5
- 60
- 127
if a $\beta_i=0$ and its $\sigma(\beta_i)=0$, it means the linear regression model wasn't able to find a linear relationship between the dependent variable $y$ and independent variable $x_i$.
This doesn't mean there is no relationship between $y$ and $x_i$. There could instead be a non-linear, or other, interaction going on between them since linear regression will only be able to model linear problems.
The inclusion of other covariates $x_{\neg i}$ within the multiple regression formula might also have an effect on the coefficient estimate assigned to $x_i$, so try stage-wise regression by gradually including or omitting variables and see how parameters might change.

- 3,009
- 8
- 31
-
Thank you! But βi=0 is sufficient to drive to the same conclusion. Does σ(βi)=0 give us more insight into the problem? I had interpreted it as there is no linear relationship between the two variables and the standard deviation of βi=0 is zero (no random error). – Barbaletta Sep 14 '20 at 07:54
-
1If there's a case that gives $\beta_i=0$ and its $\sigma(\beta_i)=0$, and a completely different problem that gives $\beta_i=0$ whose $\sigma(\beta_i)=0.1103$, then the second case is a coefficient showing some activity, while the first you just need to stop wondering about since there is nothing to inspect about two $0$s. The second case is very rare anyway – develarist Sep 17 '20 at 13:59