statsmodels.genmod.generalized_estimating_equations.GEEResults.plot_partial_residuals

GEEResults.plot_partial_residuals(focus_exog, ax=None)[source]

创建一个偏残差图,或“成分加残差”图,用于拟合的回归模型。

Parameters:
focus_exogint or str

exog的列索引或变量名称,指示在回归中要评估其角色的变量。

ax: Axes

Matplotlib Axes 实例

Returns:
Figure

一个matplotlib图形实例。


Last update: Oct 16, 2024