[SciPy-user] information on statistical functions

Robert Kern robert.kern@gmail....
Thu Dec 18 14:36:50 CST 2008

On Thu, Dec 18, 2008 at 09:43,  <josef.pktd@gmail.com> wrote:
> I find the new doc string for np.var a bit misleading:
> "The mean is normally calculated as x.sum() / N, where N = len(x). If,
> however, ddof is specified, the divisor N - ddof is used instead."
> This seems to refer to the divisor of the mean not of the variance.

Yes, the "mean" as used in the variance formula given in the prior
sentence. I don't really like the phrasing much, either, but I
inherited it from what was already there.

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco

More information about the SciPy-user mailing list