[SciPy-Dev] deprecating stats.oneway and stats.glm

Ralf Gommers ralf.gommers@gmail....
Mon Aug 19 14:36:39 CDT 2013


On Sun, Aug 18, 2013 at 5:11 PM, <josef.pktd@gmail.com> wrote:

> On Sat, Aug 17, 2013 at 2:17 PM, Ralf Gommers <ralf.gommers@gmail.com>
> wrote:
> > Hi all,
> >
> > We're planning to deprecate oneway and glm for the 0.13.0 release:
> > https://github.com/scipy/scipy/pull/2733. `oneway` is broken and
> duplicate
> > with f_oneway. `glm` is a duplicate with ttest_ind, undocumented and
> > untested. Better alternatives exist in statsmodels as well.
> >
> > If you see any problem with these deprecations, please speak up.
>
> another candidate for deprecation and removal
>
> stats.cmedian
>

Agreed, it makes no sense to keep that. I'll add it to the PR.

Ralf


the default looks strange
> I don't see much reason for the binning
> np.median is in all (?) cases better  (and will be a lot more
> efficient in the next numpy release)
> https://github.com/scipy/scipy/issues/580
>
> >>> stats.cmedian(np.arange(10))
> 4.0045045045045047
> >>> stats.cmedian(np.arange(10), numbins=10)
> 4.5
> >>> np.median(np.arange(10))
> 4.5
>
> >>> stats.cmedian(np.arange(11))
> 5.005005005005005
> >>> stats.cmedian(np.arange(11), numbins=11)
> 5.0
> >>> np.median(np.arange(11))
> 5.0
>
> Josef
>
>
> >
> > Regards,
> > Ralf
> >
> >
> > _______________________________________________
> > SciPy-Dev mailing list
> > SciPy-Dev@scipy.org
> > http://mail.scipy.org/mailman/listinfo/scipy-dev
> >
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20130819/0a880a41/attachment.html 


More information about the SciPy-Dev mailing list