linearmodels.panel.model.FirstDifferenceOLS.reformat_clusters¶
- FirstDifferenceOLS.reformat_clusters(clusters: ndarray[Any, dtype[int64]] | PanelData | ndarray | DataArray | DataFrame | Series) PanelData ¶
Reformat cluster variables
- Parameters:¶
- Returns:¶
Original data with matching axis and observation dropped where missing in the model data.
- Return type:¶
Notes
This is exposed for testing and is not normally needed for estimation