Skip to main content
Log in

Optimality and robustness of combinations of moving averages

  • Theoretical Paper
  • Published:
Journal of the Operational Research Society

Abstract

A combination of moving averages has been shown previously to be more accurate than simple moving averages, under certain conditions, and to be more robust to non-optimal parameter specification. However, the use of the method depends on specification of three parameters: length of greater moving average, length of shorter moving average, and the weighting given to the former. In this paper, expressions are derived for the optimal values of the three parameters, under the conditions of a steady state model. These expressions reduce a three-parameter search to a single-parameter search. An expression is given for the variance of the sampling error of the optimal combination of moving averages and this is shown to be marginally greater than that for exponentially weighted moving averages (EWMA). Similar expressions for optimal parameters and the resultant variance are derived for equally weighted combinations. The sampling variance of the mean of such combinations is shown to be almost identical to the optimal general combination, thus simplifying the use of combinations further. It is demonstrated that equal weight combinations are more robust than EWMA to noise to signal ratios lower than expected, but less robust to noise to signal ratios higher than expected.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  • Johnston FR, Boylan JE, Shale E, Meadows M (1999). A robust forecasting system, based on the combination of two simple moving averages. J Opl Res Soc 50: 1199–1204.

    Article  Google Scholar 

  • Johnston FR, Boylan JE, Meadows M, Shale E (1999). Some properties of a simple moving average when applied to forecasting a time series. J Opl Res Soc 50: 1267–1271.

    Article  Google Scholar 

  • Muth JF (1960). Optimal properties of exponentially weighted forecasts. J Am Statist Assoc 55: 299–306.

    Article  Google Scholar 

  • Satchell S, Timmermann A (1995). On the optimality of adaptive expectations: Muth revisited. Int J Forecasting 11: 407–416.

    Article  Google Scholar 

  • Johnston FR, Harrison PJ (1984). Discount weighted moving averages. J Opl Res Soc 35: 629–635.

    Article  Google Scholar 

  • Gardner ES, Dannenbring DG (1980). Forecasting with exponential smoothing: some guidelines for model selection. Decision Sci 11: 370–383.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to J E Boylan.

Appendix

Appendix

Johnston et al1 derived the following expression for the variance of the sampling error of the mean using a combination of moving averages:

Setting ∂C/∂f=0 gives:

Setting ∂C/∂s=0 gives:

Setting ∂C/∂g=0 gives:

Hence the conditions ∂C/∂s=∂C/∂g=∂C/∂f=0 yield the following equations:

Subtracting the equation (A1) from equation (A3)

To ensure that g>s,

Substituting into equation (A2),

From equation (A1),

Note: equation (13) can be confirmed form this result, by substituting N=gs

Hence, substituting for f,

This gives three solutions, only one of which is greater than zero, namely:

Using the relationship g=s+N,

And using the expression for f derived above,

This solution also satisfies all the second-order minimisation criteria: ∂2C/∂s2>0, ∂2C/∂g2>0, (∂2C/∂s2)(∂2C/∂g2)>(∂2C/∂sg)2.

In the case of equally weighted combinations, the conditions ∂C/∂s=∂C/∂g=0 yield the following equations:

Rearranging equation (A4) gives:

The roots of this equation are included in the roots of:

This gives six solutions, namely s=±[√(3/10)]N, s=±[√(5/4−√17/4)]N, and s=±[√(5/4+√17/4)]N. By definition, s must be positive and must not be greater than g. After applying these conditions, two roots remain: s=[√(3/10)]N, s=[√(5/4−√17/4)]N. However, the latter root does not satisfy the original simultaneous equations. Hence,

Substitution in the second simultaneous equation gives:

This solution also satisfies all the second-order minimisation criteria: ∂2C/∂s2>0, ∂2C/∂g2>0, (∂2C/∂s2)(∂2C/∂g2)>(∂2C/∂sg)2.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Boylan, J., Johnston, F. Optimality and robustness of combinations of moving averages. J Oper Res Soc 54, 109–115 (2003). https://doi.org/10.1057/palgrave.jors.2601472

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1057/palgrave.jors.2601472

Keywords

Navigation