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
axAxesSubplot

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_nint

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