Open
Description
Sometimes, we might want to fit a model with fixed effects, but without projecting them out. I.e. a model as
pf.feols("Y ~ C(f1) + C(f2)", data = data)
In this case, it would be nice if users could use the sparse solver in scipy.sparse.linalg.lsqr
.
We would have to add this option to the "solver" function argument of pf.feols()
and propagate this to
pyfixest/pyfixest/estimation/feols_.py
Line 427 in 77e7080
Note that this will only speed up the model fit, but not necessarily the computation of standard errors (which are not so easily adapted to a sparse solver).