1 Econ 240C Lecture Five. 2 Part I: Time Series Components Model w The conceptual framework for inertial (mechanical) time series models: w Time series.

Slides:



Advertisements
Similar presentations
SMA 6304 / MIT / MIT Manufacturing Systems Lecture 11: Forecasting Lecturer: Prof. Duane S. Boning Copyright 2003 © Duane S. Boning. 1.
Advertisements

Autocorrelation Functions and ARIMA Modelling
Filtering the data. Detrending Economic time series are a superposition of various phenomena If there exists a « business cycle », we need to insulate.
Unit Roots & Forecasting
Slide 1 DSCI 5340: Predictive Modeling and Business Forecasting Spring 2013 – Dr. Nick Evangelopoulos Lecture 7: Box-Jenkins Models – Part II (Ch. 9) Material.
Forecasting CPI Xiang Huang, Wenjie Huang, Teng Wang, Hong Wang Benjamin Wright, Naiwen Chang, Jake Stamper.
Chapter 14 Business Cycles and Economic Growth. AGENDA Fri 3/23 & Mon 4/2 QOD # 23: Economic Growth Review HW Business Cycles Economic Indicators HW:
STAT 497 APPLIED TIME SERIES ANALYSIS
Business Forecasting Chapter 10 The Box–Jenkins Method of Forecasting.
13 Introduction toTime-Series Analysis. What is in this Chapter? This chapter discusses –the basic time-series models: autoregressive (AR) and moving.
1 ECON 240C Lecture Outline Box-Jenkins Passengers Box-Jenkins Passengers Displaying the Forecast Displaying the Forecast Recoloring Recoloring.
1 Power Nine Econ 240C. 2 Outline Lab Three Exercises Lab Three Exercises –Fit a linear trend to retail and food sales –Add a quadratic term –Use both.
Barometric models These models identify patterns among variables over time. That is, you try to find time series variables that “signal” future changes.
1 Econ 240 C Lecture 3. 2 Part I Modeling Economic Time Series.
1 Econ 240 C Lecture White noise inputoutput 1/(1 – z) White noise input output Random walkSynthesis 1/(1 – bz) White noise input output.
1 Econ 240 C Lecture Time Series Concepts Analysis and Synthesis.
1 Lecture Eleven Econ 240C. 2 Outline Review Stochastic Time Series –White noise –Random walk –ARONE: –ARTWO –ARTHREE –ARMA(2,2) –MAONE*SMATWELVE.
Econ 240C Lecture Review 2002 Final Ideas that are transcending p. 15 Economic Models of Time Series Symbolic Summary.
1 Power 2 Econ 240C. 2 Lab 1 Retrospective Exercise: –GDP_CAN = a +b*GDP_CAN(-1) + e –GDP_FRA = a +b*GDP_FRA(-1) + e.
1 Econ 240 C Lecture 6. 2 Part I: Box-Jenkins Magic ARMA models of time series all built from one source, white noise ARMA models of time series all built.
1 Identifying ARIMA Models What you need to know.
Econ 240C Lecture Part I: Forecasting Time Series Housing Starts Housing Starts Labs 5 and 7 Labs 5 and 7.
1 Power Nine Econ 240C. 2 Outline Lab Three Exercises Lab Three Exercises –Fit a linear trend to retail and food sales –Add a quadratic term –Use both.
1 Econ 240C Lecture Five Outline w Box-Jenkins Models w Time Series Components Model w Autoregressive of order one.
1 Econ 240 C Lecture 3. 2 Time Series Concepts Analysis and Synthesis.
1 Econ 240C Power Outline The Law of One Price.
1 Power Nine Econ 240C. 2 Outline Lab Three Exercises Lab Three Exercises –Fit a linear trend to retail and food sales –Add a quadratic term –Use both.
Econ 240 C Lecture Outline Exponential Smoothing Exponential Smoothing Back of the envelope formula: geometric distributed lag: L(t) = a*y(t-1)
1 Econ 240C Lecture Five. 2 Outline w Box-Jenkins Models: the grand design w What do you need to learn? w Preview of partial autocorrelation function.
1 ECON 240C Lecture 8. 2 Outline: 2 nd Order AR Roots of the quadratic Roots of the quadratic Example: capumfg Example: capumfg Polar form Polar form.
1 ECON 240C Lecture 8. 2 Part I. Economic Forecast Project Santa Barbara County Seminar –April 17, 2003 URL:
1 ECON 240C Lecture 8. 2 Outline: 2 nd Order AR Roots of the quadratic Roots of the quadratic Example: change in housing starts Example: change in housing.
ARIMA Forecasting Lecture 7 and 8 - March 14-16, 2011
1 Econ 240C Lecture Five Outline w Box-Jenkins Models w Time Series Components Model w Autoregressive of order one.
Introduction At the start of most beginning economics courses we learn the economics is a science aimed toward answering the following questions: 1.What.
1 ECON 240C Lecture 8. 2 Part I. Economic Forecast Project Santa Barbara County Seminar Santa Barbara County Seminar  April 22, 2004 (April 17, 2003)
1 Econ 240C Power Outline The Law of One Price Moving averages as a smoothing technique: Power 11_06: slides Intervention models: Power 13_06:
1 ECON 240C Lecture 8. 2 Outline: 2 nd Order AR Roots of the quadratic Roots of the quadratic Example: change in housing starts Example: change in housing.
Econ 240 C Lecture Part I: Exponential Smoothing Exponential smoothing is a technique that is useful for forecasting short time series where there.
© 2003 Prentice-Hall, Inc.Chap 12-1 Business Statistics: A First Course (3 rd Edition) Chapter 12 Time-Series Forecasting.
BOX JENKINS METHODOLOGY
Module 2: Representing Process and Disturbance Dynamics Using Discrete Time Transfer Functions.
1 © 2009 The Conference Board, Inc. Job information is entered here! Trusted Insights for Business Worldwide
Resolved: Economic Recovery is Imminent Pikes Peak Economics Club September 1, 2009 Fred Crowley for the Pro Argument.
STAT 497 LECTURE NOTES 2.
Economic Indicators Bodie, Kane, and Marcus Chapter 12.
economic indicator  A statistic about the economy.  Allows analysis of economic performance and predictions of future performance.  Include various.
Wisconsin Leading Indicator Index: Development and Evolution Emily Camfield Wisconsin Department of Revenue November 6, 2009.
Real GDP 3-5% Unemployment Rate 5% Further it goes under this Rate, the higher the inflation rate Inflation Rates- 0-2% CPI and PPI- 0-2%
K. Ensor, STAT Spring 2005 Model selection/diagnostics Akaike’s Information Criterion (AIC) –A measure of fit plus a penalty term for the number.
Big Data at Home Depot KSU – Big Data Survey Course Steve Einbender Advanced Analytics Architect.
Week 21 Stochastic Process - Introduction Stochastic processes are processes that proceed randomly in time. Rather than consider fixed random variables.
The Box-Jenkins (ARIMA) Methodology
Module 4 Forecasting Multiple Variables from their own Histories EC 827.
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.
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.
Financial Econometrics Lecture Notes 2
Chapter 6: Autoregressive Integrated Moving Average (ARIMA) Models
Econ 240 C Lecture 4.
Econ 240C Lecture 18.
ECON 240C Lecture 7.
Module 3 Forecasting a Single Variable from its own History, continued
Lecturer Dr. Veronika Alhanaqtah
CH2 Time series.
BOX JENKINS (ARIMA) METHODOLOGY
Chap 7: Seasonal ARIMA Models
Presentation transcript:

1 Econ 240C Lecture Five

2 Part I: Time Series Components Model w The conceptual framework for inertial (mechanical) time series models: w Time series (t) = trend + cycle + seasonal + residual w We are familiar with trend models, e.g. w Time series = a + b*t + e(t), i.e.  time series = trend + residual where e(t) is i.i.d. N(0,   )

3 Time Series Components Model w We also know how to deal with seasonality. For example, using quarterly data we could add a dummy zero-one variable, D 1 that takes on the value of one if the observation is for the first quarter and zero otherwise. Similarly, we could add dummy variables for second quarter observations and for third quarter observations: Time series = a + b*t + c 1 *D 1 + c 2 *D 2 + c 3 *D 3 + e(t)

4 Time Series Components Models w So we have: time series = trend + seasonal + residual w But how do we model cycles? w Since macroeconomic variables are likely to be affected by economic conditions and the business cycle, this is an important question. w The answer lies in Box-Jenkins or ARIMA models.

5 Time Series Components Models w ARIMA models are about modeling the residual w The simplest time series model is: time series(t) = white noise(t) w some other time series models are of the form: time series = A(Z)*white noise(t), where A(Z) is a polynomial in Z, a dynamic multiplier for white noise. w For the white noise model, A(Z) = Z 0 =1

6 Time Series Components Models w For the random walk, RW(t), RW(t) = A(Z)*WN(t) where A(Z) = (1+Z+Z 2 +Z 3 + …) w For the autoregressive process of the first order, ARONE(t), ARONE(t) = A(Z) * WN(t) where A(Z) = (1+b*Z+b 2 *Z 2 +b 3 *Z 3 +…) and -1<b<1, i.e. b is on the real number line and is less than one in absolute value w

7 Time Series Components Models w So ARIMA models have a residual, white noise, as an input, and transform it with the polynomial in lag, A(Z), to model time series behavior. w One can think of ARIMA models in terms of the time series components model, where the time series, y(t), for quarterly data is modeled as: y(t)=a+b*t+c 1 *D 1 +c 2 *D 2 +c 3 *D 3 +A(Z)WN(t)

8 Time Series Components Models w But y(t), with a trend component, and a seasonal component, is evolutionary, i.e. time dependent, on two counts. So first we difference the time series, y(t), to remove trend, and seasonally difference it to remove the seasonal component, making it stationary. Then we can model it as an ARMA model, i.e. an autoregressive- moving average time series.

9 Time Series Components Models  Symbolically, we difference, , y(t) to remove trend, obtaining  y(t)  Then we seasonally difference,  S,  y(t) to remove the seasonality, obtaining  S y(t).  Now we can model this stationary time series,  S y(t) as ARMA, e.g.  S y(t) = A(Z)*WN(t)

10 Time Series Components Models  After modeling  S y(t) as an ARMA process, we can recover the model for the original time series, y(t), by undoing the differencing and seasonal differencing. w This is accomplished by summation, i.e. integration, the inverse of differencing. Hence the name autoregressive integrated moving average, or ARIMA, for the model of y(t).

11 Part II. Behavior of Autoregressive Processes of the First Order w From PowerPoint Lecture Three

12 Model Three: Autoregressive Time Series of Order One w An analogy to our model of trend plus shock for the logarithm of the Standard Poors is inertia plus shock for an economic time series such as the ratio of inventory to sales for total business w Source: FRED

13 Trace of Inventory to Sales, Total Business

14 Behavior of ARONE Processes w So we have a typical trace of an ARONE w How about the histogram? w How about the correlogram?

15 Histogram: Ratio of Inventory to Sales, Total Business

Ratio of Inventory to Sales Sample: 1992: :01 Included observations: 133 AutocorrelationPartial Correlation AC PAC Q-Stat Prob.|*******|.|*******| |*******|.|* | |*******|.|* | |****** | *|. | |****** |.|. | |****** | *|. | |***** |.|. | |***** | *|. | |**** |.|. | |**** |.|. | |**** |.|. | |*** |.|. |

17 Part III. Characterizing Autoregressive Processes of the First Order w ARONE(t) = b*ARONE(t-1) + WN(t) w Lag by one w ARONE(t-1) = b*ARONE(t-2) + WN(t-1) w Substitute for ARONE(t-1) w ARONE(t) = b*[b*ARONE(t-2) + WN(t-1] + WN(t) w ARONE(t) = WN(t) + b*WN(t-1) +b 2 *ARONE(t-2)

18 Characterize AR of 1st Order w Keep lagging and substituting to obtain w ARONE(t) = WN(t) +b*WN(t-1) + b 2 *WN(t-2) + ….. w ARONE(t) = [1+b*Z+b 2 Z 2 +…] WN(t) w ARONE(t) = A(Z)*WN(t)

19 Characterize AR of 1st Order w ARONE(t) = WN(t) +b*WN(t-1) + b 2 *WN(t-2) + ….. w Note that the mean function of an ARONE process is zero w m(t) = E ARONE(t) = E{WN(t) + b*WN(t-1) + b 2 *WN(t-2) + …..} where E WN(t) =0, and EWN(t-1) =0 etc. w m(t) = 0

20 WN(t) and WN(t-1)

21 Autocovariance of ARONE w E{[ARONE(t) - EARONE(t)]*[ARONE(t-u)- EARONE(t-u)]}=E{ARONE(t)*ARONE(t-u)] since EARONE(t) = 0 = EARONE(t-u)  So  AR,AR (u) = E{ARONE(t)*ARONE(t-u)}  For u=1, i.e. lag one,  AR,AR (1) = E{ARONE(t)*ARONE(t-1)}, and w use ARONE(t) = b*ARONE(t-1) + WN(t) w and multiply byARONE(t-1)

22 Autocovariance of ARONE w ARONE(t)*ARONE(t-1) = b*[ARONE(t-1)] 2 +ARONE(t-1)*WN(t) w and take expectations, E w E{ARONE(t)*ARONE(t-1) = b*[ARONE(t- 1)] 2 +ARONE(t-1)*WN(t)}  where the LHS E{ARONE(t)*ARONE(t-1) is  AR,AR (1) by definition and  b*E *[ARONE(t-1)] 2 is b*  AR,AR (0), i.e. b* the variance by definition but how about

23 Autocovariance of an ARONE w E{ARONE(t-1)*WN(t)} = ? w Note that ARONE(t) = WN(t) +b*WN(t-1) + b 2 *WN(t-2) + ….. w And lagging by one, ARONE(t-1) = WN(t-1) +b*WN(t-2) + b 2 *WN(t-3) + ….. w So ARONE(t) depends on WN(t-1) and earlier shocks, so that E{ARONE(t-1)*WN(t)} = 0, i.e. ARONE(t) is independent of WN(t).

24 Autocovariance of ARONE  In sum,  AR,AR (1) = b*  AR,AR (0)  or in general for an ARONE,  AR,AR (u) = b*  AR,AR (u-1) which can be confirmed by taking the formula : w ARONE(t) = b*ARONE(t-1) + WN(t), multiplying by ARONE(t-u) and taking expectations.  Note  AR,AR (u) =  AR,AR (u) /  AR,AR (0)

25 Autocorrelation of ARONE(t)  So dividing  AR,AR (u) = b*  AR,AR (u-1) by  AR,AR (0) results in   AR,AR (u) = b*  AR,AR (u-1), u>0   AR,AR (1) = b*  AR,AR (0) = b   AR,AR (2) = b*  AR,AR (1) = b*b = b 2 w etc.

26 Autocorrelation Function of an Autoregressive Process of the First Order

28 Part IV. Forecasting-Information Sources w The Conference Board publishes a monthly, Business Cycle Indicators w A monthly series followed in the popular press is the Index of Leading Indicators

29

30

31 Leading Index Components w Average Weekly Hours, anufacturing w Initial claims For Unemployment Insurance w Manufacturerers’ New Orders Consumer goods w Vendor Performance w Building Permits new private housing w Manufacturerers’ New Orders nondefense capital goods

32 Leading Index (Cont.0 w Stock Prices 500 common stocks w Money Supply M2 w Interest Rate Spread 10 Treasury bonds - Federal Funds Rate w Index of Consumer Expectations

33 Article About Leading Indices w indicators.org/GeneralInfo/bci4.pdf w BCI Web page: indicators.org/

34 Revised Versus Old Leading Index

35 Part V: Autoregressive of 1st Order w The model for an autoregressive process of the first order, ARONE(t) is: w ARONE(t) = b*ARONE(t-1) + WN(t) w or, using the lag operator, ARONE(t) = b*ZARONE(t) + WN(t), i.e. ARONE(t) - b*ZARONE(t) = WN(t), and factoring out ARONE(t): [1 -b*Z]*ARONE(t) = WN(t)

36 Autoregressive of 1st Order w Dividing by [1 - b*Z], w ARONE(t) = {1/[1 - b*Z]}WN(t) where the reciprocal of [1 - bZ] is: {1/[1 - b*Z]} = (1+b*Z+b 2 *Z 2 +b 3 *Z 3 +…) which can be verified by multiplying [1 - b*Z] by (1+b*Z+b 2 *Z 2 +b 3 *Z 3 +…) to obtain 1.

37 Autoregressive of the First Order w Note that we can write ARONE(t) as 1/[1-b*Z]*WN(t), i.e. ARONE(t) ={1/B(Z)}* WN(t), where B(Z) = [1 - b*Z] is a first order polynomial in Z, w Or, we can write ARONE(t) as ARONE(t) = A(Z) * WN(t) where A(Z) = (1+b*Z+b 2 *Z 2 +b 3 *Z 3 +…) is a polynomial in Z of infinite order.

38 Autoregreesive of the First Order w So 1/B(Z) = A(Z). A first order polynomial in the denominator can approximate an infinite order polynomial in the numerator. w Box and Jenkins achieved parsimony, i.e. the use of only a few parameters which you need to estimate by modeling time series using the ratio of low order polynomials in the numerator and denominator: w ARMA(t) = {A(Z)/B(Z)}* WN(t)

39 Autoregressive of the First Order w For Now we will concentrate on the denominator: ARONE(t) = {1/B(Z)}*WN(t), where the polynomial in the denominator, B(Z) = [1 - b*Z], captures autoregressive behavior of the first order. w Later, we will turn our attention to the numerator, where A(Z) captures moving average behavior. w Then we will combine A(Z) and B(Z).

40 Puzzles w Annual data on output per hour; all persons, manufacturing w measure of productivity

41 Fractional Changes: Productivity

42 Histogram

Date: 04/15/03 Time: 16:59 Sample: Included observations: 51 AutocorrelationPartial Correlation AC PAC Q-Stat Prob **|. | **|. | |. |.*|. | *|. |.*|. | ***|. | ****|. | |**** |. |**** | *|. |.*|. | |. |.*|. | |. |.*|. | **|. |. |** | |*** |.*|. | |. |. |*. |