I am trying to applying a sandwich estimator to a Poisson regression with QMLE in R, where I used the glmrob function. The code I am using looks like:
model <- glmrob(y ~ x + x1 + x2, family = poisson, data = data, method= "Mqle", control = glmrobMqle.control(tcc= 1.2))
Ordinarily, I could apply the robust estimator using the sandwich package as:
coeftest(model, vcov = sandwich)
But it is not compatible with the robustbase package. Is there another way to do this but inputting the manual values for the MLE coefficients obtained in the original model?
Thanks!