Skip to content

Instantly share code, notes, and snippets.

@tony91782
Created May 3, 2011 22:13
mkt.lm3 = lm(y~x1+x2+x3, data=mkt.df)
mkt.rob1 = robust(mkt.lm3) ## Default is "hc3"
mkt.rob2 = robust(mkt.lm3, type = "hc1") ## But, can specify other corrections.
mkt.rob3 = robust(mkt.lm3, type = "hc2")
setRobustDefault()
toLatex(mtable(mkt.lm3, mkt.rob1, mkt.rob2, mkt.rob3))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment