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

Gökhan Sever gokhansever at gmail.com
Fri Nov 26 14:18:41 EST 2010


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.

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



More information about the SciPy-Dev mailing list