'Fixed effects in statsmodels.api.ols

Is there a way to add fixed effects in statsmodels.api.ols or statsmodels.formula.api.ols without creating dummy variables manually?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source