R robust se

From ECLR
Revision as of 21:48, 5 April 2015 by Rb (talk | contribs)
Jump to: navigation, search

Here we briefly discuss how to estimate robust standard errors for linear regression models

Which package to use

There are a number of pieces of code available to facilitate this task. Here I recommend to use the "sandwich" package. Which has the most comprehensive robust standard error options I am aware of.

Heteroskedasticity robust standard errors

I assume that you know that the presence of heteroskedastic standard errors renders OLS estimators of linear regression models inefficient (although they remain unbiased). More seriously, however, they also imply that the usual standard errors that are computed for your coefficient estimates (e.g.)

Autocorrelation and heteroskedasticity robust standard errors

Footnotes