Smoothing function
Posted: Wed Jan 12, 2005 5:40 pm
I am using your smoothing function which in general does a good job. But now i am using it with DateTime x-values and there is a funny effect.
It seems to be a precision problem.
When the DateTime values are incremented by higher steps (for instance days) everything works fine, but when the DateTime values (x-values) are only seconds away from each other the smoothing function become confused.
When i transform all the data lets say to the year 1900 it works a little bit longer but as soon as i derease the increments between the single datapoints you will get the same problems.
You can produce similar effects without using the DateTime datatype. You only have to use very high x-values with very low increments between the different x-valuse. Thats why I guess it is a precision problem.
I hope you can reproduce this effect, Markus.
It seems to be a precision problem.
When the DateTime values are incremented by higher steps (for instance days) everything works fine, but when the DateTime values (x-values) are only seconds away from each other the smoothing function become confused.
When i transform all the data lets say to the year 1900 it works a little bit longer but as soon as i derease the increments between the single datapoints you will get the same problems.
You can produce similar effects without using the DateTime datatype. You only have to use very high x-values with very low increments between the different x-valuse. Thats why I guess it is a precision problem.
I hope you can reproduce this effect, Markus.