[SciPy-User] bugs in scipy.stats

josef.pktd@gmai... josef.pktd@gmai...
Tue Jun 11 10:51:31 CDT 2013


Follow-up on recent thread on unit and functional testing.

scipy.stats has still some bugs, at least with some options.

Problems:
- functions that are not heavily used
- functions without unit tests
- functions where unit tests only cover a special case

I'm looking for the first time more seriously at tests for equality of
variances:

levene `trimmed` returns wrong numbers if data is not sorted
(`trimmed` is doing better in Monte Carlo studies than `median`)
trim_mean returns wrong numbers if data is 2-d
obrientransform raises an exception if not all arrays have the same length

any other broken corners ???

stats review has still some way to go.
volunteers for checking some less used corners ?

Josef


More information about the SciPy-User mailing list