Re: Programmatically finding "significant" data points

2006-11-19 Thread Paul McGuire
... dang touchy keyboard! > Here is some sample data: > data = [0.10, 0.50, 0.60, 0.40, 0.39, 0.50, 1.00, 0.80, 0.60, 1.20, > 1.10, 1.30, 1.40, 1.50, 1.05, 1.20, 0.90, 0.70, 0.80, 0.40, 0.45, 0.35, > 0.10] > > In this data, some of the significant points include: > data[0] > data[2] > data[4] > da

Re: Programmatically finding "significant" data points

2006-11-19 Thread Paul McGuire
"robert" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > erikcw wrote: >> Hi all, >> >> I have a collection of ordered numerical data in a list. The numbers >> when plotted on a line chart make a low-high-low-high-high-low (random) >> pattern. I need an algorithm to extract the "si

Re: Programmatically finding "significant" data points

2006-11-19 Thread robert
erikcw wrote: > Hi all, > > I have a collection of ordered numerical data in a list. The numbers > when plotted on a line chart make a low-high-low-high-high-low (random) > pattern. I need an algorithm to extract the "significant" high and low > points from this data. > > Here is some sample da

Re: Programmatically finding "significant" data points

2006-11-14 Thread Peter Otten
erikcw wrote: > Hi all, > > I have a collection of ordered numerical data in a list. The numbers > when plotted on a line chart make a low-high-low-high-high-low (random) > pattern. I need an algorithm to extract the "significant" high and low > points from this data. > > Here is some sample d

Re: Programmatically finding "significant" data points

2006-11-14 Thread Roy Smith
"erikcw" <[EMAIL PROTECTED]> wrote: > I have a collection of ordered numerical data in a list. The numbers > when plotted on a line chart make a low-high-low-high-high-low (random) > pattern. I need an algorithm to extract the "significant" high and low > points from this data. I think you want

Re: Programmatically finding "significant" data points

2006-11-14 Thread Jeremy Sanders
erikcw wrote: > I have a collection of ordered numerical data in a list. The numbers > when plotted on a line chart make a low-high-low-high-high-low (random) > pattern. I need an algorithm to extract the "significant" high and low > points from this data. > ... > > How do I sort through this

Programmatically finding "significant" data points

2006-11-14 Thread erikcw
Hi all, I have a collection of ordered numerical data in a list. The numbers when plotted on a line chart make a low-high-low-high-high-low (random) pattern. I need an algorithm to extract the "significant" high and low points from this data. Here is some sample data: data = [0.10, 0.50, 0.60,

Re: Programmatically finding "significant" data points

2006-11-14 Thread Roberto Bonvallet
erikcw wrote: > I have a collection of ordered numerical data in a list. The numbers > when plotted on a line chart make a low-high-low-high-high-low (random) > pattern. I need an algorithm to extract the "significant" high and low > points from this data. In calculus, you identify high and low

Re: Programmatically finding "significant" data points

2006-11-14 Thread Beliavsky
erikcw wrote: > Hi all, > > I have a collection of ordered numerical data in a list. Called a "time series" in statistics. > The numbers > when plotted on a line chart make a low-high-low-high-high-low (random) > pattern. I need an algorithm to extract the "significant" high and low > points fr

Re: Programmatically finding "significant" data points

2006-11-14 Thread Ganesan Rajagopal
> Jeremy Sanders <[EMAIL PROTECTED]> writes: >> How do I sort through this data and pull out these points of >> significance? > Get a book on statistics. One idea is as follows. If you expect the points > to be centred around a single value, you can calculate the median or mean > of the point

Re: Programmatically finding "significant" data points

2006-11-14 Thread Alan J. Salmoni
If the order doesn't matter, you can sort the data and remove x * 0.5 * n where x is the proportion of numbers you want. If you have too many similar values though, this falls down. I suggest you check out quantiles in a good statistics book. Alan. Peter Otten wrote: > erikcw wrote: > > > Hi all

Re: Programmatically finding "significant" data points

2006-11-14 Thread Philipp Pagel
erikcw <[EMAIL PROTECTED]> wrote: > I have a collection of ordered numerical data in a list. The numbers > when plotted on a line chart make a low-high-low-high-high-low (random) > pattern. I need an algorithm to extract the "significant" high and low > points from this data. I am not sure, what

Re: Programmatically finding "significant" data points

2006-11-14 Thread Fredrik Lundh
"erikcw" wrote: > I have a collection of ordered numerical data in a list. The numbers > when plotted on a line chart make a low-high-low-high-high-low (random) > pattern. I need an algorithm to extract the "significant" high and low > points from this data. > > Here is some sample data: > data