I want to test a constrained vs an unconstrained model.
Estimates are obtained with fixest (I cannot use the build-in function "wald" in my case).
Here is an example:
library("fixest")
data(airquality)
est_nc <- feols(Ozone ~ Solar.R + Wind + poly(Temp, 3), airquality)
est_c <- feols(Ozone ~ Solar.R + Wind, airquality)
To test the difference, I would usually use anova() :
anova(est_c, est_nc)
But anova() doesn't work with fixest objects. Do you know any other function that could replace it for fixest objects please ?