Yandell – Econ 216 Chap 16-1 Chapter 16 Time-Series Forecasting.

Slides:



Advertisements
Similar presentations
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Lesson 12.
Advertisements

ECON 251 Research Methods 11. Time Series Analysis and Forecasting.
Time Series and Forecasting
Chapter 16 Time-Series Forecasting
Time-Series Analysis and Forecasting – Part III
19- 1 Chapter Nineteen McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
Trends and Seasonality Using Multiple Regression with Time Series Data Many time series data have a common tendency of growing over time, and therefore.
Ka-fu Wong © 2003 Chap Dr. Ka-fu Wong ECON1003 Analysis of Economic Data.
Statistics for Managers Using Microsoft® Excel 5th Edition
Analyzing and Forecasting Time Series Data
CD-ROM Chapter 15 Analyzing and Forecasting Time-Series Data
Chapter 5 Time Series Analysis
Chapter 15 Analyzing and Forecasting Time-Series Data
Operations Management Forecasting Chapter 4
Chapter 16 Time-Series Analysis and Forecasting
Basic Business Statistics (9th Edition)
Copyright ©2011 Pearson Education, Inc. publishing as Prentice Hall 16-1 Chapter 16 Time-Series Forecasting Statistics for Managers using Microsoft Excel.
Chapter 19 Time-Series Analysis and Forecasting
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Time Series and Forecasting Chapter 16.
Time Series and Forecasting
Slides 13b: Time-Series Models; Measuring Forecast Error
CHAPTER 18 Models for Time Series and Forecasting
© 2003 Prentice-Hall, Inc.Chap 12-1 Business Statistics: A First Course (3 rd Edition) Chapter 12 Time-Series Forecasting.
Lecture 4 Time-Series Forecasting
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc. Chap 16-1 Chapter 16 Time-Series Forecasting and Index Numbers Basic Business Statistics 10 th.
© 2002 Prentice-Hall, Inc.Chap 13-1 Statistics for Managers using Microsoft Excel 3 rd Edition Chapter 13 Time Series Analysis.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 12-1 Chapter 12 Simple Linear Regression Statistics for Managers Using.
Chapter 15 Time-Series Forecasting and Index Numbers
Time-Series Analysis and Forecasting – Part IV To read at home.
Time Series “The Art of Forecasting”. What Is Forecasting? Process of predicting a future event Underlying basis of all business decisions –Production.
Datta Meghe Institute of Management Studies Quantitative Techniques Unit No.:04 Unit Name: Time Series Analysis and Forecasting 1.
Copyright © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Copyright © 2003 by The McGraw-Hill Companies, Inc. All rights reserved.
CLASS B.Sc.III PAPER APPLIED STATISTICS. Time Series “The Art of Forecasting”
Time-Series Analysis and Forecasting – Part V To read at home.
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Time Series Forecasting Chapter 13.
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.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 15-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 15-1 Chapter 15 Time Series Forecasting and Index Numbers Statistics.
Simple Exponential Smoothing The forecast value is a weighted average of all the available previous values The weights decline geometrically Gives more.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 20 Time Series Analysis and Forecasting.
© 1999 Prentice-Hall, Inc. Chap Chapter Topics Component Factors of the Time-Series Model Smoothing of Data Series  Moving Averages  Exponential.
Welcome to MM305 Unit 5 Seminar Prof Greg Forecasting.
ECNE610 Managerial Economics Week 4 MARCH Dr. Mazharul Islam Chapter-5.
Economics 173 Business Statistics Lecture 26 © Fall 2001, Professor J. Petry
Learning Objectives Describe what forecasting is Explain time series & its components Smooth a data series –Moving average –Exponential smoothing Forecast.
COMPLETE BUSINESS STATISTICS
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 16-1 Chapter 16 Time-Series Forecasting and Index Numbers Basic Business Statistics 11 th.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 16-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
Time Series and Forecasting
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 14 l Time Series: Understanding Changes over Time.
Time Series and Forecasting Chapter 16 McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Chapter 20 Time Series Analysis and Forecasting. Introduction Any variable that is measured over time in sequential order is called a time series. We.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Time Series and Forecasting Chapter 16.
Statistics for Business and Economics Module 2: Regression and time series analysis Spring 2010 Lecture 7: Time Series Analysis and Forecasting 1 Priyantha.
Chapter 20 Time Series Analysis and Forecasting. Introduction Any variable that is measured over time in sequential order is called a time series. We.
TIME SERIES MODELS. Definitions Forecast is a prediction of future events used for planning process. Time Series is the repeated observations of demand.
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.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Time Series and Forecasting Chapter 16.
DSCI 346 Yamasaki Lecture 7 Forecasting.
Keller: Stats for Mgmt & Econ, 7th Ed
Chapter Nineteen McGraw-Hill/Irwin
Forecasting Methods Dr. T. T. Kachwala.
Statistics for Managers using Microsoft Excel 3rd Edition
“The Art of Forecasting”
Chapter 16 Time-Series Forecasting and Index Numbers
Time Series and Their Components
“Measures of Trend” Dr. A. PHILIP AROKIADOSS Chapter 1 Time Series
Chapter Nineteen McGraw-Hill/Irwin
Presentation transcript:

Yandell – Econ 216 Chap 16-1 Chapter 16 Time-Series Forecasting

Yandell – Econ 216 Chap 16-2 Chapter Goals After completing this chapter, you should be able to: Develop and implement basic forecasting models Identify the components present in a time series Use smoothing-based forecasting models, including single exponential smoothing Apply trend-based forecasting models, including linear trend, nonlinear trend, and seasonally adjusted trend

Yandell – Econ 216 Chap 16-3 The Importance of Forecasting Governments forecast unemployment, interest rates, and expected revenues from income taxes for policy purposes Marketing executives forecast demand, sales, and consumer preferences for strategic planning College administrators forecast enrollments to plan for facilities and for faculty recruitment Retail stores forecast demand to control inventory levels, hire employees and provide training

Yandell – Econ 216 Chap 16-4 Time-Series Data Numerical data obtained at regular time intervals The time intervals can be annually, quarterly, daily, hourly, etc. Example: Year: Sales:

Yandell – Econ 216 Chap 16-5 Time Series Plot the vertical axis measures the variable of interest the horizontal axis corresponds to the time periods A time-series plot is a two-dimensional plot of time series data

Yandell – Econ 216 Chap 16-6 Time-Series Components Time-Series Cyclical Component Irregular Component Trend Component Seasonal Component

Yandell – Econ 216 Chap 16-7 Upward trend Trend Component Long-run increase or decrease over time (overall upward or downward movement) Data taken over a long period of time Sales Time

Yandell – Econ 216 Chap 16-8 Downward linear trend Trend Component Trend can be upward or downward Trend can be linear or non-linear Sales Time Upward nonlinear trend Sales Time (continued)

Yandell – Econ 216 Chap 16-9 Seasonal Component Short-term regular wave-like patterns Observed within 1 year Often monthly or quarterly Sales Time (Quarterly) Winter Spring Summer Fall

Yandell – Econ 216 Chap Cyclical Component Long-term wave-like patterns Regularly occur but may vary in length Often measured peak to peak or trough to trough Sales 1 Cycle Year

Yandell – Econ 216 Chap Irregular Component Unpredictable, random, “residual” fluctuations Due to random variations of Nature Accidents or unusual events “Noise” in the time series

Yandell – Econ 216 Chap Multiplicative Time-Series Model Used primarily for forecasting Allows consideration of seasonal variation Observed value in time series is the product of components whereT t = Trend value at time t S t = Seasonal value at time t C t = Cyclical value at time t I t = Irregular (random) value at time t

Yandell – Econ 216 Chap Finding Seasonal Indexes Ratio-to-moving average method: Begin by removing the seasonal and irregular components (S t and I t ), leaving the trend and cyclical components (T t and C t ) To do this, we need moving averages Moving Average: averages of consecutive time series values

Yandell – Econ 216 Chap Moving Averages Used for smoothing Series of arithmetic means over time Result dependent upon choice of L (length of period for computing means) To smooth out seasonal variation, L should be equal to the number of seasons For quarterly data, L = 4 For monthly data, L = 12

Yandell – Econ 216 Chap Moving Averages Example: Four-quarter moving average First average: Second average: etc… (continued)

Yandell – Econ 216 Chap Seasonal Data QuarterSales etc… etc… … …

Yandell – Econ 216 Chap Calculating Moving Averages Each moving average is for a consecutive block of 4 quarters QuarterSales Average Period 4-Quarter Moving Average etc…

Yandell – Econ 216 Chap Centered Moving Averages Average periods of 2.5 or 3.5 don’t match the original quarters, so we average two consecutive moving averages to get centered moving averages Average Period 4-Quarter Moving Average Centered Period Centered Moving Average etc…

Yandell – Econ 216 Chap Calculating the Ratio-to-Moving Average Now estimate the S t x I t value Divide the actual sales value by the centered moving average for that quarter Ratio-to-Moving Average formula:

Yandell – Econ 216 Chap Calculating Seasonal Indexes QuarterSales Centered Moving Average Ratio-to- Moving Average … … etc… … etc… …

Yandell – Econ 216 Chap Calculating Seasonal Indexes QuarterSales Centered Moving Average Ratio-to- Moving Average … … etc… … etc… … Average all of the Fall values to get Fall’s seasonal index Fall Do the same for the other three seasons to get the other seasonal indexes (continued)

Yandell – Econ 216 Chap Interpreting Seasonal Indexes Suppose we get these seasonal indexes: Season Seasonal Index Spring0.825 Summer1.310 Fall0.920 Winter0.945  = four seasons, so must sum to 4 Spring sales average 82.5% of the annual average sales Summer sales are 31.0% higher than the annual average sales etc… Interpretation:

Yandell – Econ 216 Chap Deseasonalizing The data is deseasonalized by dividing the observed value by its seasonal index This smooths the data by removing seasonal variation

Yandell – Econ 216 Chap Deseasonalizing QuarterSales Seasonal Index Deseasonalized Sales … … … etc… (continued)

Yandell – Econ 216 Chap Unseasonalized vs. Seasonalized

Yandell – Econ 216 Chap Exponential Smoothing A weighted moving average Weights decline exponentially Most recent observation weighted most Used for smoothing and short term forecasting

Yandell – Econ 216 Chap Exponential Smoothing The weighting factor is W Subjectively chosen Range from 0 to 1 Smaller W gives more smoothing, larger W gives less smoothing The weight is: Close to 0 for smoothing out unwanted cyclical and irregular components Close to 1 for forecasting (continued)

Yandell – Econ 216 Chap Exponential Smoothing Model Exponential smoothing model where: F t+1 = forecast value for period t + 1 Y t = actual value for period t F t = forecast value for period t W = weight (smoothing constant) or:

Yandell – Econ 216 Chap Exponential Smoothing Example Suppose we use weight W =.2 Quarter (t) Sales (Y t ) Forecast from prior period Forecast for next period (F t+1 ) etc… etc… NA etc… 23 (.2)(40)+(.8)(23)=26.4 (.2)(25)+(.8)(26.4)=26.12 (.2)(27)+(.8)(26.12)= (.2)(32)+(.8)(26.296)= (.2)(48)+(.8)(27.437)= (.2)(48)+(.8)(31.549)= (.2)(33)+(.8)(31.840)= (.2)(37)+(.8)(32.872)= (.2)(50)+(.8)(33.697)= etc… F 1 = Y 1 since no prior information exists

Yandell – Econ 216 Chap Sales vs. Smoothed Sales Seasonal fluctuations have been smoothed NOTE: the smoothed value in this case is generally a little low, since the trend is upward sloping and the weighting factor is only.2

Yandell – Econ 216 Chap Exponential Smoothing in Excel Use: data analysis / exponential smoothing The “damping factor” is (1 - W)

Yandell – Econ 216 Chap Trend-Based Forecasting Estimate a trend line using regression analysis Year Time Period (t) Sales (Y) Use time (t) as the independent variable:

Yandell – Econ 216 Chap Trend-Based Forecasting The linear trend model is: Year Time Period (t) Sales (Y) (continued)

Yandell – Econ 216 Chap Trend-Based Forecasting Forecast for time period 7: Year Time Period (t) Sales (y) ?? (continued)

Yandell – Econ 216 Chap Comparing Forecast Values to Actual Data The forecast error or residual is the difference between the actual value in time t and the forecast value in time t: Error in time t:

Yandell – Econ 216 Chap Autocorrelation Autocorrelation is correlation of the error terms (residuals) over time (continued) Violates the regression assumption that residuals are random and independent Here, residuals show a cyclic pattern, not random

Yandell – Econ 216 Chap Testing for Autocorrelation The Durbin-Watson Statistic is used to test for autocorrelation H 0 : ρ = 0 (residuals are not correlated) H 1 : ρ ≠ 0 (autocorrelation is present) Durbin-Watson test statistic:

Yandell – Econ 216 Chap Testing for Positive Autocorrelation  Calculate the Durbin-Watson test statistic = DW (The Durbin-Watson Statistic can be found using PHStat) Decision rule: reject H 0 if DW < d L H 0 : ρ = 0 (positive autocorrelation does not exist) H 1 : ρ > 0 (positive autocorrelation is present) 0dUdU 2dLdL Reject H 0 Do not reject H 0  Find the values d L and d U from the Durbin-Watson table (for sample size n and number of independent variables p) Inconclusive

Yandell – Econ 216 Chap Example with n = 25: Durbin-Watson Calculations Sum of Squared Difference of Residuals Sum of Squared Residuals Durbin-Watson Statistic Testing for Positive Autocorrelation (continued) Excel/PHStat output:

Yandell – Econ 216 Chap Here, n = 25 and there is one independent variable Using the Durbin-Watson table, d L = 1.29 and d U = 1.45 DW = < d L = 1.29, so reject H 0 and conclude that significant positive autocorrelation exists Therefore the linear model is not the appropriate model to forecast sales Testing for Positive Autocorrelation (continued) Decision: reject H 0 since DW = < d L 0 d U = d L =1.29 Reject H 0 Do not reject H 0 Inconclusive

Yandell – Econ 216 Chap Nonlinear Trend Forecasting A nonlinear regression model can be used when the time series exhibits a nonlinear trend One form of a nonlinear model: Compare r 2 and standard error to that of linear model to see if this is an improvement Can try other functional forms to get best fit

Yandell – Econ 216 Chap Chapter Summary Discussed the importance of forecasting Addressed component factors present in the time-series model Computed and interpreted index numbers Described least square trend fitting and forecasting linear and nonlinear models Performed smoothing of data series moving averages single and double exponential smoothing