GLMResults.plot_partial_residuals()

statsmodels.genmod.generalized_linear_model.GLMResults.plot_partial_residuals

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

Create a partial residual, or ‘component plus residual’ plot for a fited regression model.

Parameters:

focus_exog : int or string

The column index of exog, or variable name, indicating the variable whose role in the regression is to be assessed.

ax : Axes instance

Matplotlib Axes instance

Returns:

fig : matplotlib Figure

A matplotlib figure instance.

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.genmod.generalized_linear_model.GLMResults.plot_partial_residuals.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部