[SciPy-user] Inconsistent standard deviation and variance implementation in scipy vs. scipy.stats

Alan G Isaac aisaac@american....
Wed Sep 24 14:29:29 CDT 2008


On 9/24/2008 12:05 PM Pierre GM apparently wrote:
> I think the default to biased estimates was kept for backward compatibility.

It is still a problem that scip.var and scipy.stats.var
behave differently (and even have a different signature).
What is the way forward?

An opening suggestion:
unify the signature, let ``bias`` be a deprecated way to
to set ``ddof``, and warn users of scipy.stats.var (or std)
if they do not set ``ddof``.

Alan Isaac



More information about the SciPy-user mailing list