Anda di halaman 1dari 30

Forecasting

Types of Forecasts
Qualitative (Judgemental) - Sales force composite - Sales division supervisor composite - Executive opinion method - Market Survey Quantitative Time Series Analysis Causal Relationships

Time Series Analysis


Time Series component : Trend Seasonal Cyclical Random variation

Finding Components of Demand


Seasonal variation

x x x x x

Linear
x x x

Sales

x x x

xx x x xx x x x x x x x xxx x x x x x xxxx

x x

x
x x

x x

Trend

Year

Simple Moving Average Formula


The simple moving average model assumes an average is a good estimator of future behavior The formula for the simple moving average A t-1 + A t-2 + A t-3 +...+A t- n is: Ft = n Ft = Forecast for the coming period N = Number of periods to be averaged A t-1 = Actual occurrence in the past period for up to n periods

Simple Moving Average Problem (1)


A t-1 + A t-2 + A t-3 +...+A t- n Ft = n
Question: What are the 3week and 6-week moving average forecasts for demand? Assume you only have 3 weeks and 6 weeks of actual demand data for the respective forecasts

Week 1 2 3 4 5 6 7 8 9 10 11 12

Demand 650 678 720 785 859 920 850 758 892 920 789 844

Calculating the moving averages gives us:

Week 1 2 3 4 5 6 7 8 9 10 11 12

Demand 3-Week 6-Week 650 F4=(650+678+720)/3 678 =682.67 720 F7=(650+678+720 +785+859+920)/6 785 682.67 859 727.67 =768.67 920 788.00 850 854.67 768.67 758 876.33 802.00 892 842.67 815.33 920 833.33 844.00 789 856.67 866.50 844 867.00 854.83

Plotting the moving averages and comparing them shows how the lines smooth out to reveal the overall upward trend in this example

1000 900
Demand

800 700 600 500 1 2 3 4 5 6 7 8 9 10 11 12 Week

Demand 3-Week 6-Week

Note how the 3-Week is smoother than the Demand, and 6-Week is even smoother

Simple Moving Average Problem (2) Data


Question: What is the 3 week moving average forecast for this data?

Week 1 2 3 4 5 6 7

Demand 820 775 680 655 620 600 575

Simple Moving Average Problem (2) Solution


Week 1 2 3 4 5 6 7 Demand 820 775 680 655 620 600 575 3-Week
=758.33

5-Week

F4=(820+775+680)/3

758.33 703.33 651.67 625.00

F6=(820+775+680 +655+620)/5 =710.00

710.00 666.00

Weighted Moving Average Formula


While the moving average formula implies an equal weight being placed on each value that is being averaged, the weighted moving average permits an unequal weighting on prior time periods

The formula for the moving average is:


Ft = w 1 A t -1 + w 2 A t - 2 + w 3 A t -3 + ...+ w n A t - n
wt = weight given to time period t occurrence (weights must add to one)

w
i=1

=1

Weighted Moving Average Problem (1) Data


Question: Given the weekly demand and weights, what is the forecast for the 4th period or Week 4?
Week 1 2 3 4 Demand 650 678 720

Weights: t-1 .5 t-2 .3 t-3 .2

Note that the weights place more emphasis on the most recent data, that is time period t-1

Weighted Moving Average Problem (1) Solution

Week 1 2 3 4

Demand Forecast 650 678 720 693.4

F4 = 0.5(720)+0.3(678)+0.2(650)=693.4

Weighted Moving Average Problem (2) Data


Question: Given the weekly demand information and weights, what is the weighted moving average forecast of the 5th period or week?

Week 1 2 3 4

Demand 820 775 680 655

Weights: t-1 .7 t-2 .2 t-3 .1

Weighted Moving Average Problem (2) Solution


Week 1 2 3 4 5 Demand Forecast 820 775 680 655 672

F5 = (0.1)(755)+(0.2)(680)+(0.7)(655)= 672

Exponential Smoothing Model

Ft = Ft-1 + a(At-1 - Ft-1)


Where : Ft Forcast value for thecoming t timeperiod Ft - 1 Forecast value in 1 past timeperiod At - 1 Actual occurance in the past t tim period e a Alpha smoothingconstant

Premise: The most recent observations might have the highest predictive value

Exponential Smoothing Problem Data

Week 1 2 3 4 5

Question: What are the Demand exponential smoothing 820 forecasts for periods 2-5 775 using a =0.5? 680 655 Assume F1=D1

Exponential Smoothing Problem Solution


F1=820+(0.5)(820-820)=820 F3=820+(0.5)(775-820)=797.75

Week 1 2 3 4 5

Demand 820 775 680 655

0.5 820.00 820.00 797.50 738.75 696.88

The MAD Statistic to Determine Forecasting Error

A
MAD =
t=1

- Ft

1 MAD 0.8 standard deviation 1 standard deviation 1.25 MAD

The ideal MAD is zero which would mean there is no forecasting error
The larger the MAD, the less the accurate the resulting model

MAD Problem Data


Question: What is the MAD value given the forecast values in the table below?
Month
1 2 3 4 5

Sales Forecast 220 n/a 250 255 210 205 300 320 325 315

MAD Problem Solution


Month 1 2 3 4 5 Sales 220 250 210 300 325 Forecast Abs Error n/a 255 5 205 5 20 320 315 10

40

A
MAD =
t=1

- Ft

40 = = 10 4

Note that by itself, the MAD only lets us know the mean error in a set of forecasts

Regression Model

Simple Regressin Multiple Regression

Simple Linear Regression Model


The simple linear regression model seeks to fit a line through various data over time
Y

a
0 1 2 3 4 5 x (Time)

Yt = a + bx

Is the linear regression model

Yt is the regressed forecast value or dependent variable in the model, a is the intercept value of the the regression line, and b is similar to the slope of the regression line. However, since it is calculated with the variability of the data in mind, its formulation is not as straight forward as our usual notion of slope.

Simple Linier Regression Model


The least squares principle is used to obtain a and b. The equations to determine a and b are:
n ( XY ) ( X )( Y ) b n( X 2 ) ( X ) 2 Y X a b n n

Book

Page X

Price ($) Y 84 75 99 72

Into to History Basic Algebra Into to Psyc Into to Sociology

500 700 800 600

Bus. Mmgt
Intro to Biology Fund. of Jazz Princ. of Nursing Total

400
500 600 800 4,900

69
81 63 93 636

Book

Page X

Price ($) Y 84 75 99 72 XY 42,000 52,500 79,200 43,200 X2 250,000 490,000 640,000 360,000 Y2 7,056 5,625 9,801 5,184

Into to History Basic Algebra Into to Psyc Into to Sociology

500 700 800 600

Bus. Mmgt
Intro to Biology Fund. of Jazz Princ. of Nursing Total

400
500 600 800 4,900

69
81 63 93 636

27,600
40,500 37,800

160,000
250,000 360,000

4,761
6,561 3,969 8,649 51,606

74,400 640,000 397,200 3,150,000

8(397,200) (4,900)(636) 8(3,150,000) (4,900)


2

.05143

636 4,900 a 0.05143 48.0 8 8


The regression equation is: Y = 48.0 + .05143X

Tahun

biaya promosi
( jt rp )

Penjualan
( jt rp) 92 108

2005 2006

8 10

2007
2008 2009 2010 Dari data di atas diminta :

15
18 21 16

170
175 195 165

a. Memperkiraan besarnya tambahan penjualan jika biaya promosi ditambah 5 juta rupiah b. Meramalkan penjualan yang bisa dicapai jika besarnya biaya promosi yang dikeluarkan 23 jt rp c. Menentukan besarnya biaya promosi yang harus dikeluarkan jika penjualan yg ditargetkan 200 jt rp

Multiple Regression Analysis


For two independent variables, the general form of the multiple regression equation is:
Y ' a b1 X 1 b2 X 2
X1 and

X2 are the independent variables. a is the Y-intercept.


b1

is the net change in Y for each unit change in X1 holding X2 constant. It is called a partial regression coefficient

Multiple Regression Analysis


The general multiple regression with k independent variables is given by:
Y ' a b1 X 1 b2 X 2 ...bk X k
The

least squares criterion is used to develop this equation. Because determining b1, b2, etc. is very tedious, a software package such as Excel or MINITAB.

Anda mungkin juga menyukai