Documente Academic
Documente Profesional
Documente Cultură
Forecasting
Forecasting
JENIS MESIN
LAYOUT MESIN
KETRAMPILAN KARYAWAN
Characteristics of Assumptions of
Forecasts Forecasting Models
Forecasts are usually Information (data) about
wrong or seldom correct the past is available
Aggregate forecasts are The pattern of the past
usually more accurate will continue into the
Less accurate further future (Time Series
into the future Models).
Klasifikasi Model
Forecasting
Models
Qualitative Quantitative
Moving Exponential
ARIMA Neural Regression Econometrics
average smoothing Decomposition
networks
Qualitative Method
Emphasize judgement, expert opinion, surveys, etc.
Focus: medium to long range timing
Applications: New product Development, new technology.
Example Generalized Bass Model
Qualitative Quantitative
Moving Exponential
ARIMA Neural Regression Econometrics
average smoothing Decomposition
networks
Quantitative Method
Causal Methods
Price
Population Causal Year 2001
Advertising Model Sales
Sales1999
Sales1998 Time Series Year 2000
Sales1997 Model Sales
Causal Forecasting Model
Causal Model adalah suatu model forecasting yang
memandang sesuatu yang akan kita ramalkan dipengaruhi
oleh faktor faktor yang harus didefinisikan terlebih dahulu.
Sesuatu yang akan kita ramalkan disebut sebagai Dependent
Variable sedangkan faktor faktor yang mempengaruhi
disebut sebagai Independent Variable
Model ini lebih sering pula disebut sebagai Multiple
Regression, dimana 1 D.V, didefinisikan oleh n I.V dimana n >
1. Tapi ada beberapa special case untuk causal model, antara
lain :
Simple Regression 1 DV didefinisikan 1 IV + error
masuk ke Time Series Non Seasonal Pattern
Econometric Models Multiple Regression yang dibangun
dan dimodelkan khusus untuk perhitungan indikator ekonomi
Software Application
Multiple Regression
Two or more independent Multiple Regression
variables are used to
Using SPSS
predict the dependent
variable: Analyze Regression
Linear
Y = b0 + b1X1 + b2X2 + ,,,+
b pX p + e
Use Excels Tools | Data
Analysis | Regression
Different on Inputs
Example (Causal Forecasting Models)
Special Advert. Number Sacramento adalah sebuah FO
Periods offer budgets Advert. Sales
terkenal di negara X. Tabel
January 0 47900 20 299900
disamping adalah data Sales
February 2 45600 23 176600
bulan January 2003 November
March 2 10670 7 174600
2003 mereka untuk 99 oulets.
April 1 9900 4 250500
Mereka memperkirakan bahwa
May 2 36200 12 138600
nilai sales sangat dipengaruhi
June 0 4300 2 148100 oleh 3 faktor, yaitu penawaran
July 1 7700 4 207600 khusus (diskon), budget iklan,
August 2 12300 6 149700 dan jumlah iklan di sebuah TV
September 1 5700 3 215900 relasi bisnis mereka.
October 2 19100 8 208700
November 0 17300 11 142500
Hitung sales bulan Desember, bila pihak marketing memutuskan akan terjadi 3
hari diskon, 16x iklan, dan Budget iklan U$D 15424 (Using Excell Spreadsheet for
Solution) selama Desember 2003
Analisa Kelayakan Model Regresi yang dipergunakan (SPSS)
Klasifikasi Model
Forecasting
Models
Qualitative Quantitative
Moving Exponential
ARIMA Neural Regression Econometrics
average smoothing Decomposition
networks
Time Series Model Building
Base Assumption : What happen in the past will continued and
occurs in the future with special pattern followed. Phase of Time
Series
Historical data collection & Evaluation Time Series
characteristics ! Data plotting (time series plot)
Forecasting model building
Evaluation and selection of model
Forecasting with the final selected model
Types of Time Series Model
Seasonal Model
Time Series Decomposition
ARIMA Not Discuss on This
Training
Artificial Neural Network (ANN)
Components of Time Series
Trend: long term overall up or Trend Model Capture Trend
down movement Only
Seasonality: periodic pattern Moving Average Model Capture
repeating every year Trend & Seasonal
Cycles: up & down movement Exponential Smoothing Model
repeating over long time frame Trend and sometimes Seasonal
Random Variations: random (Holt and Winter Model)
movements follow no pattern Decomposition Almost all,
Note : Cyclical (fluctuations > a except Cycle (Can decompose but
year) are difficult to identify, the value for recompose need
hence are often regarded as judgement from the user)
part of the trend. Therefore our
trend component is actually a
trend-cycle component
Components of Time Series
Trend Cycle
Random
movement
Time Time
Demand
Time Time
Trend Model
Trend Model sangat tepat dipergunakan apabila karakteristik data
cenderung jelas bersifat trend.
Prinsip Trend adalah mencoba melakukan Curve Fitting berdasarkan suatu
model persamaan tertentu untuk mendapatkan persamaan garis yang
merefleksikan kondisi data aktual dengan menjadikan nilai t (waktu)
sebagai variabel independen
Beberapa model persamaan garis yang dipergunakan :
Linear Simple Linear Regression sebagai fungsi t y = ax + b + e
Kuadratik Yt = a + bt + ct2
Power Yt = atb
7Model persamaan garis lainnya
3000 S Curve, Eksponential, dll
6 2500
5 Power
2000
4
1500
3
2 1000
1 500 Quadratic
0 0
1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10
Application of Trend Using Software
Using Minitab SPPS 10.0 for Windows
Minitab pada perhitungan Trend
mempergunakan 4 persamaan SPSS menggunakan 11 Persamaan
garis garis, yaitu
Linear
Linear - Logaritma
Kuadratik
Eksponential Inverse - Kuadratik
S Curve Kubik - Power
Klik Analyze Time Series
Trend Analysis Compound - S Curve
Logistics - Growth
Eksponential
Klik Analyze Regression Curve
Estimation
Example (Trend Model)
Periods Sales PT Makmur Jaya mempunyai data sales selama 2003
sebagaimana data disamping. Anda sebagai Planner
January 185 perusahaan ditugaskan untuk membuat estimasi sales Januari
Februari 2004. Berdasarkan hasil plotting, anda melihat
February 174 kecenderungan data yang menaik tanpa adanya efek
March 200 seasonal, sehingga anda memutuskan akan menggunakan
trend projection, dengan 4 pers. Garis, linear, kuadratik,
April 210
power, dan kubik. Setelah diperhitungkan, mana yang akan
May 205 anda pilih sebagai rumusan anda ???
June 245 Sales
174
150
October
0
245
ch
il
r
ne
y
ry
ay
er
ly
r
us
be
be
be
pr
ar
Ju
ua
ob
ar
Ju
ug
A
nu
em
em
November 235
M
br
ct
te
A
Ja
ec
O
ov
Fe
ep
D
N
S
Moths
December 242
Example (Trend Model)
Power Kubik Kuadratik Linear History
Error Powe Fit Powe Error Cubic Fit Cubic Error Kuadrat Fit Kuadrat Error Linear Fit Linear Sales Periods
184,00 1,00 93,85 91,15 121,56 63,44 156,66 28,34 185 January
178,26 6,74 27,36 157,64 66,52 118,48 128,32 56,68 174 February
164,40 20,60 18,07 203,07 19,88 165,12 99,98 85,02 200 March
139,51 45,49 46,01 231,01 18,37 203,37 71,64 113,36 210 April
100,90 84,10 60,06 245,06 48,22 233,22 43,30 141,70 205 May
46,05 138,95 63,80 248,80 69,68 254,68 14,96 170,04 245 June
27,43 212,43 60,83 245,83 82,74 267,74 13,38 198,38 234 July
121,83 306,83 54,72 239,72 87,40 272,40 41,72 226,72 250 August
239,39 424,39 49,08 234,08 83,66 268,66 70,06 255,06 264 SEPT.
382,25 567,25 47,48 232,48 71,53 256,53 98,40 283,40 245 October
552,49 737,49 53,52 238,52 51,00 236,00 126,74 311,74 235 NOV
752,17 937,17 70,78 255,78 22,08 207,08 155,08 340,08 242 DECEM
1000
900
Dem and
Demand
800
3-Week
700
6-Week
600
500
1 2 3 4 5 6 7 8 9 10 11 12
Week
Moving Average Model
w
i=1
i =1
Today
Simple ES: The Model
Ft Yt 1 (1 )Yt 2 (1 ) 2 Yt 3
Ft Yt 1 (1 )Yt 2 (1 a)Yt 3
Ft Yt 1 (1 ) Ft 1
New forecast = weighted sum of last period
actual value and last period forecast
: Smoothing constant
Ft : Forecast for period t
Ft-1 : Last period forecast
Yt-1 : Last period actual value
Simple Exponential Smoothing
Properties of Simple Exponential Smoothing
Widely used and successful model
Requires very little data
Larger , more responsive forecast; Smaller ,
smoother forecast
Best can be found by Solver
Suitable for relatively stable time series
Exponential Smoothing Problem
Week Demand
1 820 Question: Given the
2 775
weekly demand data,
3 680
4 655
what are the exponential
5 750 smoothing forecasts for
6 802 periods 2-10 using =0.10
7 798 and =0.60?
8 689 Assume F1=D1
9 775
10
Exponential Smoothing Problem
Answer: The respective alphas columns denote the forecast values. Note
that you can only forecast one time period into the future.
Week Demand 0.1 0.6
1 820 820.00 820.00
2 775 820.00 820.00
3 680 815.50 820.00
4 655 801.95 817.30
5 750 787.26 808.09
6 802 783.53 795.59
7 798 785.38 788.35
8 689 786.64 786.57
9 775 776.88 786.61
10 776.69 780.77
Exponential Smoothing Problem
Note how that the smaller alpha the smoother the
line in this example.
900
800 Demand
Demand
700 0,1
600 0,6
500
1 2 3 4 5 6 7 8 9 10
Week
Evaluation Non Seasonal Model
Nave cenderung harus dihindari
MA akan cenderung bisa dipergunakan untuk estimate sales
harian, dimana efek trend ataupun seasonal tidak terlalu nampak
Sales / Produksi Harian
E.S memiliki hasil yang responsive atau smoothing terhadap actual
data. Tapi masalahnya adalah :
Hanya tepat untuk one periods ahead
Asumsi bahwa data mengikuti kecenderungan eksponensial,
sehingga seharusnya nilai foracast adalah nilai tertinggi dari
nilai nialai aktual sebelumnya
Holt dan Winter memiliki output yang baik, tapi kurang aplikatif
karena kesulitan dalam mengkonversikan nilai aktual dari alpha,
beta, dan gamma dalam kondisi aktual
Trend hanya tepat dipergunakan apabila tidak terlihat adanya
seasonal dan data aktual jelas terlihat pola nail turunnya
Klasifikasi Model
Forecasting
Models
Qualitative Quantitative
Moving Exponential
ARIMA Neural Regression Econometrics
average smoothing Decomposition
networks
Decomposition Model
Mampu menguraikan pola trend, seasonal, Random, dan cycle
secara terpisah
Rumusan dasar :
X t = f (It, Tt, Ct, Et)
Dimana :
Xt : Actual data pada periode ke t
It : Komponen Seasonal pada periode ke t
Et : Komponen error dan random pada periode ke t
Ct : Komponen Cycle pada periode ke t
Tt : Komponen trend pada periode ke t
(See case study 3 Chapter 1)
Prosedur Perhitungan Decomposition Model
Misal kita punya data sales bulanan selama 5 tahun. Kemudian dengan
Decomposition Methods, kita ingin mencari berapa sales bulan Januari tahun
ke enam. Setelah serangkaian proses kita memperoleh data data sbb :
SI January = 0.87
Qualitative Quantitative
Moving Exponential
ARIMA Neural Regression Econometrics
average smoothing Decomposition
networks
Artificial Neural Network
Proses pencarian keterkaitan antar faktor pembangun keputusan
yang disempurnakan dengan memandang hubungan antar waktu
Faktor yang terlibat adalah kuantitatif dan kualitatif
Contoh aplikasinya Software Alyuda Forecaster
Choosing a Forecasting Method
Objective data available? Delphi Methods
No
Yes
BIAS
(Actual - Forecast) Error
n n
MAD
| Actual - Forecast | | Error |
n n
No direct Excel function to calculate MAD
Evaluation of Forecasting Model
Mean Square Error MSE / MSD
MSE
(Actual - Forecast) 2
(Error) 2
n n
Excel: =SUMSQ(error range)/COUNT(error range)
Mean Absolute Percentage Error - MAPE
| Actual - Forecast |
Actual
*100%
MAPE
n
R2 - only for curve fitting model such as regression
In general, the lower the error measure (BIAS, MAD, MSE) or the higher the R2,
the better the forecasting model
MAD Problem
Question: What is the MAD value given the
forecast values in the table below?
40
n
Note that by itself, the MAD
A
t=1
t - Ft
40 only lets us know the mean
MAD = = = 10 error in a set of forecasts.
n 4
Confidence Interval for Forecast
If normal, the error can provide a
confidence interval for the forecast.
The % confidence interval for the forecast -
Using the standard deviation of the forecast:
Y Forecast Z (%) SF
t t
( A F ) 2
SF t
n 1
Confidence Interval for Forecast
If normal, the error can provide a
confidence interval for the forecast.
The % confidence interval for the forecast -
Using the standard deviation of the forecast:
Y Forecast Z (%) SF
t t
( A F ) 2
SF t
n 1
Example of Forecast Confidence Interval
Low High
Sales Sales
Technique < $100M > $500M
Managers opinion 40.7% 39.6%
Jury of executive opinion 40.7% 41.6%
Sales force composite 29.6% 35.4%
Number of Firms 27 48
Source: Nada Sanders and Karl Mandrodt (1994) Practitioners Continue to Rely on Judgmental Forecasting
Methods Instead of Quantitative Methods, Interfaces, vol. 24, no. 2, pp. 92-100.