I've noticed a lot of discussions about panel data stuff here and elsewhere, but wasn't able to figure out if there is a currently implemented basic fixed effects regression anywhere. I just want to run a completely trivial FE OLS regression on several hundred groups of times series observations in an unbalanced panel. Is the best current way just to manually add the fixed effects dummies to the endogenous variable set or is there something that will automate the generation of the dummies and report "correct" statistics?
pip install linearmodels
It contains a fully tested 2 way FE model that can easily handle hundreds of thousands of entities.
Git at
https://github.com/bashtage/linearmodels
Thanks, I'll give it a spin.One minor gripe (which is more about the state of econometrics than the library per se) is that there are lots of things called something similar to "linear models" making it hard for a new user to know where to find things: For example, from the statsmodels start page: