Multi-way demeaning using only groupby
- Parameters
- groups
PanelData
Arrays with the same size containing group identifiers
- weights
PanelData
Weights to use in the weighted demeaning
- Returns
PanelData
Weighted, demeaned data according to groups
Notes
Iterates until convergence
- Return type
PanelData