Robust standard errors

#1
Hey, does anyone recommend a good, concise source with clear examples of robust standard errors, and the code snippet for an R function?; any basic model as an example is Ok initially cheers
 
#2
I'd always just use Stata for this when possible since it's so simple. If you do have to use R though, you'd need to specify that the variance-covariance matrix be HC1 (which is one used by Stata). If mod is your model, use coeftest(mod, vcov = vcovHC(mod, type="HC1")). There are also statistical consultants out there who can assist you with this if you need code to be written, for example Ong Quantitative Consulting (http://www.ongqc.com) where I work.
 
Last edited: