What algorithm is used for the "Moving Average"
Posted: Sun Nov 01, 2009 11:23 pm
I need to know what mathematical algorithm is used for the moving average calculations.
Normally, a moving average will require that the "end regions" of the graph not be included in the graph of the moving average, since, for example, a centered 11-day moving average can't provide data for the first 5 days and therefore can't be graphed. The same is true of the last 5 days in this example. I believe this problem is inherent in all moving average calculation varieties (though I'm open to being educated).
I bring it up because graphing the end-point regions of a moving average generates quite a bit of controversy in the climate sciences where I work because the end regions normally excluded in a moving average have to be filled in based on some sort of (often unscientific) assumption--even a simple "continue the trend" assumption.
Regardless of which moving average method (and extensions to graph end-points) is used, could you provide me with the algorithm and in the future include it in the help/pdf user manual, David? I've tried searching the forum & couldn't find anything. I just need to explain to those I'm presenting my graphs to how the calculations were made. Ideally, I'd prefer an option to exclude the extend-to-endpoint algorithms altogether.
Many thanks.
John
Normally, a moving average will require that the "end regions" of the graph not be included in the graph of the moving average, since, for example, a centered 11-day moving average can't provide data for the first 5 days and therefore can't be graphed. The same is true of the last 5 days in this example. I believe this problem is inherent in all moving average calculation varieties (though I'm open to being educated).
I bring it up because graphing the end-point regions of a moving average generates quite a bit of controversy in the climate sciences where I work because the end regions normally excluded in a moving average have to be filled in based on some sort of (often unscientific) assumption--even a simple "continue the trend" assumption.
Regardless of which moving average method (and extensions to graph end-points) is used, could you provide me with the algorithm and in the future include it in the help/pdf user manual, David? I've tried searching the forum & couldn't find anything. I just need to explain to those I'm presenting my graphs to how the calculations were made. Ideally, I'd prefer an option to exclude the extend-to-endpoint algorithms altogether.
Many thanks.
John