Might anyone have insights into how -regress- produces confidence intervals for its estimated parameters? For at least some other estimation methods the lower and upper terminals of the 95% CI are given by
But that is evidently not how -regress- produces its estimated confidence intervals, even when a vcov estimator like robust is used, as seen in the following example.
which yields the following results
I was unable to find anything in the Methods and Formulas section of the documentation that described the specifics (though quite possibly missed something).
It appears as if -regress- is appealing to a t-distribution instead of a normal distribution even though one might argue that vce(robust) should be appealing to a normal distribution as it does for glm as seen in the example.
Thanks for any insights you might pass along.
Code:
beta_hat+se(beta_hat)*invnormal(.025) and beta_hat+se(beta_hat)*invnormal(.975)
Code:
sysuse auto glm price mpg, vce(robust) link(I) noheader local gb1=e(b)[1,1] local gs1=sqrt(e(V)[1,1]) local gcl1=`gb1'+`gs1'*invnormal(.025) local gcu1=`gb1'+`gs1'*invnormal(.975) di `gs1' di `gcl1' di `gcu1' reg price mpg, vce(robust) noheader local rb1=e(b)[1,1] local rs1=sqrt(e(V)[1,1]) local rcl1=`rb1'+`rs1'*invnormal(.025) local rcu1=`rb1'+`rs1'*invnormal(.975) di `rs1' di `rcl1' di `rcu1'
Code:
. glm price mpg, vce(robust) link(I) noheader
Iteration 0: log pseudolikelihood = -686.53958
------------------------------------------------------------------------------
| Robust
price | Coefficient std. err. z P>|z| [95% conf. interval]
-------------+----------------------------------------------------------------
mpg | -238.8943 57.08197 -4.19 0.000 -350.773 -127.0157
_cons | 11253.06 1366.933 8.23 0.000 8573.922 13932.2
------------------------------------------------------------------------------
. local gb1=e(b)[1,1]
. local gs1=sqrt(e(V)[1,1])
. local gcl1=`gb1'+`gs1'*invnormal(.025)
. local gcu1=`gb1'+`gs1'*invnormal(.975)
. di `gs1'
57.081973
. di `gcl1'
-350.77296
. di `gcu1'
-127.01573
.
. reg price mpg, vce(robust) noheader
------------------------------------------------------------------------------
| Robust
price | Coefficient std. err. t P>|t| [95% conf. interval]
-------------+----------------------------------------------------------------
mpg | -238.8943 57.47701 -4.16 0.000 -353.4727 -124.316
_cons | 11253.06 1376.393 8.18 0.000 8509.272 13996.85
------------------------------------------------------------------------------
. local rb1=e(b)[1,1]
. local rs1=sqrt(e(V)[1,1])
. local rcl1=`rb1'+`rs1'*invnormal(.025)
. local rcu1=`rb1'+`rs1'*invnormal(.975)
. di `rs1'
57.477009
. di `rcl1'
-351.54721
. di `rcu1'
-126.24148
It appears as if -regress- is appealing to a t-distribution instead of a normal distribution even though one might argue that vce(robust) should be appealing to a normal distribution as it does for glm as seen in the example.
Thanks for any insights you might pass along.

Comment