statsmodels.genmod.generalized_estimating_equations.GEEResults.plot_partial_residuals

GEEResults.plot_partial_residuals(focus_exog, ax=None)[source]

Create a partial residual, or ‘component plus residual’ plot for a fited regression model.

Parameters:
  • focus_exog (int or string) – The column index of exog, or variable name, indicating the variable whose role in the regression is to be assessed.
  • ax (Axes instance) – Matplotlib Axes instance
Returns:

fig – A matplotlib figure instance.

Return type:

matplotlib Figure