Small mistakes in docu

11 views
Skip to first unread message

Thomas Haslwanter

unread,
Oct 26, 2012, 11:59:16 AM10/26/12
to pystat...@googlegroups.com
Hi,
I am working through some of the examples in the docu, and have found a few mistakes:
i) docu for "abline_plot":
  in http://statsmodels.sourceforge.net/devel/generated/statsmodels.graphics.regressionplots.abline_plot.html#statsmodels.graphics.regressionplots.abline_plot
  the code refers to "ax.scatter" - which does not exist, or is not available.
ii) in statsmodels.graphics.gofplots" the function ProbPlot does not exist.

Thanks for the work you put in!
thomas

Paul Hobson

unread,
Oct 26, 2012, 12:11:00 PM10/26/12
to pystat...@googlegroups.com
Thomas,

What version of statsmodels are you using? The documentation you
posted is for the development version. I believe those features were
added in statsmodels v0.5

-paul

Thomas Haslwanter

unread,
Oct 26, 2012, 1:27:17 PM10/26/12
to pystat...@googlegroups.com
Thanks for the quick reply!
Yep, I am using the 0.5 version, as I could not get the ANOVA-example working with the 0.4 version.
I thought I'd mention it anyway, to provide some feedback on the docu.

thomas

Skipper Seabold

unread,
Oct 26, 2012, 2:40:43 PM10/26/12
to pystat...@googlegroups.com
On Fri, Oct 26, 2012 at 11:59 AM, Thomas Haslwanter
<thomas.h...@gmail.com> wrote:
> Hi,
> I am working through some of the examples in the docu, and have found a few
> mistakes:
> i) docu for "abline_plot":
> in
> http://statsmodels.sourceforge.net/devel/generated/statsmodels.graphics.regressionplots.abline_plot.html#statsmodels.graphics.regressionplots.abline_plot
> the code refers to "ax.scatter" - which does not exist, or is not
> available.

Should be

ax = fig.axes[0]

> ii) in statsmodels.graphics.gofplots" the function ProbPlot does not exist.
>

This should exist in 0.5 pre-release.

[~/]
[7]: from statsmodels.graphics.gofplots import ProbPlot



> Thanks for the work you put in!

Thanks for reporting.

Skipper
Reply all
Reply to author
Forward
0 new messages