3.5.3.3.13.1.13. statsmodels.genmod.generalized_estimating_equations.OrdinalGEEResults.plot_distribution¶
-
OrdinalGEEResults.
plot_distribution
(ax=None, exog_values=None)[source]¶ Plot the fitted probabilities of endog in an ordinal model, for specifed values of the predictors.
Parameters: ax : Matplotlib axes instance
An axes on which to draw the graph. If None, new figure and axes objects are created
exog_values : array-like
A list of dictionaries, with each dictionary mapping variable names to values at which the variable is held fixed. The values P(endog=y | exog) are plotted for all possible values of y, at the given exog value. Variables not included in a dictionary are held fixed at the mean value.