**Weighted Moving Average**

Whereas the simple moving average gives equal weight to each component of the moving average database a weighted moving average allows each element to be weighted by a factor where the sum of all the weighting factors equals one. The formula for a weighted moving average forecast is

An additional constraint when using this equation for the weighted moving average forecast is