• Tidak ada hasil yang ditemukan

1bmoving average and exp smoothing

N/A
N/A
Protected

Academic year: 2019

Membagikan "1bmoving average and exp smoothing"

Copied!
43
0
0

Teks penuh

(1)

Moving Average

Moving Average

And

And

Exponential

Exponential

Smoothing

(2)

Moving Averages

Moving Averages

n

Simple moving average =

demand in previous

n

periods

Moving average

methods consist of

computing an average of the most recent

n

data values for the time series and

using this average for the forecast of the

next period.

(3)

Wallace Garden Supply’s

Wallace Garden Supply’s

Three-Month Moving Average

Three-Month Moving Average

Month

Actual

Shed

Sales

Three-Month

Moving Average

January

10

(4)

You’re manager of a museum

store that sells historical

replicas. You want to forecast

sales (000) for

2003

using a

3

-period moving average.

1998

4

1999

6

2000

5

2001

3

2002

7

Moving Average

Moving Average

Example

(5)

Moving Average

Moving Average

Solution

Solution

Time Response

Y

i

Moving

Total

(n=3)

Moving

Average

(n=3)

1998

4

NA

NA

1999

6

NA

NA

2000

5

NA

NA

2001

3

4+6+5=15 15/3 = 5

2002

7

(6)

Moving Average

Moving Average

Solution

Solution

Time Response

Y

i

Moving

Total

(n=3)

Moving

Average

(n=3)

1998

4

NA

NA

1999

6

NA

NA

2000

5

NA

NA

2001

3

4+6+5=15 15/3 = 5

2002

7

6+5+3=14 14/3=4 2/3

(7)

Moving Average

Moving Average

Solution

Solution

Time Response

Y

i

Moving

Total

(n=3)

Moving

Average

(n=3)

1998

4

NA

NA

1999

6

NA

NA

2000

5

NA

NA

2001

3

4+6+5=15 15/3=5.0

2002

7

6+5+3=14 14/3=4.7

(8)

95 96 97 98 99 00

Year

Sales

2

4

6

8

Actual

Forecast

Moving Average

Moving Average

Graph

(9)

Weighted Moving

Weighted Moving

Averages

Averages

Weighted moving averages

use weights

to put more emphasis on recent periods.

(weight for period

n

) (demand in period

n

)

∑ weights

Weighted moving average =

(10)

Calculating Weighted

Calculating Weighted

Moving Averages

Moving Averages

Weights

Applied

Period

3

Last month

2

Two months ago

1

Three months ago

3*Sales last month +

2*Sales two months ago +

1*Sales three

months ago

(11)

Wallace Garden’s Weighted

Wallace Garden’s Weighted

Three-Month Moving Average

Three-Month Moving Average

Month

Actual

Shed

Sales

Three-Month Weighted

Moving Average

10

[3*19+2*16+1*13]/6 = 17

(12)

Used when trend is present

Older data usually less

important

Weights based on intuition

Often lay between 0 & 1, & sum

to 1.0

Equation

WMA =

WMA =

Σ

Σ

(Weight for period n

(Weight for period

n

) (Demand in period n

) (Demand in period

n

)

)

Σ

Σ

Weights

Weights

Weighted Moving

Weighted Moving

Average Method

(13)

Actual Demand, Moving

Actual Demand, Moving

Average, Weighted Moving

Average, Weighted Moving

Average

Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec

Month

(14)

Increasing

n

makes

forecast less sensitive to

changes

Do not forecast trend

well

Require much historical

data

© 1984-1994 T/Maker Co.

Disadvantages of

Disadvantages of

Moving Average

Moving Average

Methods

(15)

Exponential Smoothing

Exponential Smoothing

Exponential smoothing

is a type of

moving average technique that involves

little record keeping of past data.

New forecast

= previous forecast +

(previous actual –previous

forecast)

Mathematically this is expressed as:

F

t

= F

t-1

+

(Y

t-1

- F

t-1

)

F

t-1

= previous forecast

= smoothing constant

F

t

= new forecast

(16)

F

t

=

F

t

-1

+

(

A

t

-1

-

F

t

-1

)

Use for computing forecast

F

t

=

A

t

- 1

+

(1-

)

A

t

- 2

+



(1-

)

2

·A

t

- 3

+

(1-

)

3

A

t

- 4

+ ...

+

(1-

)

t-

1

·A

0

F

t

= Forecast value

A

t

= Actual value

= Smoothing constant

Exponential Smoothing

Exponential Smoothing

Equations

(17)

Form of weighted moving

average

Weights decline exponentially

Most recent data weighted most

Requires smoothing constant

(

)

Ranges from 0 to 1

Subjectively chosen

Involves little record keeping

of past data

Exponential Smoothing

Exponential Smoothing

Method

(18)

F

t

=

A

t

- 1

+

(1-

)

A

t

- 2

+

(1-

)

2

A

t

- 3

+ ...

Forecast Effects of

Forecast Effects of

Smoothing Constant

(19)

F

t

=

A

t

- 1

+

(1-

)

A

t

- 2

+

(1-

)

2

A

t

- 3

+ ...

Forecast Effects of

Forecast Effects of

Smoothing Constant

Smoothing Constant

(20)

F

t

=

A

t

- 1

+

(1-

)

A

t

- 2

+

(1-

)

2

A

t

- 3

+ ...

Forecast Effects of

Forecast Effects of

Smoothing Constant

Smoothing Constant

(21)

F

t

=

A

t

- 1

+

(1-

)

A

t

- 2

+

(1-

)

2

A

t

- 3

+ ...

Forecast Effects of

Forecast Effects of

Smoothing Constant

Smoothing Constant

(22)

F

t

=

A

t

- 1

+

(1-

)

A

t

- 2

+

(1-

)

2

A

t

- 3

+ ...

Forecast Effects of

Forecast Effects of

Smoothing Constant

Smoothing Constant

(23)

F

t

=

A

t

- 1

+

(1-

)

A

t

- 2

+

(1-

)

2

A

t

- 3

+ ...

Forecast Effects of

Forecast Effects of

Smoothing Constant

Smoothing Constant

(24)

Port of Baltimore

Port of Baltimore

Exponential Smoothing

Exponential Smoothing

Example

Example

Qtr

Actual

Tonnage

Unloaded

Rounded Forecast using

=0.10

1

180

175

2

168

176= 175.00+0.10(180-175)

3

159

175 =175.50+0.10(168-175.50)

4

175

173 =174.75+0.10(159-174.75)

5

190

173 =173.18+0.10(175-173.18)

6

205

175 =173.36+0.10(190-173.36)

7

180

178 =175.02+0.10(205-175.02)

8

182

178 =178.02+0.10(180-178.02)

(25)

Port of Baltimore

Port of Baltimore

Exponential Smoothing

Exponential Smoothing

Example

Example

Qtr

Actual

Tonnage

Unloaded

Rounded Forecast using

=0.50

1

180

175

2

168

178 =175.00+0.50(180-175)

3

159

173 =177.50+0.50(168-177.50)

4

175

166 =172.75+0.50(159-172.75)

5

190

170 =165.88+0.50(175-165.88)

6

205

180 =170.44+0.50(190-170.44)

7

180

193 =180.22+0.50(205-180.22)

8

182

186 =192.61+0.50(180-192.61)

(26)

Selecting a Smoothing

Selecting a Smoothing

Constant

Constant

Actual

Forecast with

a = 0.10

Absolute

Deviations

Forecast with

a = 0.50

To select the best smoothing constant,

evaluate the accuracy of each forecasting

model.

(27)

During the past 8 quarters, the Port of Baltimore

has unloaded large quantities of grain.

(

= .10

).

The first quarter forecast was

175.

.

Quarter

Actual

Exponential Smoothing

Exponential Smoothing

Example

Example

(28)

F

t

=

F

t

-1

+ 0.1(

A

t

-1

-

F

t

-1

)

Quarter

Quarter

Actual

Actual

Forecast,

F

t

(

α

α

=

=

.10

.10

)

)

1

1

180

175.00 (Given)

2

Exponential Smoothing

Exponential Smoothing

Solution

(29)

Quarter

Quarter

Actual

Actua

Forecast,

F

t

(

α

α

=

=

.10

.10

)

)

1

1

180

180

175.00 (Given)

175.00 (Given)

2

Exponential Smoothing

Exponential Smoothing

Solution

Solution

(30)

Quarter

Quarter

Actual

Actual

Forecast,

Forecast,

F

F

t

t

(

(

α

α

=

=

.10

.10

)

)

1

1

180

180

175.00 (Given)

175.00 (Given)

2

Exponential Smoothing

Exponential Smoothing

Solution

Solution

(31)

Quarter

Quarter

Actual

Actual

Forecast,

F

t

(

α

α

=

=

.10

.10

)

)

1

1

180

180

175.00 (Given)

175.00 (Given)

2

Exponential Smoothing

Exponential Smoothing

Solution

Solution

(32)

Quarter

Quarter

Actual

Actual

Forecast,

Forecast,

F

F

t

t

(

(

α

α

=

=

.10

.10

)

)

1

1

180

180

175.00 (Given)

175.00 (Given)

2

Exponential Smoothing

Exponential Smoothing

Solution

Solution

(33)

F

t

=

F

t

-1

+ 0.1(

A

t

-1

-

F

t

-1

)

Quarter

Quarter

Actual

Actual

Forecast,

F

t

(

α

α

=

=

.10

.10

)

)

1

180

175.00 (Given)

2

Exponential Smoothing

Exponential Smoothing

Solution

(34)

F

t

=

F

t

-1

+ 0.1(

A

t

-1

-

F

t

-1

)

QuarterActual

Forecast,

F

t

(

α

=

.10

)

1995 180

175.00 (Given)

1996 168175.00 + .10(180 - 175.00) = 175.50

1997

159

175.50 + .10(168 - 175.50) = 174.75

1998 175

1999 190

2000 205

174.75

+

.10

(159

- 174.75

)

= 173.18

Exponential Smoothing

Exponential Smoothing

Solution

(35)

F

t

=

F

t

-1

+ 0.1(

A

t

-1

-

F

t

-1

)

Quarter Actual

Forecast,

F

t

(

α

=

.10

)

1

180

175.00 (Given)

2

168175.00 + .10(180 - 175.00) = 175.50

3

159175.50 + .10(168 - 175.50) = 174.75

4

175

174.75 + .10(159 - 174.75) = 173.18

5

190173.18 +

.10

(175

- 173.18

)

= 173.36

6

205

Exponential Smoothing

Exponential Smoothing

Solution

(36)

F

t

=

F

t

-1

+ 0.1(

A

t

-1

-

F

t

-1

)

Quarter Actual

Forecast,

F

t

(

α

=

.10

)

1

180

175.00 (Given)

2

168175.00 + .10(180 - 175.00) = 175.50

3

159175.50 + .10(168 - 175.50) = 174.75

4

175174.75 + .10(159 - 174.75) = 173.18

5

190

173.18 + .10(175 - 173.18) = 173.36

6

205

173.36

+

.10

(190

- 173.36

) = 175.02

Exponential Smoothing

Exponential Smoothing

Solution

(37)

F

t

=

F

t

-1

+ 0.1(

A

t

-1

-

F

t

-1

)

Time Actual

Forecast,

F

t

(

α

=

.10

)

4

175174.75 + .10(159 - 174.75) = 173.18

5

190173.18 + .10(175 - 173.18) = 173.36

6

205

173.36

+ .10(190 - 173.36) = 175.02

Exponential Smoothing

Exponential Smoothing

Solution

Solution

7

180

8

175.02 +

.10

(205

- 175.02

) = 178.02

(38)

F

t

=

F

t

-1

+ 0.1(

A

t

-1

-

F

t

-1

)

Time Actual

Forecast,

F

t

(

α

=

.10

)

4

175

174.75 + .10(159 - 174.75) = 173.18

5

190

173.18 + .10(175 - 173.18) = 173.36

6

205 173.36

+ .10(190 - 173.36) = 175.02

Exponential Smoothing

Exponential Smoothing

Solution

Solution

7

180

8

175.02 + .10(205 - 175.02) = 178.02

9

178.22 +

.10

(182

- 178.22) =

178.58

182

178.02 + .10(180 - 178.02) =

178.22

(39)

Impact of

(40)

Choosing

Choosing

Seek to minimize the Mean Absolute Deviation (MAD)

If:

Forecast error = demand - forecast

Then:

n

errors

-forecast

(41)

PM Computer: Moving

PM Computer: Moving

Average Example

Average Example

PM Computer assembles customized

personal computers from generic parts.

The owners purchase generic computer

parts in volume at a discount from a

variety of sources whenever they see a

good deal.

(42)

PM Computers: Data

PM Computers: Data

Period month actual demand

1

Jan

37

2

Feb

40

3

Mar

41

4

Apr

37

5

May

45

6

June

50

7

July

43

8

Aug

47

9

Sept

56

Compute a 2-month moving average

Compute a 3-month weighted average using weights

of 4,2,1 for the past three months of data

Compute an exponential smoothing forecast using

= 0.7

(43)

PM Computers: Moving

PM Computers: Moving

Average Solution

Average Solution

2 month

MA

Abs. Dev

3 month WMA

Abs. Dev

Exp.Sm.

Abs. Dev

37.00

37.00

3.00

38.50

2.50

39.10

1.90

40.50

3.50

40.14

3.14

40.43

3.43

39.00

6.00

38.57

6.43

38.03

6.97

41.00

9.00

42.14

7.86

42.91

7.09

47.50

4.50

46.71

3.71

47.87

4.87

46.50

0.50

45.29

1.71

44.46

2.54

45.00

11.00

46.29

9.71

46.24

9.76

51.50

51.57

53.07

5.29

5.43

4.95

Referensi

Dokumen terkait

BAHAN LISTRIK - 1 TITIK LAMPU (KABEL INSTALASI STANDAR PLN) TTK. - 17 LAMPU HIAS TAMAN

Peraturan Menteri Pendidikan Nasional Nomor 23 Tahun 2006 tentang Standar Kompetensi Lulusan untuk Satuan Pendidikan Dasar dan Menengah.. Tersedia:

[r]

demokrasi yang dijalankan di Indonesia haruslah berbeda dengan nasionalisme. dan demokrasi yang dijalankan di negara-negara

Dalam membuat studi kelayakan mahasiswa juga mempertimbangkan aspek teknis yakni bagaimana memilih lokasi pabrik memilih dan laoyout pabrik, juga mempertimbangkan bentuk usahan

Laporan Praktikum Analisis Kualitatif Anion |2 Anion berinti banyak dijumpai pada anion okso yang berinti 2, 3 atau 4 atom.. oksigen yang terikat pada atom inti dan

Dari hasil penelitian tersebut telah terbukti bahwa variabel Monday Effect berpengaruh signifikan pada minggu keempat dalam setiap bulannya, sedangkan return pada hari

Dengan demikian dapat dikatakan bahwa selama tiga dasawarsa terakhir perhatian pemerintah terhadap pengemba- ngan sektor andalan pertanian sangat kurang utamanya