[SciPy-Dev] mstats.linregress return values (#1273)

Ralf Gommers ralf.gommers at googlemail.com
Sun Nov 28 03:58:15 EST 2010


On Sat, Nov 27, 2010 at 3:18 AM, Gökhan Sever <gokhansever at gmail.com> wrote:

> On Fri, Nov 26, 2010 at 9:55 AM, Ralf Gommers
> <ralf.gommers at googlemail.com> wrote:
> > Hi,
> >
> > stats.linregress returns five values: slope, intercept, r_value, p_value,
> > sterr.
> > mstats.linregress should return the same according to its docstring (and
> my
> > expectation), but adds a sixth return value: Syy/Sxx, not clear what for.
> We
> > can either document the return value, or just remove it. I'd think the
> > latter makes more sense.
> >
> > Ralf
>
> +1 for the correction.
>
> OK, fixed in r6953.

Ralf



> I had once reported this at
>
> http://article.gmane.org/gmane.comp.python.numeric.general/40651/match=return+values+stats+mstats+linregress
> but haven't gotten any response --probably due to posting at
> numpy-discussion list instead of scipy-dev as you did.
>
>
> --
> Gökhan
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20101128/334cec37/attachment.html>


More information about the SciPy-Dev mailing list