Re: [Numpy-discussion] help creating a reversed cumulative histogram

2009-09-03 Thread Tim Michelsen
>> Again, would a function for the >> "empirical inverse survival function" qualify for the >> inclusion into numpy or scipy? > > Sorry, I'm too distracted, correcting myself a second time > "this should *not* have inverse in it, using inverse was a cut and paste > error" > it's empirical survi

Re: [Numpy-discussion] help creating a reversed cumulative histogram

2009-09-03 Thread josef . pktd
On Thu, Sep 3, 2009 at 12:58 PM, Tim Michelsen wrote: >> My first stop is usually wikipedia: > [...] > Thanks. > So I I'known that I have to call the beast a > "empirical inverse survival function", Robert would > also have foundit easier to help. > Anyway, step by step... > >> In the case of the w

Re: [Numpy-discussion] help creating a reversed cumulative histogram

2009-09-03 Thread Tim Michelsen
> My first stop is usually wikipedia: [...] Thanks. So I I'known that I have to call the beast a "empirical inverse survival function", Robert would also have foundit easier to help. Anyway, step by step... > In the case of the weight of pigs, it would be to cumulative weight of > all pigs with

Re: [Numpy-discussion] help creating a reversed cumulative histogram

2009-09-03 Thread josef . pktd
On Thu, Sep 3, 2009 at 9:23 AM, Tim Michelsen wrote: >> > Hello, > I have checked the snippets you proposed. > It does what I wanted to achieve. > Obviously, I had to substract the values as Robert > demonstrated. This could also be perceived from > the figure I posted. > > I still have see how I c

Re: [Numpy-discussion] help creating a reversed cumulative histogram

2009-09-03 Thread Tim Michelsen
> Hello, I have checked the snippets you proposed. It does what I wanted to achieve. Obviously, I had to substract the values as Robert demonstrated. This could also be perceived from the figure I posted. I still have see how I can optimise the code (c.f. below) or modify to be less complicated

Re: [Numpy-discussion] help creating a reversed cumulative histogram

2009-09-03 Thread Tim Michelsen
> >>> Okay. That is completely different from what you've asked before. > > You are right. > > But it's soemtimes hard to decribe a desired and expected output in > > python terms and pseudocode. > > I still have to lern more numpy vocabs... > > Actually, I apologize. I meant to delete that line b

Re: [Numpy-discussion] help creating a reversed cumulative histogram

2009-09-02 Thread Robert Kern
On Wed, Sep 2, 2009 at 19:11, Tim Michelsen wrote: > Hello Robert and Josef, > thanks for the quick answers! I really appreciate this. > I am trying to create a inverse cumulative histogram [3] which shall look like [4] but with the higher values at the left. >>> Okay. That is completely

Re: [Numpy-discussion] help creating a reversed cumulative histogram

2009-09-02 Thread Tim Michelsen
Hello Robert and Josef, thanks for the quick answers! I really appreciate this. >>> I am trying to create a inverse cumulative histogram [3] which shall >>> look like [4] but with the higher values at the left. >> Okay. That is completely different from what you've asked before. You are right. But

Re: [Numpy-discussion] help creating a reversed cumulative histogram

2009-09-02 Thread josef . pktd
On Wed, Sep 2, 2009 at 7:26 PM, Robert Kern wrote: > On Wed, Sep 2, 2009 at 18:15, Tim Michelsen > wrote: >> Hello fellow numy users, >> I posted some questions on histograms recently [1, 2] but still couldn't >> find  a solution. >> >> I am trying to create a inverse cumulative histogram [3] whic

Re: [Numpy-discussion] help creating a reversed cumulative histogram

2009-09-02 Thread Robert Kern
On Wed, Sep 2, 2009 at 18:15, Tim Michelsen wrote: > Hello fellow numy users, > I posted some questions on histograms recently [1, 2] but still couldn't > find  a solution. > > I am trying to create a inverse cumulative histogram [3] which shall > look like [4] but with the higher values at the lef

[Numpy-discussion] help creating a reversed cumulative histogram

2009-09-02 Thread Tim Michelsen
Hello fellow numy users, I posted some questions on histograms recently [1, 2] but still couldn't find a solution. I am trying to create a inverse cumulative histogram [3] which shall look like [4] but with the higher values at the left. The classification shall follow this exemplary rule: cl