Hi, actually, more question was more informational than how to do it. I
wrote a function to do it, but wondered why such a function didn't seem
to exist. In my case, the histogram is from a small processor that
produces frequency data from 307K points. Unraveling the frequency data
and returning i
Hi Wayne,
you are right all these function use the sample-data and not the pdf /
frequency of occurence-histogram, because typically the data is available and
not the pdf. Maybe the scipy mailing list could give you a solution to your
problem.
In case that your freqency of occurence are intege
I do not believe that any of those calculations are based on the pdf,
frequency of occurrence-histogram. This, (1, 2,2, 4, 2,5,4) and not this
(1,3, 0,2,1). The latter are the frequencies of occurrence for 1,2,3,4,5.
John Hunter wrote:
> On Tue, Dec 1, 2009 at 6:32 AM, Wayne Watson
> wrote:
>
On Tue, Dec 1, 2009 at 6:32 AM, Wayne Watson
wrote:
> Is there some statistics function that computes the mean, std. dev., min/max,
> etc. from a frequency distribution?
numpy has many functions for basic descriptive statistics. If "data"
is an array of your data, you can do (import numpy as np
Is there some statistics function that computes the mean, std. dev., min/max,
etc. from a frequency distribution?
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2