PanelRegression.plot_residuals#
- PanelRegression.plot_residuals(kind='scatter')[source]#
Plot residual diagnostics.
- Parameters:
kind ({"scatter", "histogram", "qq"}, default="scatter") – Type of residual plot: - “scatter”: Residuals vs fitted values - “histogram”: Distribution of residuals - “qq”: Q-Q plot for normality check
- Returns:
Figure and axes objects
- Return type:
tuple[plt.Figure, plt.Axes]