statsmodels.genmod.generalized_estimating_equations.GEEResults.plot_isotropic_dependence

method

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
axMatplotlib axes instance

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

xpointsscalar 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_ninteger

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