Re: [Numpy-discussion] Computing Simple Statistics When Only they Frequency Distribution is Known

2009-11-29 Thread Charles R Harris
On Sun, Nov 29, 2009 at 6:15 PM, Anne Archibald wrote: > 2009/11/28 Wayne Watson : > > Anne Archibald wrote: > >> 2009/11/28 Wayne Watson : > >> > >>> I was only illustrating a way that I would not consider, since the > >>> hardware has already created the pdf. I've already coded it pretty much >

Re: [Numpy-discussion] Computing Simple Statistics When Only they Frequency Distribution is Known

2009-11-29 Thread Anne Archibald
2009/11/28 Wayne Watson : > Anne Archibald wrote: >> 2009/11/28 Wayne Watson : >> >>> I was only illustrating a way that I would not consider, since the >>> hardware has already created the pdf. I've already coded it pretty much >>> as you have suggested. As I think I mention ed above, I'm a bit >>

Re: [Numpy-discussion] Computing Simple Statistics When Only they Frequency Distribution is Known

2009-11-28 Thread Wayne Watson
How would I do that? Anne Archibald wrote: > 2009/11/28 Wayne Watson : > >> I was only illustrating a way that I would not consider, since the >> hardware has already created the pdf. I've already coded it pretty much >> as you have suggested. As I think I mention ed above, I'm a bit >> surpris

Re: [Numpy-discussion] Computing Simple Statistics When Only they Frequency Distribution is Known

2009-11-28 Thread Anne Archibald
2009/11/28 Wayne Watson : > > I was only illustrating a way that I would not consider, since the > hardware has already created the pdf. I've already coded it pretty much > as you have suggested. As I think I mention ed above, I'm a bit > surprised numpy doesn't provide the code you suggest as part

Re: [Numpy-discussion] Computing Simple Statistics When Only they Frequency Distribution is Known

2009-11-28 Thread Wayne Watson
David Goldsmith wrote: > On Fri, Nov 27, 2009 at 9:25 PM, Wayne Watson > mailto:sierra_mtnv...@sbcglobal.net>> > wrote: > > I actually wrote my own several days ago. When I began getting myself > more familiar with numpy, I was hoping there would be an easy to use > version in it fo

Re: [Numpy-discussion] Computing Simple Statistics When Only they Frequency Distribution is Known

2009-11-28 Thread David Goldsmith
On Fri, Nov 27, 2009 at 9:25 PM, Wayne Watson wrote: > I actually wrote my own several days ago. When I began getting myself > more familiar with numpy, I was hoping there would be an easy to use > version in it for this frequency approach. If not, then I'll just stick > with what I have. It seems

Re: [Numpy-discussion] Computing Simple Statistics When Only they Frequency Distribution is Known

2009-11-27 Thread Wayne Watson
I actually wrote my own several days ago. When I began getting myself more familiar with numpy, I was hoping there would be an easy to use version in it for this frequency approach. If not, then I'll just stick with what I have. It seems something like this should be common. A simple way to do

Re: [Numpy-discussion] Computing Simple Statistics When Only they Frequency Distribution is Known

2009-11-27 Thread josef . pktd
On Fri, Nov 27, 2009 at 9:47 PM, Wayne Watson wrote: > How do I compute avg, std dev, min, max and other simple stats if I only > know the frequency distribution? If you are willing to assign to all observations in a bin the value at the bin midpoint, then you could do it with weights in the stat

[Numpy-discussion] Computing Simple Statistics When Only they Frequency Distribution is Known

2009-11-27 Thread Wayne Watson
How do I compute avg, std dev, min, max and other simple stats if I only know the 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' 32" W,