statsmodels/statsmodels — pull request #2023 by kshedden (2014-10-02 19:27:51+00:00)
Title: Covariate effect plot

This PR adds a plotting method to the base results class. It should be useful for any regression model that has endog and exog and that implements the predict method. The plot displays the fitted mean response against the value of one "focus" covariate, holding the other "control" covariates fixed at given values. There are two different ways to specify how the "control" covariates are fixed.