Forecasting – Unweighted and Weighted Moving Average Model

This article is part 2 of a series on Forecasting.

In this article, we will discuss 2 types of forecasting models — the weighted and unweighted moving average model. I’ll also discuss Measure of Forecasting Accuracy.

Unweighted Moving Average

The Moving Average model is in class of “naive” models, because it takes a data set with variation and creates another data set with less variation, or a smoothed data set. The Moving Average model takes the average of several periods of data; the result is a dampened or smoothed data set; use this model when demand is stable and there is no evidence of a trend or seasonal pattern.

Moving average routines may be designed to remove the seasonal and random noise variation within a time series. If the moving average routine is used repeatedly on each newly-generated series, it may succeed in removing most of any cyclical variation present. What is left of the original series after early smoothings to remove seasonal and random or irregular components is a successor series retaining some combination of trend and cyclical behavior. If no trend or cyclical behavior are present in the time series, the smoothings may leave a successor series which plots as a nearly horizontal line against time on the horizontal axis. Assuming the presence of trend and cyclical behavior in the original series, the moving average process provides a method of isolating it.

The smoothing effect of the moving average model provides for a “cleaner” data set, which may or may not help in estimating the future level of a variable.

The formula for the Moving Average Model is below:

shmula.com, moving average model, forecasting

Let’s suppose the data set below:

shmula.com, moving average model, forecasting

The Month and Demand columns shows the time series for the month. The 3rd column shows the 3 period moving average, calculated as follows:

((119 + 72 + 113) / 3 = 101)

Following the same formula above, walk across the time series in 3 week periods in order to build the smoothed series, the new time series with less variation.

Forecasting Measures of Accuracy

The 4th column shows an Error column calculated as follows:

((Demand – 3 Week MA) = Error)

The 5th column shows the Absolute Error, which is just the absolute number of the items in the Error column.

The 6th column shows a Mean Forecast Error, or MFA. This shows the direction of the forecasting error. The rule here is that if the number is negative, the the model tends to over-forecast. If the number is positive, then the model tends to under-forecast. The MFA is calculated as follows:

Sum of Error / N = MFA

Using the data set above,

[((-19 + -7 + 39 + 13 + 8 + -30 + -10 + -12 + -1) / 9) = -2]

Since the MFA is negative, then this tells us that the direction of the forecast error; in this case, the data and using this model tends to over-forecast.

The last column shows a Mean Absolute Deviation, which gives us an indication of the size of the error. In other words, since MFE for our data set is negative, pointing to an over-forecast, the MAD tells us that the average size of that over-forecast is ~15. To calculate MAD, do the following:

Absolute Error / N = MAD

In other words,

[((19 + 7 + 39 + 13 + 8 + 30 + 10 + 12 + 1) / 9) = 15]

The smoothed time series above coupled with MFA and MAD gives us more context around our point estimates and forecast accuracy. This enables the firm to better plan for the future and form strategies around labor, capacity, inventory, service levels, and other pertinent items important to the firm.

Weighted Moving Average

Follow the steps for the Moving Average model above. Weights on this model indicates the subjective importance we wish to place on past or recent data. Weights can be from 0.0 to 1.0; the higher the weight, then the higher importance we are placing on more recent data; similarly, for lower weights.

In forming your moving average time series, just add a weight multipier to form the new, smoothed-out time series. All remaining steps in the Moving Average Model are the same.


Short URL: http://bit.ly/A6AF

Share This Post:



  • Digg
  • Twitter
  • Facebook
  • Google Bookmarks
  • del.icio.us
  • StumbleUpon
  • LinkedIn
  • MySpace
  • HackerNews
  • Reddit
  • Live
  • email

2-pizza teams (10)
3 C's (3)
37signals (1)
5S (38)
A3 Report (9)
adoption (7)
agile/software (59)
ajax (4)
amazon (53)
apple (3)
apple iphone (7)
axiom (3)
Aza Raskin (9)
backcountry.com (2)
berlin (1)
bill gates (1)
bill marriott (1)
blog tag (1)
book reviews (4)
bullwhip effect (5)
business (397)
business plans (3)
busm361 (13)
BzzAgent (12)
call center and queueing (11)
car buying (2)
Carbonite (1)
change management (5)
chicago (1)
click fraud (1)
click-to-ship (21)
clocky (2)
colin powell (2)
community (2)
company interviews (18)
company interviews (6)
complexity (32)
costs (8)
culture (7)
customer experience (10)
customer obsession (52)
customer recovery function (1)
customer segmentation (8)
customer service (17)
design thinking (14)
digg (4)
drum-buffer-rope (38)
dublin (1)
dynamic systems (24)
eBay (6)
economics (3)
efficiency (4)
ethnography (29)
family (18)
featuritis (15)
flexibility (1)
forecasting (2)
four performance dimensions (2)
Fun With The 2×2 Matrix (1)
game theory (7)
Gemba (67)
genchi genbutsu (68)
general (135)
germany (1)
google (15)
Gretchen Rubin (1)
heijunka (65)
holidays (1)
hoshin kanri (1)
how to be a human (1)
IDEO (2)
image uploading (1)
interviews (4)
iphone (5)
ishikawa (69)
IT at Toyota (67)
jason fried (1)
just-in-time (4)
kaizen (4)
kanban (46)
law of instinct (1)
Leadership (46)
lean (167)
Lean Consumption Maps (98)
learning curve (1)
licketyship (1)
mark cuban (1)
martin luther king (1)
mary poppendieck (1)
metrics (73)
microsoft (6)
milton friedman (1)
moving average (1)
muda (68)
nba fines (1)
net promoter score (nps) (1)
obeya (39)
Off-Topic (1)
onstar (1)
operations (108)
pageviews (3)
pareto principle (39)
patent (1)
peanut butter manifesto (2)
philosophy (3)
Poka-Yoke (6)
poppendieck (3)
powerpoint sucks (2)
private equity (4)
process measures (6)
product development (20)
productivity (4)
quality (41)
quasimodal design (1)
queueing theory (41)
Raffle (1)
rational choice (2)
regression analysis (18)
respect for people (6)
root cause analysis (60)
sarah+palin (2)
seth godin (1)
simplicity principle (10)
six sigma (128)
snowboarding (2)
social media (3)
spam (1)
statistical process control (46)
strategy (46)
suburban (1)
supply chain (24)
takt time (8)
teaching (2)
team size (9)
technology (104)
the beer distribution game (1)
The Happiness Project (1)
the profit tree (7)
The Visual Factory (11)
theory of constraints (41)
time (2)
timeline (3)
tony+hsieh (11)
toyota (75)
travel (1)
trump bankruptcy (1)
turnaround (5)
twitter (8)
uspto (1)
utah deal flow (2)
variation (69)
venture capital (1)
Visual Management (11)
waste (59)
website traffic (2)
Wing Chun (2)
wisdom of crowds (1)
wisdom teeth (1)
word-of-mouth marketing (18)
yahoo (2)
zappos.com (12)
zero defects (3)

WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.


If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

Hi,
LOVE your Post. Was wondering if you could elaborate futher. We use SAP. In it there is a selection you can choose before you run your forecast called initialization. If you check this option you get a forecast result, if you run forecast again, in the same period, and do not check initialization the result changes. I can not figure out what that initialization is doing. I mean, mathmatically. Which forecast result is best to save and use for example. The changes between the two are not in the forecasted quantity but in the MAD and Error, safety stock and ROP quantities. Not sure if you use SAP.

Thanks so much.

Beth

hi
thanks for explaining so effeciently its too gd.
thanks again
Jaspreet

@chrisknudsen – when i worked at amzn, we always favored service level over overinventory; otherwise this might work – http://is.gd/dMel

Leave a comment

(required)

(required)


Additional comments powered by BackType