Part II – TIME SERIES ANALYSIS C2 Simple Time Series Methods & Moving Averages © Angel A. Juan & Carles Serrat - UPC 2007/2008.

Slides:



Advertisements
Similar presentations
Decomposition Method.
Advertisements

©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Lesson 12.
Part II – TIME SERIES ANALYSIS C3 Exponential Smoothing Methods © Angel A. Juan & Carles Serrat - UPC 2007/2008.
Forecasting OPS 370.
ECON 251 Research Methods 11. Time Series Analysis and Forecasting.
4/16/ Ardavan Asef-Vaziri Variable of interest Time Series Analysis.
Operations Management Forecasting Chapter 4
Time Series and Forecasting
Part II – TIME SERIES ANALYSIS C1 Introduction to TSA © Angel A. Juan & Carles Serrat - UPC 2007/2008 "If we could first know where we are, then whither.
4-1 Operations Management Forecasting Chapter 4 - Part 2.
CHAPTER 5 TIME SERIES AND THEIR COMPONENTS (Page 165)
Time Series Analysis Autocorrelation Naive & Simple Averaging
Statistics for Managers Using Microsoft® Excel 5th Edition
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:
Chapter 5 Time Series Analysis
Data Sources The most sophisticated forecasting model will fail if it is applied to unreliable data Data should be reliable and accurate Data should be.
Chapter 3 Forecasting McGraw-Hill/Irwin
Chapter 13 Forecasting.
Forecasting & Time Series Minggu 6. Learning Objectives Understand the three categories of forecasting techniques available. Become aware of the four.
Quantitative Business Forecasting Introduction to Business Statistics, 5e Kvanli/Guynes/Pavur (c)2000 South-Western College Publishing.
CHAPTER 4 MOVING AVERAGES AND SMOOTHING METHODS (Page 107)
Forecasting McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Basic Business Statistics (9th Edition)
© 2011 Pearson Education, Inc. Statistics for Business and Economics Chapter 13 Time Series: Descriptive Analyses, Models, & 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
Time Series Forecasting– Part I
Fall, 2012 EMBA 512 Demand Forecasting Boise State University 1 Demand Forecasting.
© 2003 Prentice-Hall, Inc.Chap 12-1 Business Statistics: A First Course (3 rd Edition) Chapter 12 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.
Chapter 15 Time-Series Forecasting and Index Numbers
BIS Application Chapter two
LSS Black Belt Training Forecasting. Forecasting Models Forecasting Techniques Qualitative Models Delphi Method Jury of Executive Opinion Sales Force.
TIME SERIES by H.V.S. DE SILVA DEPARTMENT OF MATHEMATICS
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
DSc 3120 Generalized Modeling Techniques with Applications Part II. Forecasting.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Time Series Forecasting Chapter 16.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Time Series Forecasting Chapter 13.
MBA.782.ForecastingCAJ Demand Management Qualitative Methods of Forecasting Quantitative Methods of Forecasting Causal Relationship Forecasting Focus.
Lecture 7 Dr. Haider Shah.  Continue understanding the primary tools for forecasting  Understand time series analysis and when and how to apply it.
© 2000 Prentice-Hall, Inc. Chap The Least Squares Linear Trend Model Year Coded X Sales
Time series Decomposition Farideh Dehkordi-Vakil.
Forecasting. 預測 (Forecasting) A Basis of Forecasting In business, forecasts are the basis for budgeting and planning for capacity, sales, production and.
Forecasting Chapter 9. Copyright © 2013 Pearson Education, Inc. publishing as Prentice Hall Define Forecast.
© 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.
©2003 Thomson/South-Western 1 Chapter 17 – Quantitative Business Forecasting Slides prepared by Jeff Heyl, Lincoln University ©2003 South-Western/Thomson.
COMPLETE BUSINESS STATISTICS
Time Series and Trend Analysis
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
MGS3100_03.ppt/Feb 11, 2016/Page 1 Georgia State University - Confidential MGS 3100 Business Analysis Time Series Forecasting Feb 11, 2016.
Forecasting is the art and science of predicting future events.
Time Series and Forecasting Chapter 16 McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
13 – 1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall. Forecasting 13 For Operations Management, 9e by Krajewski/Ritzman/Malhotra.
Times Series Forecasting and Index Numbers Chapter 16 Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Demand Management and Forecasting Chapter 11 Portions Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin.
Chapter 15 Forecasting. Forecasting Methods n Forecasting methods can be classified as qualitative or quantitative. n Such methods are appropriate when.
Chapter 11 – With Woodruff Modications Demand Management and Forecasting Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
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.
Yandell – Econ 216 Chap 16-1 Chapter 16 Time-Series Forecasting.
Statistics for Managers using Microsoft Excel 3rd Edition
“The Art of Forecasting”
FORCASTING AND DEMAND PLANNING
Presentation transcript:

Part II – TIME SERIES ANALYSIS C2 Simple Time Series Methods & Moving Averages © Angel A. Juan & Carles Serrat - UPC 2007/2008

2.2.1: Simple TS and Smoothing Methods  The simple forecasting and smoothing methods model components in a series that are usually easy to see in a time series plot of the data.  These methods decompose the data into its trend and seasonal components, and then extend the estimates of the components into the future to provide forecasts.  Static methods have patterns that do not change over time; dynamic methods have patterns that do change over time and estimates are updated using neighboring values.  You may use two methods in combination. That is, you may choose a static method to model one component and a dynamic method to model another component. A disadvantage of combining methods is that the confidence intervals for forecasts are not valid. STATIC (SIMPLE) METHODS Trend Analysis Decomposition STATIC (SIMPLE) METHODS Trend Analysis Decomposition DYNAMIC (SMOOTHING) METHODS Moving Averages Single Exponential Smoothing Double Exponential Smoothing Winters’ Method (Triple Exp. Smoothing) DYNAMIC (SMOOTHING) METHODS Moving Averages Single Exponential Smoothing Double Exponential Smoothing Winters’ Method (Triple Exp. Smoothing) The decomposition approach to TSA involves an attempt to identify the component factors (Trend, Cyclical, Seasonal and Irregular) that influence each of the values in a series. Each component is identified separately. Projections of each of the components can then be combined to produce forecasts of future values of the time series. Naive methods are used to develop simple models that assume that very recent data provide the best predictors of the future. Averaging methods generate forecasts based on an average of past observations. Smoothing methods produce forecasts by averaging past values of a series with a decreasing (exponential) series of weights.

2.2.2: Smoothing  If the time series data contain considerable error, smoothing is the first step in the process of trend identification.  It always involves some form of local averaging of data such that the nonsystematic components of individual observations cancel each other out.  The most common technique is Moving Averages (MA) smoothing which replaces each element of the series by either the simple or weighted average of m surrounding elements.  Medians can be used instead of means (results are then less biased by outliers) The MA method smooth out the “noise” in a time series. You have to select the MA length, m. Different lengths provide different results.

2.2.3: Selecting a Simple Method or MA TREND ANALYSIS Series with trend but without seasonal component. TREND ANALYSIS Series with trend but without seasonal component. CLASSICAL DECOMPOSITION Series with trend and seasonal component. CLASSICAL DECOMPOSITION Series with trend and seasonal component. MOVING AVERAGES (SMOOTHING) Series without trend and without seasonal component. MOVING AVERAGES (SMOOTHING) Series without trend and without seasonal component. It is often convenient to fit a trend curve to a time series for two reasons: (1) It provides some indication of the general direction of the observed series, and (2) it can be removed from the original series to get a clearer picture of the seasonality. The basic idea is to first estimate and remove the trend from the original series and then smooth out the irregular component. This leaves data containing only seasonal variation. The seasonal values are collected and summarized to produce a number (generally an index number) for each observed interval of the year. After the seasonal component has been isolated, it can be used to calculate seasonally adjusted data. A moving average of order k is the mean value of k consecutive observations. The most recent moving average value provides a forecast for the next period.

2.2.4: Measures of Accuracy Mean Absolute Percentage Error MAPE Mean Absolute Deviation MAD Mean Squared Deviation MSD One major difference between MSD and MAD is that the MSD measure is influenced much more by large fitting errors than by small errors (since for the MSD measure the errors are squared).

2.2.5: Moving Average Smoothing (1/2) A strategy frequently used by some stock market investors is to buy if the current price of the stock exceeds the average of its ten most recent prices. Conversely, if the present price is lower than the average of the last ten, it is time to sell. To smooth the unpredictable ups and downs of a time series, you can form averages of consecutive observations.

2.2.5: Moving Average Smoothing (2/2)  File: RIVERC.MTW  Stat > Time Series > Moving Average… Three measures of the accuracy of the fitted values are provided: Mean Squared Deviation (MSD), Mean Absolute Deviation (MAD), and Mean Absolute Percentage Error (MAPE). Different lengths provide different results. You can generate forecasts of future values of the series.

2.2.6: Trend Analysis (1/2)

2.2.6: Trend Analysis (2/2)  File: RIVERC.MTW  Stat > Time Series > Trend Analysis… Three measures of the accuracy of the fitted values are provided: Mean Squared Deviation (MSD), Mean Absolute Deviation (MAD), and Mean Absolute Percentage Error (MAPE). Trend analysis is closely related to linear regression. You choose from among four models (Linear, Quadratic, Exponential and S-Curve) to fit a particular type of trend line to a time series. You can generate forecasts of future values of the series. Use residuals to detrend the time series.

2.2.7: Seasonality  Seasonality is defined as an autocorrelation of order k, i.e., a correlation between each element i of the series and the element i-k; k is called the lag.  If the measurement error is not too large, seasonality can be visually identified in the series as a pattern that repeats every k elements. A model that treats the time- series values as a sum of the components is called an additive components model: Y t = T t + S t + I t A model that threats the time- series values as the product of the components is called a multiplicative components model: Y t = T t * S t * I t A model that treats the time- series values as a sum of the components is called an additive components model: Y t = T t + S t + I t A model that threats the time- series values as the product of the components is called a multiplicative components model: Y t = T t * S t * I t In plots of the series, the distinguishing characteristic between these two types of seasonal components is that in the additive case, the series shows steady seasonal fluctuations, regardless of the overall level of the series; in the multiplicative case, the size of the seasonal fluctuations vary, depending on the overall level of the series. Seasonal components can be additive in nature or multiplicative. For example, during the month of December the sales for a particular toy may increase by 1 million dollars every year. Thus, we could add to our forecasts for every December the amount of 1 million dollars (over the respective annual average) to account for this seasonal fluctuation. In this case, the seasonality is additive. Alternatively, during the month of December the sales for a particular toy may increase by 40%, that is, increase by a factor of 1.4. in this case the seasonal component is multiplicative in nature.

2.2.8: Classical Decomposition (1/3)

2.2.8: Classical Decomposition (2/3)  File: RIVERC.MTW  Stat > Time Series > Decomposition… This window includes plots of the original data, detrended data, seasonally adjusted data, and the seasonally adjusted and detrended data. Classical decomposition separates the time series into trend, seasonal and error components by using least-squares analysis, trend analysis, and moving averages. You can select either a multiplicative or an additive model. The graph depicts a slight download trend, with a 24-hour seasonal component. It also reflects the divergence of the predicted values from the actual values at the top of peaks and at the last valley. In this case, an additive model with a seasonal length of 24 hours has been chosen. Note the unusual pattern at the end of the last two time series plots. Initial fits overestimate actual values, indicating that a problem may exist.

2.2.8: Classical Decomposition (3/3)  File: RIVERC.MTW  Stat > Time Series > Decomposition… This window provides a seasonal analysis for the time series data. It contains a plot of the seasonal indices. In addition, by seasonal period, it contains plots of the original data, present variation, and residuals. Note the large number of negative residuals present in four of the five last periods in the Residuals plot. Some of these concepts will be explained in detail in future chapters.