Lecture 6: Topic #1 Forecasting trend and seasonality.

Slides:



Advertisements
Similar presentations
Forecasting OPS 370.
Advertisements

Part II – TIME SERIES ANALYSIS C5 ARIMA (Box-Jenkins) Models
Time Series Building 1. Model Identification
Economics 310 Lecture 25 Univariate Time-Series Methods of Economic Forecasting Single-equation regression models Simultaneous-equation regression models.
Lecture 8: Review: Forecasting methods Understanding Markets and Industry Changes.
Time series analysis - lecture 2 A general forecasting principle Set up probability models for which we can derive analytical expressions for and estimate.
Statistics for Managers Using Microsoft® Excel 5th Edition
Time series analysis - lecture 3 Forecasting using ARIMA-models Step 1. Assess the stationarity of the given time series of data and form differences if.
Modeling Cycles By ARMA
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 13 Forecasting.
Prediction and model selection
ARIMA Forecasting Lecture 7 and 8 - March 14-16, 2011
Non-Seasonal Box-Jenkins Models
Time series analysis - lecture 1 Time series analysis Analysis of data for which the temporal order of the observations is important Two major objectives:
© 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.
BOX JENKINS METHODOLOGY
Box Jenkins or Arima Forecasting. H:\My Documents\classes\eco346\Lectures\chap ter 7\Autoregressive Models.docH:\My Documents\classes\eco346\Lectures\chap.
© 2002 Prentice-Hall, Inc.Chap 13-1 Statistics for Managers using Microsoft Excel 3 rd Edition Chapter 13 Time Series Analysis.
AR- MA- och ARMA-.
Time Series “The Art of Forecasting”. What Is Forecasting? Process of predicting a future event Underlying basis of all business decisions –Production.
Chapter 15 Demand Management & Forecasting
Production Planning and Control. 1. Naive approach 2. Moving averages 3. Exponential smoothing 4. Trend projection 5. Linear regression Time-Series Models.
Time-Series Analysis and Forecasting – Part V To read at home.
STAT 497 LECTURE NOTES 2.
Lecture 6: Simple pricing review. Summary of main points Aggregate demand or market demand is the total number of units that will be purchased by a group.
1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Chapter 16: Time-Series Analysis
Lecture 7: Forecasting: Putting it ALL together. The full model The model with seasonality, quadratic trend, and ARMA components can be written: Ummmm,
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.
Autoregressive Integrated Moving Average (ARIMA) Popularly known as the Box-Jenkins methodology.
It’s About Time Mark Otto U. S. Fish and Wildlife Service.
© 2000 Prentice-Hall, Inc. Chap The Least Squares Linear Trend Model Year Coded X Sales
Autocorrelation in Time Series KNNL – Chapter 12.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 15-1 Chapter 15 Time Series Forecasting and Index Numbers Statistics.
Lesson 4 -Part A Forecasting Quantitative Approaches to Forecasting Components of a Time Series Measures of Forecast Accuracy Smoothing Methods Trend Projection.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 20 Time Series Analysis and Forecasting.
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Time Series Basics (2) Fin250f: Lecture 3.2 Fall 2005 Reading: Taylor, chapter , 3.9(skip 3.6.1)
Autocorrelation, Box Jenkins or ARIMA Forecasting.
1 Chapter 13 Forecasting  Demand Management  Qualitative Forecasting Methods  Simple & Weighted Moving Average Forecasts  Exponential Smoothing  Simple.
© 1999 Prentice-Hall, Inc. Chap Chapter Topics Component Factors of the Time-Series Model Smoothing of Data Series  Moving Averages  Exponential.
K. Ensor, STAT Spring 2004 Memory characterization of a process How would the ACF behave for a process with no memory? What is a short memory series?
Time Series Basics Fin250f: Lecture 8.1 Spring 2010 Reading: Brooks, chapter
Time Series Analysis and Forecasting. Introduction to Time Series Analysis A time-series is a set of observations on a quantitative variable collected.
The Box-Jenkins (ARIMA) Methodology
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 16-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 14 l Time Series: Understanding Changes over Time.
Components of Time Series Su, Chapter 2, section II.
Ch16: Time Series 24 Nov 2011 BUSI275 Dr. Sean Ho HW8 due tonight Please download: 22-TheFed.xls 22-TheFed.xls.
FORECASTIN G Qualitative Analysis ~ Quantitative Analysis.
Introduction to stochastic processes
Time Series Analysis PART II. Econometric Forecasting Forecasting is an important part of econometric analysis, for some people probably the most important.
Demand Management and Forecasting Chapter 11 Portions Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin.
Statistics for Business and Economics Module 2: Regression and time series analysis Spring 2010 Lecture 8: Time Series Analysis and Forecasting 2 Priyantha.
Forecasting. Model with indicator variables The choice of a forecasting technique depends on the components identified in the time series. The techniques.
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 Forecasting Trends and Seasons and Time Series Models PBS Chapters 13.1 and 13.2 © 2009 W.H. Freeman and Company.
Lecture 9 Forecasting. Introduction to Forecasting * * * * * * * * o o o o o o o o Model 1Model 2 Which model performs better? There are many forecasting.
DSCI 346 Yamasaki Lecture 7 Forecasting.
Financial Econometrics Lecture Notes 2
Forecasting Approaches to Forecasting:
Statistics for Managers using Microsoft Excel 3rd Edition
“The Art of Forecasting”
John Loucks St. Edward’s University . SLIDES . BY.
Forecasting Qualitative Analysis Quantitative Analysis.
BOX JENKINS (ARIMA) METHODOLOGY
Presentation transcript:

Lecture 6: Topic #1 Forecasting trend and seasonality

Features common to firm level time series data Trend The series appears to be dependent on time. There are several types of trend that are possible Linear trend Quadratic trend Exponential trend Seasonality Patterns that repeat themselves over time. Typically occurs at the same time every year (retail sales during December), but irregular types of seasonality are also possible (Presidential election years). Other types of “cyclical variation.” 2

3

FORECASTING TREND 4

Quadratic Trend 5

Quadratic Trend: Parabolic 6

Quadratic Trend 7

Quadratic trend 8

Modeling trend in EViews Inspect the data Does the data appear to have a trend? Is it linear? Is it quadratic? If the data appears to grow exponentially (population, money supply, or perhaps even your firms sales) it may make sense to take the natural log of the variable. To do so in Eviews, we use the command “log.” To create a linear time trend variable, suppose you call it ‘t’ use the following syntax in Eviews: genr 9

Seasonality In addition to trend, there may appear to be a seasonal component to your data. Suppose you have ‘s’ observations of your data series in one year. For example, for monthly data, s=12, weekly data, s=52. Often times, the data will depend on the specific season we happen to be in. Retail sales during Christmas Egg coloring during Easter Political ads during Presidential election years. 10

Modelling seasonality There are a number of ways to deal with seasonality. Likely the easiest is the use of deterministic seasonality. There will be “s” seasonal dummy variables. The pure seasonal dummy variable model without trend: 11

Pure seasonality (s=4, relative weights, 10, 5, 8, 25) 12

Forecasting seasonality 13

Seasonality and trend 14

To create seasonal dummies variables in Eviews, use the command The first seasonal dummy variable is created: genr IMPORTANT: If you include all “s” seasonal dummy variable in your model, you must eliminate the constant from your regression model 15

Putting it all together Often, seasonality and trend will account for a massive portion of the variance in the data. Even after accounting for these components, “something appears to be missing.” In time series forecasting, the most powerful methods involve the use of ARMA components. To determine if autoregressive-moving average components are present, we look at the correlogram of the residuals. 16

The full model The model with seasonality, quadratic trend, and ARMA components can be written: Ummmm, say what???? The autoregressive components allow us to control for the fact that data is directly related to itself over time. The moving average components, which are often less important, can be used in instances where past errors are expected to be useful in forecasting. 17

Model selection Autocorrelation (AC) can be used to choose a model. The autocorrelations measure any correlation or persistence. For ARMA(p,q) models, autocorrelations begin behaving like an AR(p) process after lag q. Partial autocorrelations (PAC) only analyze direct correlations. For ARMA(p,q) processes, PACs begin behaving like an MA(q) process after lag p. For AR(p) process, the autocorrelation is never theoretically zero, but PAC cuts off after lag p. For MA(q) process, the PAC is never theoretically zero, but AC cuts off after lag q. 18

Model selection An important statistic that can used in choosing a model is the Schwarz Bayesian Information Criteria. It rewards models that reduce the sum of squared errors, while penalizing models with too many regressors. SIC=log(SSE/T)+(k/T)log(T), where k is the number of regressors. The first part is our reward for reducing the sum of squared errors. The second part is our penalty for adding regressors. We prefer smaller numbers to larger number (-17 is smaller than -10). 19