Re: Chris, here are your results
Posted by Roger Hunter on February 27, 2004 at 11:01:29:

Chris;

I agree, the results do look strange.

But if you think about it, the small intervals are a small population...

No, that won't work. If we assume a reasonably uniform time distribution the recent numbers should be the same (or larger) then the more distant numbers.

Am I sure the program is correct? No, I'm never sure of that, particularly when it's dealing with so much data I can't watch what it's doing.

Here's the logic;

I have a list of 47k+ quakes in chronological order.

I read in 30 days worth of quakes starting with the first one. I check the distances from the first one to all the rest. If the distance is beteween 500 and 5000 km I compute the time interval between the first quake and whatever one I'm looking at. That difference is the array index (0 to 29) of the cumulative graph and that cell is incremented by one.

Then I move the quake array up by one (eliminating the first one) and read in some more until the last one is out of date range. The new top quake becomes the main quake and the process starts over.

This continues until the file is exhausted.

Looks good on paper anyway.

Roger


Follow Ups:
     ● John, Help - chris in suburbia  13:14:07 - 2/27/2004  (21290)  (1)
        ● probably a program bug - John Vidale  13:44:06 - 2/27/2004  (21291)  (1)
           ● Chris; new results, still odd. - Roger Hunter  17:13:56 - 2/27/2004  (21292)  (1)
              ● Re: Chris; new results, still odd. - Roger Hunter  18:06:26 - 2/27/2004  (21293)  (1)
                 ● day zero - chris in suburbia  07:32:02 - 2/28/2004  (21294)  (1)
                    ● Re: day zero - Roger Hunter  08:13:17 - 2/28/2004  (21295)  (1)
                       ● Re: day zero - chris in suburbia  07:33:34 - 2/29/2004  (21297)  (1)
                          ● Re: day zero P.S. - chris in suburbia  07:39:32 - 2/29/2004  (21298)  (1)
                             ● Re: day zero P.S. - Roger Hunter  08:02:22 - 2/29/2004  (21299)  (1)
                                ● day zero is only 12 hours on average - chris in suburbia  05:34:20 - 3/1/2004  (21302)  (1)
                                   ● Re: day zero is only 12 hours on average - Roger Hunter  06:09:38 - 3/1/2004  (21303)  (1)
                                      ● Re: day zero is only 12 hours on average - chris in suburbia  13:47:55 - 3/1/2004  (21306)  (0)