Closed sonalichowdhry closed 1 year ago
As far as I know fixest::wald()
only conducts tests of (joint) coefficient nullity.
For other linear (and non-linear) hypothesis tests, I highly recommend the marginaleffects
package which is compatible with fixest
.
library(fixest)
library(marginaleffects)
reg <- feols(mpg ~ wt + am, data = mtcars)
marginaleffects::hypotheses(reg, "wt = am") # test coef_wt = coef_am
Excellent suggestion! Thanks @kennchua.
Is there a way to run Wald tests on the equality of estimated coefficients?