Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Timely
Reliable Accurate
Written
Steps in the Forecasting
Process
“The forecast”
Trend Cyclical
Seasonal Random
Time Series Forecasts
• Trend - long-term movement in data
• Seasonality - short-term regular variations
in data
• Cycle – wavelike variations of more than
one year’s duration
• Irregular variations - caused by unusual
circumstances
• Random variations - caused by chance
Forecast Variations
Irregular
variation
Trend
Cycles
90
89
88
Seasonal variations
Trend Component
Persistent, overall upward or
downward pattern
Changes due to population,
technology, age, culture, etc.
Typically several years
duration
Seasonal Component
Regular pattern of up and
down fluctuations
Due to weather, customs, etc.
Occurs within a single year
Number of
Period Length Seasons
Week Day 7
Month Week 4-4.5
Month Day 28-31
Year Quarter 4
Year Month 12
Year Week 52
Cyclical Component
Repeating up and down movements
Affected by business cycle, political,
and economic factors
Multiple years duration
Often causal or
associative
relationships
0 5 10 15 20
Random Component
Erratic, unsystematic, ‘residual’
fluctuations
Due to random variation or
unforeseen events
Short duration and
nonrepeating
M T W T F
Naive Approach
Assumes demand in next
period is the same as
demand in most recent period
e.g., If January sales were 68, then
February sales will be 68
Sometimes cost effective and efficient
Can be good starting point
The forecast for any period equals the
previous period’s actual value.
Simple Mean or Average
• One of the simplest averaging models is the simple mean or
average. Here the forecast is made by simply taking an average
of all data:
Moving Average Method
MA is a series of arithmetic means
Used if little or no trend
Used often for smoothing
Provides overall impression of data over
time
January 10
February 12
March 13
April 16 (10 + 12 + 13)/3 = 11.66
May 19 (12 + 13 + 16)/3 = 13.66
June 23 (13 + 16 + 19)/3 = 16
July 26 (16 + 19 + 23)/3 = 19.33
Weighted Moving Average
January 10
February 12
March 13
April 16 [(3 x 13) + (2 x 12) + (10)]/6 = 121/6
May 19 [(3 x 16) + (2 x 13) + (12)]/6 = 141/3
June 23 [(3 x 19) + (2 x 16) + (13)]/6 = 17
July 26 [(3 x 23) + (2 x 19) + (16)]/6 = 201/2
Moving Average And
Weighted Moving Average
Weighted
30 – moving
average
25 –
Sales demand
20 – Actual
sales
15 –
Moving
10 – average
5 –
| | | | | | | | | | | |
J F M A M J J A S O N D
Exponential Smoothing Model
• Exponential smoothing model uses a smoothing
constant, alpha (α), as an adjustment in determining
the forecast.
• A smoothing constant is a value assigned by the
forecaster to adjust the forecast based on the
forecaster assumption of the relationship between
sales in one time period and sales in the next time
period.
• Alpha can have any value between 0 and 1; however,
alpha is normally 0.1, 0.2 or 0.3.
Exponential Smoothing
Ft = Ft – 1 + a(At – 1 - Ft – 1)
where Ft = new forecast
Ft – 1 = previous forecast
a = smoothing (or weighting)
constant (0 a 1)
Choosing
The objective is to obtain the most
accurate forecast no matter the
technique.
MAPE =
100 ∑ |actual - forecast |/actual
i i i
i=1
n
Surprise Quiz
Causal Models
• Causal models are also known as external
or exogenous models.
– Causal models take into account variables in the general
economy that affect the revenue obtained by a company.
– Causal models can be simple or very complex.
– Most of them require multiple regression analysis, which is
normally beyond the scope of a small business manager.
• One of the best known causal method is
regression model.
When Is Causal Forecasting Used?
• Know or believe something caused demand to act a certain
way
• Demand or sales patterns that vary drastically with
planned or unplanned events
• Examples of a variable that causes demand to act a certain
way:
Sales of ice cream increase when temperature is high
New home starts increase when interest rates are low
Number of employees increase when demand increases
• An planned event could be a sale or and advertising
promotion.
• An unplanned event could be a snow storm or severe
weather, strike, or materials shortages.
Linear Regression Model
• Linear regression uses a statistical method known as
least squared method, this method minimizes the sum of
the squared errors (Deviations)
– Four areas of variation:
• Seasonal variation is caused by the predictable
shopping habits of our customers.
• Trend variation is variation caused by growth or decline
in demand for our product or service over time.
• Cyclical variation is caused by general economic factors
that affect our industry.
• Noise is random variation in our data that is not
explained by the preceding factors.
Linear Regression Model (Cont)
• Linear regression is used to determine two factors:
• – the slope of the regression line
• – the intercept of the regression line
• Basic formula for the regression line
• y = a + bx
• y is the dependent variable. A dependent variable is one
that relies on other variables for its value.
• x is the independent variable. An independent variable is one
that does not depend on other variables for its value. In
forecasting models, x is often a time period.
• a is the y intercept. The y intercept is the value of y when x
equals 0.
• b is the slope of the regression line. Slope is defined as rise
over run.
Least Squares Method
Equations to calculate the regression variables
^
y = a + bx
Sxy - nxy
b=
Sx2 - nx2
a = y - bx
Least Squares Example
Time Electrical Power
Year Period (x) Demand x2 xy
1999 1 74 1 74
2000 2 79 4 158
2001 3 80 9 240
2002 4 90 16 360
2003 5 105 25 525
2004 6 142 36 852
2005 7 122 49 854
∑x = 28 ∑y = 692 ∑x2 = 140 ∑xy = 3,063
x=4 y = 98.86
130 –
120 –
110 –
100 –
90 –
80 –
70 –
60 –
50 –
| | | | | | | | |
1999 2000 2001 2002 2003 2004 2005 2006 2007
Year
Least Squares Method
Deviation5 Deviation6
Deviation3
Deviation4
Deviation1
Deviation2
Trend line, y =^ a + bx
Time period
Correlation
• Measures the strength of the relationship
between the dependent and independent
variable
• Once a model has been developed and tested,
the effectiveness of the model needs to be
determined. Correlation is used to determine
how strong the relationship between the
dependent and independent variables are.
Correlation Coefficient Formula
nSxy - SxSy
r=
[nSx2 - (Sx)2][nSy2 - (Sy)2]
r = correlation coefficient
n = number of periods
x = the independent variable
y = the dependent variable
y
Correlation
y
y y
110 –
100 –
90 –
80 –
70 –
| | | | | | | | | | | |
J F M A M J J A S O N D
Time