Robust Standard Errors: Poisson Panel Regression (pglm, lmtest)
问题 As a non-statistician I reached my limit here: I try to fit a Poisson model for panel data (using pglm ) and I want to calculate robust standard errors (using lmtest ). My code currently looks like this: #poisson model (panel with year fixed effects): poisson_model <- pglm(y ~ a + b + c + factor(year), data = regression_data, model = "pooling", family = poisson, index = c("ID", "year")) #robust standard errors: robust_SE_model <- coeftest(poisson_model, vcov. = vcovHC(poisson_model, type =