[R] Using robust std.errors instead of OLS std.errors in regression

Dunken mikkel_rimhoff at hotmail.com
Fri May 25 11:30:14 CEST 2012


I have to make a robust resettest. I have already calculated the robust
standard errors but I don't know how to use these in my resettest. I have
made the following code:

labmodel2 <- lm(formula = log(L) ~ log(W) + log(K) + log(Y), data=labordat)

hc.cv <- hccm(labmodel2, "hc0")
hc.cv
robusttest <- coeftest(labmodel2, hc.cv)
robusttest

But how to use the robust standard errors in a RESET test?

Thank you :D

--
View this message in context: http://r.789695.n4.nabble.com/Using-robust-std-errors-instead-of-OLS-std-errors-in-regression-tp4631293.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list