linearmodels.panel.data.PanelData.first_difference

PanelData.first_difference()[source]

Compute first differences of variables

Returns:
PanelData

Differenced values

Return type:

PanelData