statsmodels.genmod.generalized_estimating_equations.GEEResults.plot_isotropic_dependence

GEEResults.plot_isotropic_dependence(ax=None, xpoints=10, min_n=50)[source]

Create a plot of the pairwise products of within-group residuals against the corresponding time differences. This plot can be used to assess the possible form of an isotropic covariance structure.

Parameters:

ax : Matplotlib axes instance

An axes on which to draw the graph. If None, new figure and axes objects are created

xpoints : scalar or array-like

If scalar, the number of points equally spaced points on the time difference axis used to define bins for calculating local means. If an array, the specific points that define the bins.

min_n : integer

The minimum sample size in a bin for the mean residual product to be included on the plot.