statsmodels/statsmodels — pull request #2022 by kshedden (2014-10-02 19:21:31+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.