statsmodels.graphics.regressionplots.PartRegressPlotResult#

class statsmodels.graphics.regressionplots.PartRegressPlotResult(fig, coords)[source]#

Result of plot_partregress when use_namedtuple=True.

Parameters:
figFigure

If ax is None, the created figure. Otherwise the figure to which ax is connected.

coordstuple of ndarray or None

The (x_coords, y_coords) of the plotted points, i.e. the residuals of exog_i and endog after partialling out exog_others. These are computed to draw the plot, so they are always reported. None only when there were no other regressors to partial out, in which case no residuals exist.

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Properties

coords

Alias for field number 1

fig

Alias for field number 0