質問

I know that in eviews, after you run a regression you can select the option to use the White Correction for heteroskedasticity. However, I cannot find any way to use the White correction in R. Eviews is unnecessarily difficult when it comes to importing data (pretty much the worst GUI ever) and so I have decided to not use eviews ever again.

Is there any way to use the White correction for heteroskedasticity in R? Thanks in advance for any help.

役に立ちましたか?

解決

library(car)
library(lmtest)
coeftest(mymodel, vcov= hccm(mymodel))
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top