Antti Salonen PPU Le 2: Forecasting 1

Similar documents
PPU411 Antti Salonen. Forecasting. Forecasting PPU Forecasts are critical inputs to business plans, annual plans, and budgets

Antti Salonen KPP Le 3: Forecasting KPP227

Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall.

Chapter 8 - Forecasting

CP:

Forecasting. Chapter Copyright 2010 Pearson Education, Inc. Publishing as Prentice Hall

Operations Management

Forecasting. Dr. Richard Jerz rjerz.com

Chapter 7 Forecasting Demand

Chapter 13: Forecasting

Operations Management

Lecture 4 Forecasting

Forecasting Chapter 3

CHAPTER 18. Time Series Analysis and Forecasting

Lecture Prepared By: Mohammad Kamrul Arefin Lecturer, School of Business, North South University

3. If a forecast is too high when compared to an actual outcome, will that forecast error be positive or negative?

Assistant Prof. Abed Schokry. Operations and Productions Management. First Semester

15 yaş üstü istihdam ( )

Forecasting. Operations Analysis and Improvement Spring

Chapter 5: Forecasting

QMT 3001 BUSINESS FORECASTING. Exploring Data Patterns & An Introduction to Forecasting Techniques. Aysun KAPUCUGİL-İKİZ, PhD.

References. 1. Russel et al., Operations Managemnt, 4 th edition. Management 3. Dr-Ing. Daniel Kitaw, Industrial Management and Engineering Economy

Introduction to Forecasting

Forecasting: The First Step in Demand Planning

CHAPTER 14. Time Series Analysis and Forecasting STATISTICS IN PRACTICE:

Forecasting. Copyright 2015 Pearson Education, Inc.

Lecture Prepared By: Mohammad Kamrul Arefin Lecturer, School of Business, North South University

Forecasting. BUS 735: Business Decision Making and Research. exercises. Assess what we have learned

DEPARTMENT OF QUANTITATIVE METHODS & INFORMATION SYSTEMS

Forecasting Using Time Series Models

Demand and Supply Integration:

Ch. 12: Workload Forecasting

Every day, health care managers must make decisions about service delivery

Dennis Bricker Dept of Mechanical & Industrial Engineering The University of Iowa. Forecasting demand 02/06/03 page 1 of 34

Industrial Engineering Prof. Inderdeep Singh Department of Mechanical & Industrial Engineering Indian Institute of Technology, Roorkee

Bus 216: Business Statistics II Introduction Business statistics II is purely inferential or applied statistics.

Product and Inventory Management (35E00300) Forecasting Models Trend analysis

Time-Series Analysis. Dr. Seetha Bandara Dept. of Economics MA_ECON

Name (print, please) ID

Dennis Bricker Dept of Mechanical & Industrial Engineering The University of Iowa. Exponential Smoothing 02/13/03 page 1 of 38

SOLVING PROBLEMS BASED ON WINQSB FORECASTING TECHNIQUES

Decision 411: Class 3

Forecasting Workbench in PRMS TM. Master Production Schedule. Material Requirements Plan. Work Order/ FPO Maintenance. Soft Bill Maintenance

TIMES SERIES INTRODUCTION INTRODUCTION. Page 1. A time series is a set of observations made sequentially through time

Decision 411: Class 3

CHAPTER 1: Decomposition Methods

BUSI 460 Suggested Answers to Selected Review and Discussion Questions Lesson 7

STAT 115: Introductory Methods for Time Series Analysis and Forecasting. Concepts and Techniques

Motorcycle Sales January 9 February 7 March 10 April 8 May 7 June 12 July 10 August 11 September 12 October 10 November 14 December 16

Lecture 1: Introduction to Forecasting

Based on the original slides from Levine, et. all, First Edition, Prentice Hall, Inc

Forecasting. Summarizing Forecast Accuracy, 78. Approaches to Forecasting, 80 Qualitative Forecasts 80

INTRODUCTION TO FORECASTING (PART 2) AMAT 167

Decision 411: Class 3

Agile Forecasting & Integrated Business Planning

The empirical ( ) rule

A Plot of the Tracking Signals Calculated in Exhibit 3.9

FORECASTING AND MODEL SELECTION

Chapter 14: Basics of Functions

An approach to make statistical forecasting of products with stationary/seasonal patterns

Figure 1. Time Series Plot of arrivals from Western Europe

SYMBIOSIS CENTRE FOR DISTANCE LEARNING (SCDL) Subject: production and operations management

Forecasting. Simon Shaw 2005/06 Semester II

WEATHER NORMALIZATION METHODS AND ISSUES. Stuart McMenamin Mark Quan David Simons

8.4 Application to Economics/ Biology & Probability

You are allowed two hours to answer this question paper. All questions are compulsory.

Problem 4.1, HR7E Forecasting R. Saltzman. b) Forecast for Oct. 12 using 3-week weighted moving average with weights.1,.3,.6: 372.

Time Series and Forecasting

Lecture # 31. Questions of Marks 3. Question: Solution:

Some Personal Perspectives on Demand Forecasting Past, Present, Future

Chapter 4 Predictive Analytics I Time Series Analysis and Regression

A B C 1 Robert's Drugs 2 3 Week (t ) Sales t. Forec t

Math Want to have fun with chapter 4? Find the derivative. 1) y = 5x2e3x. 2) y = 2xex - 2ex. 3) y = (x2-2x + 3) ex. 9ex 4) y = 2ex + 1

The Art of Forecasting

CHAPTER 4: DATASETS AND CRITERIA FOR ALGORITHM EVALUATION

NSP Electric - Minnesota Annual Report Peak Demand and Annual Electric Consumption Forecast

Demand Forecasting. for. Microsoft Dynamics 365 for Operations. User Guide. Release 7.1. April 2018

Advances in promotional modelling and analytics

Business Mathematics and Statistics (MATH0203) Chapter 1: Correlation & Regression

HEALTHCARE. 5 Components of Accurate Rolling Forecasts in Healthcare

Time Series and Forecasting

YEAR 10 GENERAL MATHEMATICS 2017 STRAND: BIVARIATE DATA PART II CHAPTER 12 RESIDUAL ANALYSIS, LINEARITY AND TIME SERIES

Test 2 VERSION A STAT 3090 Fall 2017

Forecasting models and methods

Forecasting of Electric Consumption in a Semiconductor Plant using Time Series Methods

Forecasting: principles and practice. Rob J Hyndman 1.1 Introduction to Forecasting

Forecasting Methods And Applications 3rd Edition

STA 6104 Financial Time Series. Moving Averages and Exponential Smoothing

Time Series Analysis -- An Introduction -- AMS 586

STAT 212 Business Statistics II 1

Determine the trend for time series data

Forecasting: Principles and Practice. Rob J Hyndman. 1. Introduction to forecasting OTexts.org/fpp/1/ OTexts.org/fpp/2/3

GLOBAL COMPANY PROFILE: Walt Disney Parks & Resorts What Is Forecasting? 108. Analysis 131 Seven Steps in the Forecasting

As included in Load Forecast Review Report (Page 1):

Forecasting. Al Nosedal University of Toronto. March 8, Al Nosedal University of Toronto Forecasting March 8, / 80

Forecasting Product Sales for Masters Energy Oil and Gas Using. Different Forecasting Methods

How Accurate is My Forecast?

A Dynamic Combination and Selection Approach to Demand Forecasting

Chapter 5. Increasing and Decreasing functions Theorem 1: For the interval (a,b) f (x) f(x) Graph of f + Increases Rises - Decreases Falls

Aggregate Planning. Production Planning and Control. Anadolu Üniversitesi Mühendislik Mimarlık Fakültesi Endüstri Mühendisliğ Bölümü

Transcription:

- 2017 1

Forecasting Forecasts are critical inputs to business plans, annual plans, and budgets Finance, human resources, marketing, operations, and supply chain managers need forecasts to plan: output levels, purchases of services and materials, workforce and output schedules, inventories, and long-term capacities Forecasts are made on many different variables Forecasts are important to managing both processes and managing supply chains 2

Forecasting Forecasts assume causal systems (past à future) Forecasts are rarely perfect because of randomness Forecasts are more accurate for groups than for individuals Forecast accuracy decreases as time horizon increases 3

Demand patterns Quantity Horizontal: Data cluster about a horizontal line Time 4

Demand patterns Quantity Trend: Data consistently increase or decrease Time 5

Demand patterns Quantity Seasonal: Data consistently show peaks and valleys Year 1 Year 2 J F M A M J J A S O N D Months Time 6

Demand patterns Quantity Cyclical: Data reveal gradual increases and decreases over extended periods 1 2 3 4 5 6 Years Time 7

Forecasting techniques Judgement methods: When lacking historical data, firms rely on managerial judgment and experience to generate forecasts. Methods used are: Sales force estimates Executive opinion Market research Delphi method 8

Forecasting techniques Causal methods: When historical data is available and the relationship between the factor to be forecasted and other external or internal factors can be identified. Linear regression is the most commonly used causal method. 9

Linear regression Dependent variable Y Estimate of Y from regression equation Deviation, or error Actual value of Y Value of X used to estimate Y Regression equation: Y = a + bx Independent variable X 10

Linear regression In order to plan for our production, we have to prepare a forecast of our product demand. To guide us, the marketing manager has provided us with the advertising budget for a brass door hinge. Month Sales (thousands of units) Advertising (thousands of ) 1 264 2,5 2 116 1,3 3 165 1,4 4 101 1 5 209 2 The marketing manager says that next month, the company will spend 1750 on advertising for the product. Use linear regression to develop an equation and a forecast for this product. 11

Linear regression Sales 300 250 200 150 Sales 100 50 0 1 1,3 1,4 2 2,5 12

Linear regression Month Advertising X Sales Y XY X 2 Y 2 1 2,5 264 660 6,25 69696 2 1,3 116 150,8 1,69 13456 3 1,4 165 231 1,96 27225 4 1 101 101 1 10201 5 2 209 418 4 43681 Total: 8,2 855 1560,8 14,9 164259 13

Linear regression Regression equation: Y = a + bx 14

Linear regression Sales 300 250 200 150 Sales 100 50 0 1 1,3 1,4 2 2,5 15

Linear regression Forecast accuracy Correlation coefficient Value: -1 to +1 0 = No correlation -1 = negative correlation +1 = positive correlation Coefficient of determination Value: 0-1 Shows to what extent the variations in Y is explained by the x-values Standard error of the estimate Indicates the average deviation between the regression line and the true outcome 16

Linear regression Forecast accuracy 15.61 17

Linear regression The forecast for month 6 is: 183015 units. 18

Linear regression In our factory, a machine cell is cutting gears. The normal times (in minutes) for cutting an eight-inch-diameter gear for the last five jobs are shown in the following table. The next eight-inch-diameter gear is to have 20 teeth. Estimate how long cutting the gear will take Job number Cutting time Number of teeth 2542 115 23 2557 84 17 2571 52 10 2593 138 28 2611 67 14 19

Linear regression Job no. Teeth, X Cutting time, Y XY X 2 2542 23 115 2645 529 2557 17 84 1428 289 2571 10 52 520 100 2593 28 138 3864 784 2611 14 67 938 196 Total: 92 456 9395 1898 20

Linear regression The estimated time for cutting the 20 teeth gear is: 99 minutes. 21

Forecasting techniques Time series methods: Time series methods use historical information regarding only the dependent variable, based on the assumption that the past pattern will continue into the future. Methods used are: Naive forecasting Simple moving averages Weighted moving averages Exponential smoothing 22

Naive forecasting F t+1 = D t F t+1 = forecast for period t + 1 D t = actual demand in period t May take demand trends into account May be used to account for seasonal patterns Advantages: Simplicity and low cost The method works best when the horizontal trends or seasonal patterns are stable and the random variations are small. 23

Simple moving average Used to estimate the average of a demand time series and thereby remove the effects of random fluctuation. Most useful when demand has no pronounced trend or seasonal influences. The stability of the demand series generally determines how many periods to include. 24

Simple moving average A forecast for period t + 1 can be calculated at the end of period t (after the actual demand for period t is known) as Sum of last n demands F t+1 = = n D t + D t-1 + D t-2 + + D t-n+1 n where D t = actual demand in period t n = total number of periods in the average F t+1 = forecast for period t + 1 25

Simple moving average 450 430 Patient arrivals 410 390 370 0 5 10 15 20 25 30 Week 26

Simple moving average EXAMPLE 13.2 a. Compute a three-week moving average forecast for the arrival of medical clinic patients in week 4. The numbers of arrivals for the past three weeks were as follows: Week Patient Arrivals 1 400 2 380 3 411 27

Simple moving average SOLUTION a. The moving average forecast at the end of week 3 is Week Patient Arrivals 1 400 2 380 3 411 411 + 380 + 400 F 4 = = 397.0 3 b. If the actual number of patient arrivals in week 4 is 415, what is the forecast error for week 4? c. What is the forecast for week 5? 28

Simple moving average b. The forecast error for week 4 is E 4 = D 4 F 4 = 415 397 = 18 c. The forecast for week 5 requires the actual arrivals from weeks 2 through 4, the three most recent weeks of data 380 + 411 + 415 F 5 = = 402.0 3 29

Simple moving average 450 430 Patient arrivals 410 390 370 0 5 10 15 20 25 30 Week 30

Simple moving average 450 3-week MA forecast 430 Patient arrivals 410 390 370 0 5 10 15 20 25 30 Week 31

Simple moving average 450 3-week MA forecast 6-week MA forecast 430 Patient arrivals 410 390 370 0 5 10 15 20 25 30 Week 32

Weighted moving average In the weighted moving average method, each historical demand in the average can have its own weight, provided that the sum of the weights equals 1.0. The average is obtained by multiplying the weight of each period by the actual demand for that period, and then adding the products together: F t+1 = W 1 D 1 + W 2 D 2 + + W n D t-n+1 A three-period weighted moving average model with the most recent period weight of 0.50, the second most recent weight of 0.30, and the third most recent might be weight of 0.20 F t+1 = 0.50D t + 0.30D t 1 + 0.20D t 2 33

Weighted moving average Revisiting the customer arrival data in the earlier example with patient arrivals, let W 1 = 0.50, W 2 = 0.30, and W 3 = 0.20. Use the weighted moving average method to forecast arrivals for month 4. F 4 = W 1 D 3 + W 2 D 2 + W 3 D 1 = 0.50(411) + 0.30(380) + 0.20(400) = 399.5 Since we cannot have fractions of people or other discrete items, we round the figure to 400 patients The actual arrivals in period 4 was, as earlier mentioned, 415 patients. So, what was the forecast error? E 4 = 415 400 = 15 34

Weighted moving average The actual number of arrivals in month 4 is 415. Compute the forecast for month 5 F 5 = W 1 D 4 + W 2 D 3 + W 3 D 2 = 0.50(415) + 0.30(411) + 0.20(380) = 406.8 Forecast for month 5 is 407customer arrivals 35

Exponential smoothing A sophisticated weighted moving average that calculates the average of a time series by giving recent demands more weight than earlier demands Requires only three items of data The forecast for this period The actual demand for this period A smoothing parameter, alpha (α), where 0 α 1.0 The equation for the forecast is F t+1 = α(demand this period) + (1 α)(forecast calculated last period) F t+1 = αd t + (1 α)f t or the equivalent: F t+1 = F t + α(d t F t ) 36

Exponential smoothing The emphasis given to the most recent demand levels can be adjusted by changing the smoothing parameter Larger α values emphasize recent levels of demand and result in forecasts more responsive to changes in the underlying average Smaller α values treat past demand more uniformly and result in more stable forecasts Exponential smoothing is simple and requires minimal data When the underlying average is changing, results will lag actual changes 37

EXAMPLE 13.3 Exponential smoothing a. Reconsider the patient arrival data in Example 13.2. It is now the end of week 3. Using α = 0.10, calculate the exponential smoothing forecast for week 4. b. What was the forecast error for week 4 if the actual demand turned out to be 415? c. What is the forecast for week 5? Week Patient Arrivals 1 400 2 380 3 411 4 415 38

SOLUTION Exponential smoothing a. The exponential smoothing method requires an initial forecast. Suppose that we take the demand data for the first two weeks and average them, obtaining (400 + 380)/2 = 390 as an initial forecast. To obtain the forecast for week 4, using exponential smoothing with and the initial forecast of 390, we calculate the average at the end of week 3 as: F 4 = 0.10(411) + 0.90(390) = 392.1 Thus, the forecast for week 4 would be 392 patients. 39

Exponential smoothing b. The forecast error for week 4 is E 4 = 415 392 = 23 c. The new forecast for week 5 would be F 5 = 0.10(415) + 0.90(392.1) = 394.4,,,or 394 patients. Note that we used F 4, not the integer-value forecast for week 4, in the computation for F 5. In general, we round off (when it is appropriate) only the final result to maintain as much accuracy as possible in the calculations. 40

Exponential smoothing with trend If the historic data shows an obvious trend, we can compensate for that by smoothing, not only the forecast, but also the trend, using an additional smoothing factor, β. So we end up performing three calculations: The average demand, the trend, and the sum of these two, which is the forecast for the coming period. 41

Exponential smoothing with trend First we calculate the current estimates of the trend (A t A t-1 ). Estimates for both the average and the trend are smoothed, requiring two constants. A t = αd t + (1-α)(A t-1 +T t-1 ) T t = β(a t -A t-1 ) + (1- β) T t-1 F t+1 = A t + T t A t = exponential smoothed average of the series in period t T t = exponential smoothed average of the trend in period t α = smoothing parameter for average (value 0-1) β = smoothing parameter for trend (value 0-1) F t+1 = forecast for period t+1 42

Exponential smoothing with trend In order to plan the operations of a medical lab, the managers request a forecast of the number of patients requesting blood analysis per week. Recent publications about the dammaging effects of cholesterol on the heart has caused a national increase in the request for standard blood tests. The lab ran an average of 28 blood tests per week during the past four weeks. The trend over that period was 3 additional patients per week. This week s demand was for 27 blood tests. It is decided we should use α=0.20, and β=0.20 to calculate the forecast for next week. 43

Exponential smoothing with trend Solution: A 0 =28 patients, and T 0 =3 patients α=0.20, and β=0.20 The forecast for week 2 (next week) is: A 1 =0.20(27) + 0.80(28+3)=30.2 T 1 =0.20(30.2 28) + 0.80(3)=2.8 F 2 =30.2 + 2.8 = 33 patients If the actual number of blood tests requested in week 2 proved to be 44, the uppdated forecast for week 3 would be: A 2 =0.20(44) + 0.80(30.2+2.8)=35.2 T 1 =0.20(35.2 30.2) + 0.80(2.8)=3.2 F 3 =35.2 + 3.2 = 38.4 (38 patients) 44

Multiplicative Seasonal Method 1. For each year, calculate the average demand per season by dividing annual demand by the number of seasons/year. E.g. D=600, and each month is a season: 600/12 = 50 units. 2. For each year, divide actual demand for a season by the average demand per season (seasonal index) 3. Calculate the average seasonal index for each season (add seasonal indicies for a season and divide by the number of years of data. 4. Calculate each season s forecast for the next year. Begin by estimating average demand/season using naive method, moving average, exponential smoothing, trend adjustment exponential smoothing, etc. Then obtain the seasonal forecast by multiplying the seasonal index by the average demand/season. 45

Multiplicative Seasonal Method The manager of Stanley Steemer carpet cleaner company needs a quarterly forecast of the number of customers expected next year. The carpet cleaning business is seasonal, with a peak in the third quarter and a trough in the first quarter. Following are the quarterly demand data from the past four years: Quarter Year 1 Year 2 Year 3 Year 4 1 45 70 100 100 2 335 370 585 725 3 520 590 830 1160 4 100 170 285 215 Total: 1000 1200 1800 2200 The manager wants to forecast customer demand for each quarter of year 5, based on the estimate of total year 5 demand of 2600 customers. 46

Multiplicative Seasonal Method Solution: 1) Average number of customers/season is: Y1: 1000/4 = 250 Y2: 1200/4 = 300 Y3: 1800/4 = 450 Y4: 2200/4 = 550 47

Multiplicative Seasonal Method 2) Seasonal indicies are: Q Year 1 Year 2 Year 3 Year 4 1 45/250 = 0.18 70/300 = 0.23 100/450 = 0.22 100/550 = 0.18 2 335/250 = 1.34 370/300 = 1.23 585/450 = 1.30 725/550 = 1.32 3 520/250 = 2.08 590/300 = 1.97 830/450 = 1.84 1160/550 = 2.11 4 100/250 = 0.40 170/300 = 0.57 285/450 = 0.63 215/550 = 0.39 48

Multiplicative Seasonal Method 3) Average seasonal indecies are: Q Average seasonal index 1 (0.18+0.23+0.22+0.18)/4 = 0.20 2 (1.34+1.23+1.30+1.32)/4 = 1.30 3 (2.08+1.97+1.84+2.11)/4 = 2.0 4 (0.40+0.57+0.63+0.39)/4 = 0.5 49

Multiplicative Seasonal Method 4) Demand for year 5 is total 2600 (2600/4 = 650): Q Forecast 1 0.20(650) = 130 2 1.30(650) = 845 3 2.0(650) = 1300 4 0.5(650) = 325 50

Forecast errors E t = D t F t E t = Forecast error for period t D t = Actual demand for period t F t = Forecast for period t Average forecast error CFE = Cumulative sum of Forecast Errors Mean Square Error (MSE) 51

Forecast errors Standard deviation σ Mean Absolute Deviation (MAD) Mean Absolute Percentage Error (MAPE) 52

Relevant book chapters Chapter: Forecasting demand Exersice: SQ Forecasting 53

Questions? antti.salonen@mdh.se Next session on Tuesday 2017-04-04 Workshop 54

Focus on the study questions (SQ) Theoretical discussions or questions on the content of the book chapter. You need to send me questions in advance, no later than Sunday 2017-04-02 55