library(car)
library(lmtest)
coeftest(mymodel, vcov= hccm(mymodel))
How to use White Correction for Heteroskedasticity in R [closed]
-
30-06-2023 - |
Question
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.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow