[SciPy-user] histogram(a, normed=True) doesn't normalize?
scipy at mspacek.mm.st
Mon Jun 19 20:59:13 CDT 2006
David Huard wrote:
> The normalization constant is not the sum of the bin, but the sum of the
> product of the bin count with the bin width :
> \sum_i f_i * delta_i
It seems I long ago forgot the distinction between a probability
*distribution* function and a probability *density* function. I assumed
they were the same thing. Thanks for the clarification.
More information about the SciPy-user