<div dir="ltr">I agree; breaking code over this would be ridiculous. Also, I prefer the zero default, despite the mean/std combo probably being more common.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 1, 2014 at 10:02 PM, Sturla Molden <span dir="ltr"><<a href="mailto:sturla.molden@gmail.com" target="_blank">sturla.molden@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Haslwanter Thomas <<a href="mailto:Thomas.Haslwanter@fh-linz.at">Thomas.Haslwanter@fh-linz.at</a>> wrote:<br>

<br>
> Personally I cannot think of many applications where it would be desired<br>
> to calculate the standard deviation with ddof=0. In addition, I feel that<br>
> there should be consistency between standard modules such as numpy, scipy, and pandas.<br>
<br>
</div>ddof=0 is the maxiumum likelihood estimate. It is also needed in Bayesian<br>
estimation.<br>
<br>
If you are not eatimating from a sample, but rather calculating for the<br>
whole population, you always want ddof=0.<br>
<br>
What does Matlab do by default? (Yes, it is a retorical question.)<br>
<div><br>
<br>
> I am wondering if there is a good reason to stick to "ddof=0" as the<br>
> default for "std", or if others would agree with my suggestion to change<br>
> the default to "ddof=1"?<br>
<br>
</div>It is a bad idea to suddenly break everyone's code.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Sturla<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
</div></div></blockquote></div><br></div>