Hi. I'm not sure what a good suggestion would be. As far as the Fourier
idea goes, yes, you would be limited to 2^12, or 4096 data points.
I'm not sure of this idea, so I'll just throw it out. Since your data has a
period of 1 day, how about breaking the data up into daily groups. Take the
average of the daily highs and lows. Half way between the high and low
would be your offset, (or dc component), The value of average high-offset
would be your amplitude, Perhaps take the average of the daily starting
values to use as your phase. A pivot table may be able to organize your
data for you.
Anyway, not the best solution, but maybe a workaround. HTH. :)
--
Dana DeLouis
Win XP & Office 2003
"Amedee Van Gasse" wrote in message
...
Dana DeLouis shared this with us in microsoft.public.excel.misc:
Hi. If your data on the x-axes is evenly spaced out, Excel has a
Fourier Transform function under Data | Analysis. However, it's a
Radix-2 algorithm only. My opinion is that Solver can not do a LSQ
very well, especially with more than just a few data points. I've
never had much success with a LSQ fitting. The main problem is that
by definition, one is squaring the error, so the "error" never goes
negative. This confuses Solver. With multiple values, Solver gets
confused, and will quickly give up.
Dana,
Unfortunately my data is not exactly evenly spaced out. I could
extrapolate additional data points that are evenly spaced out, using a
linear or other trendline. However this would add more work, complexity
and error.
And Radix-2, that would imply that I need exactly 2^x data points,
right? That's not the case.
Also, I don't have "just a few" data points, but hundreds or even
thousands. These are measurements made approximately every 5 minutes
over several weeks. I can clearly see a dayly cycle, so the period will
be exactly 24 hours. Phase isn't very interesting but amplitude is.
But overall I get the impression that Excel isn't exactly the best
software to do this kind of analysis. Should I seek other software, and
if yes, what?
--
Amedee Van Gasse
|