Time Series Analysis and Forecasting

Slides:



Advertisements
Similar presentations
Spreadsheet Modeling & Decision Analysis
Advertisements

Decomposition Method.
Chapter 11: Forecasting Models
Exponential Smoothing Methods
Analyzing and Forecasting Time Series Data
Chapter 12 - Forecasting Forecasting is important in the business decision-making process in which a current choice or decision has future implications:
1 Spreadsheet Modeling & Decision Analysis: A Practical Introduction to Management Science, 3e by Cliff Ragsdale.
Forecasting.
MOVING AVERAGES AND EXPONENTIAL SMOOTHING
Chapter 13 Forecasting.
Forecasting & Time Series Minggu 6. Learning Objectives Understand the three categories of forecasting techniques available. Become aware of the four.
Operations Management Forecasting Chapter 4
Copyright 2006 John Wiley & Sons, Inc. Beni Asllani University of Tennessee at Chattanooga Forecasting Operations Chapter 12 Roberta Russell & Bernard.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. 3 Forecasting.
Business Forecasting Chapter 5 Forecasting with Smoothing Techniques.
Slides 13b: Time-Series Models; Measuring Forecast Error
CHAPTER 18 Models for Time Series and Forecasting
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 5 th edition Cliff T. Ragsdale.
PPT ON BUSINESS STATISTICS
1 1 Slide © 2009 South-Western, a part of Cengage Learning Chapter 6 Forecasting n Quantitative Approaches to Forecasting n Components of a Time Series.
Slides by John Loucks St. Edward’s University.
Time Series Analysis for e-business. “Forecasting is very dangerous, especially about the future.” --- Samuel Goldwyn.
Operations and Supply Chain Management
The Importance of Forecasting in POM
Production Planning and Control. 1. Naive approach 2. Moving averages 3. Exponential smoothing 4. Trend projection 5. Linear regression Time-Series Models.
CHAPTER 3 FORECASTING.
Demand Management and Forecasting
Linear Trend Lines Y t = b 0 + b 1 X t Where Y t is the dependent variable being forecasted X t is the independent variable being used to explain Y. In.
Business Forecasting Used to try to predict the future Uses two main methods: Qualitative – seeking opinions on which to base decision making – Consumer.
Chapter 5 Demand Forecasting.
1 Spreadsheet Modeling & Decision Analysis: A Practical Introduction to Management Science, 3e by Cliff Ragsdale.
Operations Management
Forecasting supply chain requirements
3-1Forecasting. 3-2Forecasting FORECAST:  A statement about the future value of a variable of interest such as demand.  Forecasts affect decisions and.
Forecasting Professor Ahmadi.
DSc 3120 Generalized Modeling Techniques with Applications Part II. Forecasting.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Time Series Forecasting Chapter 13.
1 DSCI 3023 Forecasting Plays an important role in many industries –marketing –financial planning –production control Forecasts are not to be thought of.
MBA.782.ForecastingCAJ Demand Management Qualitative Methods of Forecasting Quantitative Methods of Forecasting Causal Relationship Forecasting Focus.
Time-Series Forecasting Overview Moving Averages Exponential Smoothing Seasonality.
Lesson 4 -Part A Forecasting Quantitative Approaches to Forecasting Components of a Time Series Measures of Forecast Accuracy Smoothing Methods Trend Projection.
1 1 Slide Forecasting Professor Ahmadi. 2 2 Slide Learning Objectives n Understand when to use various types of forecasting models and the time horizon.
Business Processes Sales Order Management Aggregate Planning Master Scheduling Production Activity Control Quality Control Distribution Mngt. © 2001 Victor.
Welcome to MM305 Unit 5 Seminar Prof Greg Forecasting.
Time Series Analysis and Forecasting. Introduction to Time Series Analysis A time-series is a set of observations on a quantitative variable collected.
15-1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Forecasting Chapter 15.
Chapter 5 Forecasting. Eight Steps to Forecasting 1. Determine the use of the forecast—what objective are we trying to obtain? 2. Select the items or.
DEPARTMENT OF MECHANICAL ENGINEERING VII-SEMESTER PRODUCTION TECHNOLOGY-II 1 CHAPTER NO.4 FORECASTING.
Time-Series Forecast Models  A time series is a sequence of evenly time-spaced data points, such as daily shipments, weekly sales, or quarterly earnings.
1 1 Chapter 6 Forecasting n Quantitative Approaches to Forecasting n The Components of a Time Series n Measures of Forecast Accuracy n Using Smoothing.
Forecasting is the art and science of predicting future events.
3-1Forecasting CHAPTER 3 Forecasting McGraw-Hill/Irwin Operations Management, Eighth Edition, by William J. Stevenson Copyright © 2005 by The McGraw-Hill.
3-1Forecasting William J. Stevenson Operations Management 8 th edition.
MBF1413 | Quantitative Methods Prepared by Dr Khairul Anuar 8: Time Series Analysis & Forecasting – Part 1
13 – 1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall. Forecasting 13 For Operations Management, 9e by Krajewski/Ritzman/Malhotra.
Managerial Decision Modeling 6 th edition Cliff T. Ragsdale.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 3 Forecasting.
Statistics for Business and Economics Module 2: Regression and time series analysis Spring 2010 Lecture 7: Time Series Analysis and Forecasting 1 Priyantha.
Forecast 2 Linear trend Forecast error Seasonal demand.
Chapter 15 Forecasting. Forecasting Methods n Forecasting methods can be classified as qualitative or quantitative. n Such methods are appropriate when.
Chapter 20 Time Series Analysis and Forecasting. Introduction Any variable that is measured over time in sequential order is called a time series. We.
1 Doing Statistics for Business Doing Statistics for Business Data, Inference, and Decision Making Marilyn K. Pelosi Theresa M. Sandifer Chapter 13 Time.
Chapter 3 Lecture 4 Forecasting. Time Series is a sequence of measurements over time, usually obtained at equally spaced intervals – Daily – Monthly –
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 Dr. Bob Forecasting.
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.
Forecasting Methods Dr. T. T. Kachwala.
MBF1413 | Quantitative Methods Prepared by Dr Khairul Anuar
Exponential Smoothing
Forecasting - Introduction
Presentation transcript:

Time Series Analysis and Forecasting

Introduction to Time Series Analysis A time-series is a set of observations on a quantitative variable collected over time. Examples Dow Jones Industrial Averages Historical data on sales, inventory, customer counts, interest rates, costs, etc Businesses are often very interested in forecasting time series variables. Often, independent variables are not available to build a regression model of a time series variable. In time series analysis, we analyze the past behavior of a variable in order to predict its future behavior.

Methods used in Forecasting Regression Analysis Time Series Analysis (TSA) A statistical technique that uses time-series data for explaining the past or forecasting future events. The prediction is a function of time (days, months, years, etc.) No causal variable; examine past behavior of a variable and and attempt to predict future behavior

Components of TSA Time Frame (How far can we predict?) Trend short-term (1 - 2 periods) medium-term (5 - 10 periods) long-term (12+ periods) No line of demarcation Trend Gradual, long-term movement (up or down) of demand. Easiest to detect

Components of TSA (Cont.) Cycle An up-and-down repetitive movement in demand. repeats itself over a long period of time Seasonal Variation An up-and-down repetitive movement within a trend occurring periodically. Often weather related but could be daily or weekly occurrence Random Variations Erratic movements that are not predictable because they do not follow a pattern

Time Series Plot

Components of TSA (Cont.) Difficult to forecast demand because... There are no causal variables The components (trend, seasonality, cycles, and random variation) cannot always be easily or accurately identified

Some Time Series Terms Stationary Data - a time series variable exhibiting no significant upward or downward trend over time. Nonstationary Data - a time series variable exhibiting a significant upward or downward trend over time. Seasonal Data - a time series variable exhibiting a repeating patterns at regular intervals over time.

Approaching Time Series Analysis There are many, many different time series techniques. It is usually impossible to know which technique will be best for a particular data set. It is customary to try out several different techniques and select the one that seems to work best. To be an effective time series modeler, you need to keep several time series techniques in your “tool box.”

Measuring Accuracy We need a way to compare different time series techniques for a given data set. Four common techniques are the: mean absolute deviation, mean absolute percent error, the mean square error, root mean square error. We will focus on MSE.

Extrapolation Models Extrapolation models try to account for the past behavior of a time series variable in an effort to predict the future behavior of the variable. We’ll first talk about several extrapolation techniques that are appropriate for stationary data.

An Example Electra-City is a retail store that sells audio and video equipment for the home and car. Each month the manager of the store must order merchandise from a distant warehouse. Currently, the manager is trying to estimate how many VCRs the store is likely to sell in the next month. He has collected 24 months of data.

Moving Averages No general method exists for determining k. We must try out several k values to see what works best.

Implementing the Model

A Comment on Comparing MSE Values Care should be taken when comparing MSE values of two different forecasting techniques. The lowest MSE may result from a technique that fits older values very well but fits recent values poorly. It is sometimes wise to compute the MSE using only the most recent values.

Forecasting With The Moving Average Model Forecasts for time periods 25 and 26 at time period 24:

Weighted Moving Average The moving average technique assigns equal weight to all previous observations The weighted moving average technique allows for different weights to be assigned to previous observations. We must determine values for k and the wi

Implementing the Model

Using optimal values for the weights that minimizes the MSE

Forecasting With The Weighted Moving Average Model Forecasts for time periods 25 and 26 at time period 24:

Exponential Smoothing It can be shown that the above equation is equivalent to:

Examples of Two Exponential Smoothing Functions

Implementing the Model

Forecasting With The Exponential Smoothing Model Forecasts for time periods 25 and 26 at time period 24: Note that,

Seasonality Seasonality is a regular, repeating pattern in time series data. May be additive or multiplicative in nature...

Stationary Seasonal Effects

Stationary Data With Additive Seasonal Effects where p represents the number of seasonal periods Et is the expected level at time period t. St is the seasonal factor for time period t.

Implementing the Model

Forecasting With The Additive Seasonal Effects Model Forecasts for time periods 25 - 28 at time period 24:

Stationary Data With Multiplicative Seasonal Effects where p represents the number of seasonal periods Et is the expected level at time period t. St is the seasonal factor for time period t.

Implementing the Model

Forecasting With The Multiplicative Seasonal Effects Model Forecasts for time periods 25 - 28 at time period 24:

Trend Models Trend is the long-term sweep or general direction of movement in a time series. We’ll now consider some nonstationary time series techniques that are appropriate for data exhibiting upward or downward trends.

An Example WaterCraft Inc. is a manufacturer of personal water crafts (also known as jet skis). The company has enjoyed a fairly steady growth in sales of its products. The officers of the company are preparing sales and manufacturing plans for the coming year. Forecasts are needed of the level of sales that the company expects to achieve each quarter.

Double Exponential Smoothing (Holt’s Method) where Et = aYt + (1-a)(Et-1+ Tt-1) Tt = b(Et -Et-1) + (1-b) Tt-1 Et is the expected base level at time period t. Tt is the expected trend at time period t. n is the period-ahead forecast made in period t.

Implementing the Model

Using optimal values for α and ß that minimizes the MSE

Forecasting With Holt’s Model Forecasts for time periods 21 through 24 at time period 20:

Holt-Winter’s Method For Additive Seasonal Effects where

Implementing the Model

The Linear Trend Model For example:

Implementing the Model

Forecasting With The Linear Trend Model Forecasts for time periods 21 through 24 at time period 20:

TREND(Y-range, X-range, X-value for prediction) The TREND() Function TREND(Y-range, X-range, X-value for prediction) where: Y-range is the spreadsheet range containing the dependent Y variable, X-range is the spreadsheet range containing the independent X variable(s), X-value for prediction is a cell (or cells) containing the values for the independent X variable(s) for which we want an estimated value of Y. Note: The TREND( ) function is dynamically updated whenever any inputs to the function change. However, it does not provide the statistical information provided by the regression tool. It is best two use these two different approaches to doing regression in conjunction with one another.

The Quadratic Trend Model

Implementing the Model

Forecasting With The Quadratic Trend Model Forecasts for time periods 21 through 24 at time period 20:

Computing Multiplicative Seasonal Indices We can compute multiplicative seasonal adjustment indices for period p as follows: The final forecast for period i is then

Implementing the Model

The Plot

Forecasting With Seasonal Adjustments Applied To Our Quadratic Trend Model Forecasts for time periods 21 through 24 at time period 20:

Summary of the Calculation and Use of Seasonal Indices 1. Create a trend model and calculate the estimated value for each observation in the sample. 2. For each observation, calculate the ratio of the actual value to the predicted trend value: (For additive effects, compute the difference: 3. For each season, compute the average of the ratios calculated in step 2. These are the seasonal indices. 4. Multiply any forecast produced by the trend model by the appropriate seasonal index calculated in step 3. (For additive seasonal effects, add the appropriate factor to the forecast.)

Refining the Seasonal Indices Note that Solver can be used to simultaneously determine the optimal values of the seasonal indices and the parameters of the trend model being used. There is no guarantee that this will produce a better forecast, but it should produce a model that fits the data better in terms of the MSE.

Seasonal Regression Models Indicator variables may also be used in regression models to represent seasonal effects. If there are p seasons, we need p-1 indicator variables. Our example problem involves quarterly data, so p=4 and we define the following 3 indicator variables:

Implementing the Model The regression function is:

The Data

The Regression Results

The Plot

Forecasting With The Seasonal Regression Model Forecasts for time periods 21 through 24 at time period 20:

Combining Forecasts It is also possible to combine forecasts to create a composite forecast. Suppose we used three different forecasting methods on a given data set. Denote the predicted value of time period t using each method as follows: We could create a composite forecast as follows: