4 Forecasting Demand PowerPoint presentation to accompany

Slides:



Advertisements
Similar presentations
© 1997 Prentice-Hall, Inc. S2 - 1 Principles of Operations Management Forecasting Chapter S2.
Advertisements

Operations Management Forecasting Chapter 4
Bina Nusantara Model Ramalan Peretemuan 13: Mata kuliah: K0194-Pemodelan Matematika Terapan Tahun: 2008.
Prepared by Lee Revere and John Large
© 2006 Prentice Hall, Inc.4 – 1  Short-range forecast  Up to 1 year, generally less than 3 months  Purchasing, job scheduling, workforce levels, job.
4 Forecasting PowerPoint presentation to accompany Heizer and Render
PRODUCTION AND OPERATIONS MANAGEMENT
Forecasting.
1 Learning Objectives When you complete this chapter, you should be able to : Identify or Define:  Forecasting  Types of forecasts  Time horizons 
To accompany Quantitative Analysis for Management, 8e by Render/Stair/Hanna 5-1 © 2003 by Prentice Hall, Inc. Upper Saddle River, NJ PERTEMUAN 14.
Operations Management
Operations Management
© 2008 Prentice Hall, Inc.4 – 1 Operations Management Chapter 4 – Forecasting Delivered by: Eng.Mosab I. Tabash Eng.Mosab I. Tabash.
Operations Management
Operations Management Forecasting Chapter 4
© 2004 by Prentice Hall, Inc., Upper Saddle River, N.J Operations Management Forecasting Chapter 4.
4 Forecasting PowerPoint presentation to accompany Heizer and Render
4 - 1© 2011 Pearson Education, Inc. publishing as Prentice Hall 4 4 Forecasting.
Mr. David P. Blain. C.Q.E. Management Department UNLV
© 2011 Pearson Education, Inc. publishing as Prentice Hall What is Forecasting?  Process of predicting a future event  Underlying basis of all business.
4 Forecasting PowerPoint presentation to accompany Heizer and Render
© 2008 Prentice Hall, Inc.4 – 1 Outline – Continued  Time-Series Forecasting  Decomposition of a Time Series  Naive Approach  Moving Averages  Exponential.
Time Series “The Art of Forecasting”. What Is Forecasting? Process of predicting a future event Underlying basis of all business decisions –Production.
Operations and Supply Chain Management
Datta Meghe Institute of Management Studies Quantitative Techniques Unit No.:04 Unit Name: Time Series Analysis and Forecasting 1.
Forecasting. What is Forecasting? Process of predicting a future event Underlying basis of all business decisions: Production Inventory Personnel Facilities.
Production Planning and Control. 1. Naive approach 2. Moving averages 3. Exponential smoothing 4. Trend projection 5. Linear regression Time-Series Models.
CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”
© 2006 Prentice Hall, Inc.4 – 1 Forcasting © 2006 Prentice Hall, Inc. Heizer/Render Principles of Operations Management, 6e Operations Management, 8e.
Operations Management
Chapter 4 Forecasting Production Planning Overview  What is forecasting?  Types of forecasts  7 steps of forecasting  Qualitative forecasting.
Time-Series Forecasting Learning Objectives 1.Describe What Forecasting Is 2. Forecasting Methods 3.Explain Time Series & Components 4.Smooth a Data.
MBA.782.ForecastingCAJ Demand Management Qualitative Methods of Forecasting Quantitative Methods of Forecasting Causal Relationship Forecasting Focus.
LSM733-PRODUCTION OPERATIONS MANAGEMENT By: OSMAN BIN SAIF LECTURE 5 1.
Copyright 2006 John Wiley & Sons, Inc. Beni Asllani University of Tennessee at Chattanooga Forecasting Operations Management - 6 th Edition Chapter 12.
Copyright ©2016 Cengage Learning. All Rights Reserved
© 1999 Prentice-Hall, Inc. Chap Chapter Topics Component Factors of the Time-Series Model Smoothing of Data Series  Moving Averages  Exponential.
4 - 1© 2011 Pearson Education, Inc. publishing as Prentice Hall 4 4 Forecasting PowerPoint presentation to accompany Heizer and Render Operations Management,
Welcome to MM305 Unit 5 Seminar Prof Greg Forecasting.
4 - 1© 2014 Pearson Education Forecasting Demand PowerPoint presentation to accompany Heizer and Render Operations Management, Global Edition, Eleventh.
Learning Objectives Describe what forecasting is Explain time series & its components Smooth a data series –Moving average –Exponential smoothing Forecast.
Lecture 18 Forecasting (Continued) Books Introduction to Materials Management, Sixth Edition, J. R. Tony Arnold, P.E., CFPIM, CIRM, Fleming College, Emeritus,
4 - 1© 2011 Pearson Education, Inc. publishing as Prentice Hall 4 4 Forecasting.
Quantitative Forecasting Methods (Non-Naive)
Chapter 4 Forecasting. Ch. 4: What is covered? Moving AverageMoving Average Weighted Moving AverageWeighted Moving Average Exponential SmoothingExponential.
4 - 1 Course Title: Production and Operations Management Course Code: MGT 362 Course Book: Operations Management 10 th Edition. By Jay Heizer & Barry Render.
© 2006 Prentice Hall, Inc.4 – 1 Operations Management Chapter 4 - Forecasting Chapter 4 - Forecasting © 2006 Prentice Hall, Inc. PowerPoint presentation.
Chapter 12 Forecasting. Lecture Outline Strategic Role of Forecasting in SCM Components of Forecasting Demand Time Series Methods Forecast Accuracy Regression.
4 - 1© 2011 Pearson Education, Inc. publishing as Prentice Hall 4 4 Forecasting PowerPoint presentation to accompany Heizer and Render Operations Management,
To Accompany Russell and Taylor, Operations Management, 4th Edition,  2003 Prentice-Hall, Inc. All rights reserved. Chapter 8 Forecasting To Accompany.
Welcome to MM305 Unit 5 Seminar Forecasting. What is forecasting? An attempt to predict the future using data. Generally an 8-step process 1.Why are you.
4 - 1© 2011 Pearson Education Influence of Product Life Cycle  Introduction and growth require longer forecasts than maturity and decline  As product.
4 Forecasting Demand PowerPoint presentation to accompany
Operations Management
4 Forecasting PowerPoint presentation to accompany Heizer and Render
Quantitative Analysis for Management
Chapter 4.
4 Forecasting PowerPoint presentation to accompany Heizer and Render
Forecasting techniques
“The Art of Forecasting”
Chapter 3 –Forecasting.
4 Forecasting Demand PowerPoint presentation to accompany
Operations Management
Operations Management
Module 2: Demand Forecasting 2.
4 Forecasting PowerPoint presentation to accompany Heizer and Render
Texas A&M Industrial Engineering
Operations Management
Prepared by Lee Revere and John Large
“Measures of Trend” Dr. A. PHILIP AROKIADOSS Chapter 1 Time Series
Presentation transcript:

4 Forecasting Demand PowerPoint presentation to accompany Heizer and Render Operations Management, Global Edition, Eleventh Edition Principles of Operations Management, Global Edition, Ninth Edition PowerPoint slides by Jeff Heyl © 2014 Pearson Education

Outline What is Forecasting? Forecasting Approaches Qualitative Methods Quantitative Methods Naive Approach Moving Averages Exponential Smoothing Exponential Smoothing with Trend Adjustment Trend Projections Seasonal Variations in Data Linear Regression

?? What is Forecasting? Process of predicting a future event Underlying basis of all business decisions Production Inventory Personnel Facilities ??

Forecasting Time Horizons Short-range forecast Up to 1 year, generally less than 3 months Purchasing, job scheduling, workforce levels, job assignments, production levels Tend to be more accurate than longer-term forecasts Medium-range forecast 3 months to 3 years Sales and production planning, budgeting Long-range forecast 3+ years New product planning, facility location, research and development

The Realities! Forecasts are seldom perfect, unpredictable outside factors may impact the forecast Most techniques assume an underlying stability in the system Product family and aggregated forecasts are more accurate than individual product forecasts

Forecasting Approaches Qualitative Forecasting Used when situation is vague and little data such as new products, new technology Involves intuition, experience Quantitative Forecasting Used when situation is ‘stable’ and historical data exist Existing products Current technology Involves mathematical techniques e.g., forecasting sales of color televisions

Overview of Quantitative Approaches Naive approach Moving averages Exponential smoothing Trend projection Linear regression Time-series models Associative model

Time-Series Forecasting Set of evenly spaced numerical data Obtained by observing response variable at regular time periods Forecast based only on past values, no other variables important Assumes that factors influencing past and present will continue influence in future

Time-Series Components Trend Cyclical Seasonal Random

Average demand over 4 years Components of Demand Trend component Demand for product or service | | | | 1 2 3 4 Time (years) Seasonal peaks Actual demand line Average demand over 4 years Random variation Figure 4.1

Trend Component Persistent, overall upward or downward pattern Changes due to population, technology, age, culture, etc. Typically several years duration

NUMBER OF “SEASONS” IN PATTERN Seasonal Component Regular pattern of up and down fluctuations Due to weather, customs, etc. Occurs within a single year PERIOD LENGTH “SEASON” LENGTH NUMBER OF “SEASONS” IN PATTERN Week Day 7 Month 4 – 4.5 28 – 31 Year Quarter 4 12 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

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

Moving Average Example MONTH ACTUAL SHED SALES 3-MONTH MOVING AVERAGE January 10 February 12 March 13 April 16 May 19 June 23 July 26 August 30 September 28 October 18 November December 14 10 12 13 (10 + 12 + 13)/3 = 11 2/3 (12 + 13 + 16)/3 = 13 2/3 (13 + 16 + 19)/3 = 16 (16 + 19 + 23)/3 = 19 1/3 (19 + 23 + 26)/3 = 22 2/3 (23 + 26 + 30)/3 = 26 1/3 (29 + 30 + 28)/3 = 28 (30 + 28 + 18)/3 = 25 1/3 (28 + 18 + 16)/3 = 20 2/3

Weighted Moving Average Used when some trend might be present Older data usually less important Weights based on experience and intuition Weighted moving average

Weighted Moving Average MONTH ACTUAL SHED SALES 3-MONTH WEIGHTED MOVING AVERAGE January 10 February 12 March 13 April 16 May 19 June 23 July 26 August 30 September 28 October 18 November December 14 [(3 x 13) + (2 x 12) + (10)]/6 = 12 1/6 10 12 13 WEIGHTS APPLIED PERIOD 3 Last month 2 Two months ago 1 Three months ago 6 Sum of the weights Forecast for this month = 3 x Sales last mo. + 2 x Sales 2 mos. ago + 1 x Sales 3 mos. ago

Weighted Moving Average MONTH ACTUAL SHED SALES 3-MONTH WEIGHTED MOVING AVERAGE January 10 February 12 March 13 April 16 May 19 June 23 July 26 August 30 September 28 October 18 November December 14 10 12 13 [(3 x 13) + (2 x 12) + (10)]/6 = 12 1/6 [(3 x 16) + (2 x 13) + (12)]/6 = 14 1/3 [(3 x 19) + (2 x 16) + (13)]/6 = 17 [(3 x 23) + (2 x 19) + (16)]/6 = 20 1/2 [(3 x 26) + (2 x 23) + (19)]/6 = 23 5/6 [(3 x 30) + (2 x 26) + (23)]/6 = 27 1/2 [(3 x 28) + (2 x 30) + (26)]/6 = 28 1/3 [(3 x 18) + (2 x 28) + (30)]/6 = 23 1/3 [(3 x 16) + (2 x 18) + (28)]/6 = 18 2/3

Potential Problems With Moving Average Increasing n smooths the forecast but makes it less sensitive to changes Does not forecast trends well Requires extensive historical data

Graph of Moving Averages Weighted moving average | | | | | | | | | | | | J F M A M J J A S O N D Sales demand 30 – 25 – 20 – 15 – 10 – 5 – Month Actual sales Moving average Figure 4.2

Exponential Smoothing 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 New forecast = Last period’s forecast + a (Last period’s actual demand – Last period’s forecast) Ft = Ft – 1 + a(At – 1 - Ft – 1) OR Ft = a(At - 1) + (1 - a)(Ft – 1) where Ft = new forecast Ft – 1 = previous period’s forecast a = smoothing (or weighting) constant (0 ≤ a ≤ 1) At – 1 = previous period’s actual demand

Exponential Smoothing Example Predicted demand = 142 Ford Mustangs Actual demand = 153 Smoothing constant a = .20

Exponential Smoothing Example Predicted demand = 142 Ford Mustangs Actual demand = 153 Smoothing constant a = .20 New forecast = 142 + .2(153 – 142)

Exponential Smoothing Example Predicted demand = 142 Ford Mustangs Actual demand = 153 Smoothing constant a = .20 New forecast = 142 + .2(153 – 142) = 142 + 2.2 = 144.2 ≈ 144 cars

Impact of Different  225 – 200 – 175 – 150 – Demand | | | | | | | | | 225 – 200 – 175 – 150 – | | | | | | | | | 1 2 3 4 5 6 7 8 9 Quarter Demand Actual demand a = .5 a = .1

Impact of Different  225 – 200 – 175 – 150 – | | | | | | | | | 1 2 3 4 5 6 7 8 9 Quarter Demand Chose high values of  when underlying average is likely to change Choose low values of  when underlying average is stable Actual demand a = .5 a = .1

Choosing  The objective is to obtain the most accurate forecast no matter the technique We generally do this by selecting the model that gives us the lowest forecast error Forecast error = Actual demand – Forecast value = At – Ft

Common Measures of Error Mean Absolute Deviation (MAD)

ACTUAL TONNAGE UNLOADED Determining the MAD QUARTER ACTUAL TONNAGE UNLOADED FORECAST WITH a = .10 FORECAST WITH a = .50 1 180 175 2 168 175.50 = 175.00 + .10(180 – 175) 177.50 3 159 174.75 = 175.50 + .10(168 – 175.50) 172.75 4 173.18 = 174.75 + .10(159 – 174.75) 165.88 5 190 173.36 = 173.18 + .10(175 – 173.18) 170.44 6 205 175.02 = 173.36 + .10(190 – 173.36) 180.22 7 178.02 = 175.02 + .10(205 – 175.02) 192.61 8 182 178.22 = 178.02 + .10(180 – 178.02) 186.30 9 ? 178.59 = 178.22 + .10(182 – 178.22) 184.15

Determining the MAD QUARTER ACTUAL TONNAGE UNLOADED FORECAST WITH ABSOLUTE DEVIATION FOR a = .10 a = .50 ABSOLUTE DEVIATION FOR a = .50 1 180 175 5.00 2 168 175.50 7.50 177.50 9.50 3 159 174.75 15.75 172.75 13.75 4 173.18 1.82 165.88 9.12 5 190 173.36 16.64 170.44 19.56 6 205 175.02 29.98 180.22 24.78 7 178.02 1.98 192.61 12.61 8 182 178.22 3.78 186.30 4.30 Sum of absolute deviations: 82.45 98.62 MAD = Σ|Deviations| 10.31 12.33 n

Common Measures of Error Mean Squared Error (MSE)

ACTUAL TONNAGE UNLOADED Determining the MSE QUARTER ACTUAL TONNAGE UNLOADED FORECAST FOR a = .10 (ERROR)2 1 180 175 52 = 25 2 168 175.50 (–7.5)2 = 56.25 3 159 174.75 (–15.75)2 = 248.06 4 173.18 (1.82)2 = 3.31 5 190 173.36 (16.64)2 = 276.89 6 205 175.02 (29.98)2 = 898.80 7 178.02 (1.98)2 = 3.92 8 182 178.22 (3.78)2 = 14.29 Sum of errors squared = 1,526.52

Comparison of Forecast Error Rounded Absolute Rounded Absolute Actual Forecast Deviation Forecast Deviation Tonnage with for with for Quarter Unloaded a = .10 a = .10 a = .50 a = .50 1 180 175 5.00 175 5.00 2 168 175.5 7.50 177.50 9.50 3 159 174.75 15.75 172.75 13.75 4 175 173.18 1.82 165.88 9.12 5 190 173.36 16.64 170.44 19.56 6 205 175.02 29.98 180.22 24.78 7 180 178.02 1.98 192.61 12.61 8 182 178.22 3.78 186.30 4.30 82.45 98.62

Comparison of Forecast Error MAD = ∑ |deviations| n Rounded Absolute Rounded Absolute Actual Forecast Deviation Forecast Deviation Tonnage with for with for Quarter Unloaded a = .10 a = .10 a = .50 a = .50 = 82.45/8 = 10.31 For a = .10 1 180 175 5.00 175 5.00 2 168 175.5 7.50 177.50 9.50 3 159 174.75 15.75 172.75 13.75 4 175 173.18 1.82 165.88 9.12 5 190 173.36 16.64 170.44 19.56 6 205 175.02 29.98 180.22 24.78 7 180 178.02 1.98 192.61 12.61 8 182 178.22 3.78 186.30 4.30 82.45 98.62 = 98.62/8 = 12.33 For a = .50

Comparison of Forecast Error MSE = ∑ (forecast errors)2 n Rounded Absolute Rounded Absolute Actual Forecast Deviation Forecast Deviation Tonnage with for with for Quarter Unloaded a = .10 a = .10 a = .50 a = .50 = 1,526.54/8 = 190.82 For a = .10 1 180 175 5.00 175 5.00 2 168 175.5 7.50 177.50 9.50 3 159 174.75 15.75 172.75 13.75 4 175 173.18 1.82 165.88 9.12 5 190 173.36 16.64 170.44 19.56 6 205 175.02 29.98 180.22 24.78 7 180 178.02 1.98 192.61 12.61 8 182 178.22 3.78 186.30 4.30 82.45 98.62 MAD 10.31 12.33 = 1,561.91/8 = 195.24 For a = .50

Comparison of Forecast Error Rounded Absolute Rounded Absolute Actual Forecast Deviation Forecast Deviation Tonnage with for with for Quarter Unloaded a = .10 a = .10 a = .50 a = .50 1 180 175 5.00 175 5.00 2 168 175.5 7.50 177.50 9.50 3 159 174.75 15.75 172.75 13.75 4 175 173.18 1.82 165.88 9.12 5 190 173.36 16.64 170.44 19.56 6 205 175.02 29.98 180.22 24.78 7 180 178.02 1.98 192.61 12.61 8 182 178.22 3.78 186.30 4.30 82.45 98.62 MAD 10.31 12.33 MSE 190.82 195.24

Comparison of Forecast Error Rounded Absolute Rounded Absolute Actual Forecast Deviation Forecast Deviation Tonnage with for with for Quarter Unloaded a = .10 a = .10 a = .50 a = .50 1 180 175 5.00 175 5.00 2 168 175.5 7.50 177.50 9.50 3 159 174.75 15.75 172.75 13.75 4 175 173.18 1.82 165.88 9.12 5 190 173.36 16.64 170.44 19.56 6 205 175.02 29.98 180.22 24.78 7 180 178.02 1.98 192.61 12.61 8 182 178.22 3.78 186.30 4.30 82.45 98.62 MAD 10.31 12.33 MSE 190.82 195.24

Trend Projections Fitting a trend line to historical data points to project into the medium to long-range Linear trends can be found using the least squares technique y = a + bx ^ where y = computed value of the variable to be predicted (dependent variable) a = y-axis intercept b = slope of the regression line x = the independent variable ^

Least Squares Method Actual observation (y-value) Time period Values of Dependent Variable (y-values) | | | | | | | 1 2 3 4 5 6 7 Deviation1 (error) Deviation5 Deviation7 Deviation2 Deviation6 Deviation4 Deviation3 Actual observation (y-value) Least squares method minimizes the sum of the squared errors (deviations) Trend line, y = a + bx ^ Figure 4.4

Least Squares Method Equations to calculate the regression variables

Least Squares Example YEAR ELECTRICAL POWER DEMAND 1 74 5 105 2 79 6 142 3 80 7 122 4 90

Least Squares Example YEAR (x) ELECTRICAL POWER DEMAND (y) x2 xy 1 74 79 4 158 3 80 9 240 90 16 360 5 105 25 525 6 142 36 852 7 122 49 854 Σx = 28 Σy = 692 Σx2 = 140 Σxy = 3,063

Least Squares Example Demand in year 8 = 56.70 + 10.54(8) YEAR (x) ELECTRICAL POWER DEMAND (y) x2 xy 1 74 2 79 4 158 3 80 9 240 90 16 360 5 105 25 525 6 142 36 852 7 122 49 854 Σx = 28 Σy = 692 Σx2 = 140 Σxy = 3,063 Demand in year 8 = 56.70 + 10.54(8) = 141.02, or 141 megawatts

Least Squares Example Trend line, y = 56.70 + 10.54x | | | | | | | | | ^ | | | | | | | | | 1 2 3 4 5 6 7 8 9 160 – 150 – 140 – 130 – 120 – 110 – 100 – 90 – 80 – 70 – 60 – 50 – Year Power demand (megawatts) Figure 4.5

Seasonal Variations In Data The multiplicative seasonal model can adjust trend data for seasonal variations in demand

Seasonal Variations In Data Steps in the process for monthly seasons: Find average historical demand for each month Compute the average demand over all months Compute a seasonal index for each month Estimate next year’s total demand Divide this estimate of total demand by the number of months, then multiply it by the seasonal index for that month

Seasonal Index Example DEMAND MONTH YEAR 1 YEAR 2 YEAR 3 AVERAGE YEARLY DEMAND AVERAGE MONTHLY DEMAND SEASONAL INDEX Jan 80 85 105 Feb 70 Mar 93 82 Apr 90 95 115 May 113 125 131 June 110 120 July 100 102 Aug 88 Sept Oct 77 78 Nov 75 83 Dec 90 80 85 100 123 115 105 Total average annual demand = 1,128

Seasonal Index Example DEMAND MONTH YEAR 1 YEAR 2 YEAR 3 AVERAGE YEARLY DEMAND AVERAGE MONTHLY DEMAND SEASONAL INDEX Jan 80 85 105 90 94 Feb 70 Mar 93 82 Apr 95 115 100 May 113 125 131 123 June 110 120 July 102 Aug 88 Sept Oct 77 78 Nov 75 83 Dec Total average annual demand = 1,128 Average monthly demand

Seasonal Index Example DEMAND MONTH YEAR 1 YEAR 2 YEAR 3 AVERAGE YEARLY DEMAND AVERAGE MONTHLY DEMAND SEASONAL INDEX Jan 80 85 105 90 94 Feb 70 Mar 93 82 Apr 95 115 100 May 113 125 131 123 June 110 120 July 102 Aug 88 Sept Oct 77 78 Nov 75 83 Dec Total average annual demand = 1,128 .957( = 90/94) Seasonal index

Seasonal Index Example DEMAND MONTH YEAR 1 YEAR 2 YEAR 3 AVERAGE YEARLY DEMAND AVERAGE MONTHLY DEMAND SEASONAL INDEX Jan 80 85 105 90 94 .957( = 90/94) Feb 70 .851( = 80/94) Mar 93 82 .904( = 85/94) Apr 95 115 100 1.064( = 100/94) May 113 125 131 123 1.309( = 123/94) June 110 120 1.223( = 115/94) July 102 1.117( = 105/94) Aug 88 Sept Oct 77 78 Nov 75 83 Dec Total average annual demand = 1,128

Seasonal Index Example Seasonal forecast for Year 4 MONTH DEMAND Jan 1,200 x .957 = 96 July x 1.117 = 112 12 Feb x .851 = 85 Aug x 1.064 = 106 Mar x .904 = 90 Sept Apr Oct May x 1.309 = 131 Nov June x 1.223 = 122 Dec

Seasonal Index Example Year 4 Forecast Year 3 Demand Year 2 Demand Year 1 Demand 140 – 130 – 120 – 110 – 100 – 90 – 80 – 70 – | | | | | | | | | | | | J F M A M J J A S O N D Time Demand

San Diego Hospital Trend Data 10,200 – 10,000 – 9,800 – 9,600 – Figure 4.6 10,200 – 10,000 – 9,800 – 9,600 – 9,400 – 9,200 – 9,000 – | | | | | | | | | | | | Jan Feb Mar Apr May June July Aug Sept Oct Nov Dec 67 68 69 70 71 72 73 74 75 76 77 78 Month Inpatient Days 9530 9551 9573 9594 9616 9637 9659 9680 9702 9724 9745 9766

San Diego Hospital Seasonality Indices for Adult Inpatient Days at San Diego Hospital MONTH SEASONALITY INDEX January 1.04 July 1.03 February 0.97 August March 1.02 September April 1.01 October 1.00 May 0.99 November 0.96 June December 0.98

San Diego Hospital Seasonal Indices 1.06 – 1.04 – 1.04 1.02 – 1.03 Figure 4.7 1.06 – 1.04 – 1.02 – 1.00 – 0.98 – 0.96 – 0.94 – 0.92 – | | | | | | | | | | | | Jan Feb Mar Apr May June July Aug Sept Oct Nov Dec 67 68 69 70 71 72 73 74 75 76 77 78 Month Index for Inpatient Days 1.04 1.02 1.01 0.99 1.03 1.00 0.98 0.97 0.96

San Diego Hospital Period 67 68 69 70 71 72 Month Jan Feb Mar Apr May June Forecast with Trend & Seasonality 9,911 9,265 9,164 9,691 9,520 9,542 73 74 75 76 77 78 July Aug Sept Oct Nov Dec 9,949 10,068 9,411 9,724 9,355 9,572

San Diego Hospital Combined Trend and Seasonal Forecast 10,200 – Figure 4.8 10,200 – 10,000 – 9,800 – 9,600 – 9,400 – 9,200 – 9,000 – | | | | | | | | | | | | Jan Feb Mar Apr May June July Aug Sept Oct Nov Dec 67 68 69 70 71 72 73 74 75 76 77 78 Month Inpatient Days 9911 9265 9764 9520 9691 9411 9949 9724 9542 9355 10068 9572

Adjusting Trend Data Quarter I: Quarter II: Quarter III: Quarter IV:

Associative Forecasting Used when changes in one or more independent variables can be used to predict the changes in the dependent variable Most common technique is linear regression analysis We apply this technique just as we did in the time-series example

Associative Forecasting Forecasting an outcome based on predictor variables using the least squares technique y = a + bx ^ where y = value of the dependent variable (in our example, sales) a = y-axis intercept b = slope of the regression line x = the independent variable ^

Associative Forecasting Example NODEL’S SALES (IN $ MILLIONS), y AREA PAYROLL (IN $ BILLIONS), x 2.0 1 2 3.0 3 2.5 4 3.5 7 4.0 – 3.0 – 2.0 – 1.0 – | | | | | | | 0 1 2 3 4 5 6 7 Area payroll (in $ billions) Nodel’s sales (in$ millions)

Associative Forecasting Example SALES, y PAYROLL, x x2 xy 2.0 1 3.0 3 9 9.0 2.5 4 16 10.0 2 4.0 3.5 7 49 24.5 Σy = 15.0 Σx = 18 Σx2 = 80 Σxy = 51.5

Associative Forecasting Example SALES, y PAYROLL, x x2 xy 2.0 1 3.0 3 9 9.0 2.5 4 16 10.0 2 4.0 3.5 7 49 24.5 Σy = 15.0 Σx = 18 Σx2 = 80 Σxy = 51.5

Associative Forecasting Example 4.0 – 3.0 – 2.0 – 1.0 – | | | | | | | 0 1 2 3 4 5 6 7 Area payroll (in $ billions) Nodel’s sales (in$ millions) SALES, y PAYROLL, x x2 xy 2.0 1 3.0 3 9 9.0 2.5 4 16 10.0 2 4.0 3.5 7 49 24.5 Σy = 15.0 Σx = 18 Σx2 = 80 Σxy = 51.5

Associative Forecasting Example If payroll next year is estimated to be $6 billion, then: Sales (in $ millions) = 1.75 + .25(6) = 1.75 + 1.5 = 3.25 Sales = $3,250,000

Associative Forecasting Example 4.0 – 3.0 – 2.0 – 1.0 – | | | | | | | 0 1 2 3 4 5 6 7 Area payroll (in $ billions) Nodel’s sales (in$ millions) If payroll next year is estimated to be $6 billion, then: 3.25 Sales (in$ millions) = 1.75 + .25(6) = 1.75 + 1.5 = 3.25 Sales = $3,250,000

Standard Error of the Estimate A forecast is just a point estimate of a future value This point is actually the mean of a probability distribution 4.0 – 3.0 – 2.0 – 1.0 – | | | | | | | 0 1 2 3 4 5 6 7 Area payroll (in $ billions) Nodel’s sales (in$ millions) 3.25 Regression line, Figure 4.9

Standard Error of the Estimate n = number of data points We use the standard error to set up prediction intervals around the point estimate

Standard Error of the Estimate 4.0 – 3.0 – 2.0 – 1.0 – | | | | | | | 0 1 2 3 4 5 6 7 Area payroll (in $ billions) Nodel’s sales (in$ millions) 3.25 The standard error of the estimate is $306,000 in sales

Prediction Intervals Upper limit = Y + t*Sy,x α=0.05 n= 6 data Lower limit = Y - t*Sy,x tα/2, n-2 =2.78 (see Student’s t Distribution Table) Upper limit = $3,250,000 + 2.78 * $306,000 =$4,100,680 Lower limit = $3,250,000 - 2.78 * $306,000 = $2,399,320 We are 95% confident the actual sales for next year will be between $2,399,320 and $4,100,680. © 2011 Pearson Education, Inc. publishing as Prentice Hall

Correlation How strong is the linear relationship between the variables? Coefficient of correlation, r, measures degree of association Values range from -1 to +1

Correlation Coefficient Figure 4.10 y x (a) Perfect negative correlation y x (e) Perfect positive correlation y x (b) Negative correlation y x (d) Positive correlation High Moderate Low Correlation coefficient values | | | | | | | | | –1.0 –0.8 –0.6 –0.4 –0.2 0 0.2 0.4 0.6 0.8 1.0 y x (c) No correlation

Correlation Coefficient y x x2 xy y2 2.0 1 4.0 3.0 3 9 9.0 2.5 4 16 10.0 6.25 2 3.5 7 49 24.5 12.25 Σy = 15.0 Σx = 18 Σx2 = 80 Σxy = 51.5 Σy2 = 39.5

Coefficient of Determination Coefficient of Determination, r2, measures the percent of change in y predicted by the change in x Values range from 0 to 1 Easy to interpret For the Nodel Construction example: r = .901 r2 = .81

Multiple-Regression Analysis If more than one independent variable is to be used in the model, linear regression can be extended to multiple regression to accommodate several independent variables Computationally, this is quite complex and generally done on the computer