Finding local minima and maxima of a graph
jonathandlynch at gmail.com
jonathandlynch at gmail.com
Sun Dec 5 00:55:52 EST 2010
How many data points are you talking about?
Also, are you using this for forecasting, such that you would need to do a regression analysis? If you are wanting to make predictions, that changes a lot.
As for detrending - that seems unnecessary if you are looking for fairly local mins and maxes.
I think you might find the rolling average approach reasonably fast. I can help with the algorithm, if you need.
------Original Message------
From: Bryan McCormick
Sender: use-livecode-bounces at lists.runrev.com
To: use-livecode at lists.runrev.com
ReplyTo: How to use LiveCode
Subject: Re: Finding local minima and maxima of a graph
Sent: Dec 5, 2010 12:33 AM
Jonathan,
Sure, that approach can work. But it isn't terribly efficient. It would
however be less computationally intensive if I detrend first. That's the
first step. So if you have a notion on a least squares linear fit line,
that would be most welcome.
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Sent from my Verizon Wireless BlackBerry
More information about the use-livecode
mailing list