DeclareDesign Community

Use GLM models for commarobust

Are there ways to allow commarobust to accept glm objects? Are there alternative packages that would help me achieve this?

estimatr only supports linear models right now.

With non-linear models (/ non-identity link functions), “robust” is a bit more nuanced - Thomas Lumley had a nice r-help post a long time ago that discussed this:

https://stat.ethz.ch/pipermail/r-help/2006-July/108689.html

The whole thread is helpful btw.

You can use sandwich for robust SEs and interpret them carefully, or robustbase for robust estimates, which is more intuitive imo.

1 Like