1 Identifying ARIMA Models What you need to know.

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
Dates for term tests Friday, February 07 Friday, March 07
Model Building For ARIMA time series
Part II – TIME SERIES ANALYSIS C5 ARIMA (Box-Jenkins) Models
Analysis of Sales of Food Services & Drinking Places Julianne Shan Ho-Jung Hsiao Christian Treubig Lindsey Aspel Brooks Allen Edmund Becdach.
Slide 1 DSCI 5340: Predictive Modeling and Business Forecasting Spring 2013 – Dr. Nick Evangelopoulos Lecture 7: Box-Jenkins Models – Part II (Ch. 9) Material.
Time Series Building 1. Model Identification
R. Werner Solar Terrestrial Influences Institute - BAS Time Series Analysis by means of inference statistical methods.
Economics 310 Lecture 25 Univariate Time-Series Methods of Economic Forecasting Single-equation regression models Simultaneous-equation regression models.
How should these data be modelled?. Identification step: Look at the SAC and SPAC Looks like an AR(1)- process. (Spikes are clearly decreasing in SAC.
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.
United States Imports Michael Williams Kevin Crider Andreas Lindal Jim Huang Juan Shan.
Modeling Cycles By ARMA
1 Takehome One month treasury bill rate.
1 Lecture Eleven Econ 240C. 2 Outline Review Stochastic Time Series –White noise –Random walk –ARONE: –ARTWO –ARTHREE –ARMA(2,2) –MAONE*SMATWELVE.
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.
Revenue Passenger Miles (RPM) Brandon Briggs, Theodore Ehlert, Mats Olson, David Sheehan, Alan Weinberg.
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.
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 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. 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 Takehome One Excaus:Price of US $ in Canadian $
1 Arch-Garch Lab Nine. 2 Producer Price Index for Finished Goods, 1982 =100, –
Project Average Weekly Hours, Manufacturing.
Financial Time Series CS3. Financial Time Series.
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.
Modern methods The classical approach: MethodProsCons Time series regression Easy to implement Fairly easy to interpret Covariates may be added (normalization)
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 Power Nine Econ 240C. 2 Outline Lab Three Exercises Lab Three Exercises –Fit a linear trend to retail sales –Add a quadratic term –Use both models to.
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.
He Loves Me, He Loves Me Not A Forecast of U.S. Jewelry Sales Alex Gates Ling-Ching Hsu Shih-Hao Lee Hui Liang Mateusz Tracz Grant Volk June 1, 2010.
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.
AR- MA- och ARMA-.
ARMA models Gloria González-Rivera University of California, Riverside
STAT 497 LECTURE NOTES 2.
Linear Stationary Processes. ARMA models. This lecture introduces the basic linear models for stationary processes. Considering only stationary processes.
#1 EC 485: Time Series Analysis in a Nut Shell. #2 Data Preparation: 1)Plot data and examine for stationarity 2)Examine ACF for stationarity 3)If not.
Slide 1 DSCI 5340: Predictive Modeling and Business Forecasting Spring 2013 – Dr. Nick Evangelopoulos Exam 2 review: Quizzes 7-12* (*) Please note that.
Autoregressive Integrated Moving Average (ARIMA) Popularly known as the Box-Jenkins methodology.
Models for Non-Stationary Time Series The ARIMA(p,d,q) time series.
John G. Zhang, Ph.D. Harper College
Autocorrelation, Box Jenkins or ARIMA Forecasting.
Big Data at Home Depot KSU – Big Data Survey Course Steve Einbender Advanced Analytics Architect.
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?
Problems with the Durbin-Watson test
Time Series Basics Fin250f: Lecture 8.1 Spring 2010 Reading: Brooks, chapter
STAT 497 LECTURE NOTE 9 DIAGNOSTIC CHECKS 1. After identifying and estimating a time series model, the goodness-of-fit of the model and validity of the.
MULTIVARIATE TIME SERIES & FORECASTING 1. 2 : autocovariance function of the individual time series.
Auto Regressive, Integrated, Moving Average Box-Jenkins models A stationary times series can be modelled on basis of the serial correlations in it. A non-stationary.
Case 2 Review Brad Barker, Benjamin Milroy, Matt Sonnycalb, Kristofer Still, Chandhrika Venkataraman Time Series - February 2013.
Linear Filters. denote a bivariate time series with zero mean. Let.
Seasonal ARIMA FPP Chapter 8.
2/25/ lecture 121 STATS 330: Lecture 12. 2/25/ lecture 122 Diagnostics 4 Aim of today’s lecture To discuss diagnostics for independence.
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.
Introduction to stochastic processes
Chapter 6: Autoregressive Integrated Moving Average (ARIMA) Models
Statistics 153 Review - Sept 30, 2008
Econ 240 C Lecture 4.
Model Building For ARIMA time series
ECON 240C Lecture 7.
Eviews Tutorial for Labor Economics Lei Lei
BOX JENKINS (ARIMA) METHODOLOGY
Presentation transcript:

1 Identifying ARIMA Models What you need to know

2 Autoregressive of the second order X(t) = b 1 x(t-1) + b 2 x(t-2) + wn(t) b 2 is the partial regression coefficient measuring the effect of x(t-2) on x(t) holding x(t-1) constant Since x(t) is regressed on itself lagged, b 2 can also be interpreted as a partial autoregression coefficient of x(t) regressed on itself lagged twice.

3 continued In one more step b 2 can be defined as the partial autocorrelation coefficient at lag 2, b 2 = pacf(2) Solving the yule-Walker equations: b 2 = {acf(2) – [acf(1)] 2 }/[1 – [acf(1)] 2 We know that if the process is autoregressive of the first order, then acf(2) = [acf(1)] 2 and so b 2 = 0

4 So now we are back to autoregressive of the first oder x(t) = b x(t-1) + wn(t) There is only one regression coefficient, b, so acf(1) = pacf(1) = b

5 In summary The partial autocorrelation function, pacf(u) indicates the order of the autregressive process. If only pacf(1) is significantly different from zero, then the autoregressive process is of order one. If the pacf(2) is significantly different from zero, then the autoregressive process is of order two, and so on. Thus we use the partial autocorrelation function to specify the order of the autoregressive process to be estimated

6 The autocorrelation function The autocorrelation function, acf(u) is used to determine the order of the moving average process If acf(1) is significantly different from zero and there are no other significant autocorrelations, then we specify a first order MA process to be estimated

7 Cont. If there is a significant autocorrelation at lag two and none at higher lags, then we specify a second order moving average process

8 Moving Average Process X(t) = wn(t) + a 1 wn(t-1) + a 2 wn(t-2) + a 3 wn(t-3) Taking expectations the mean function is zero, Ex(t) = m(t) = o Multiplying by x(t-1) and taking expectations, E[x(t)x(t-1)] = EX(t) = wn(t) + a 1 wn(t-1) + a 2 wn(t-2) + a 3 wn(t-3) X(t-1) = wn(t-1) + a 1 wn(t-2) + a 2 wn(t-3) + a 3 wn(t- 4), γ x,x (1) = [a 1 + a 1 a 2 + a 2 a 3 ] σ 2

9 Continuing The autocovariance at lag 2, γ x,x (2) = E x(t) x(t-2) EX(t) = wn(t) + a 1 wn(t-1) + a 2 wn(t-2) + a 3 wn(t-3) X(t-2) = wn(t-2) + a 1 wn(t-3) + a 2 wn(t-4) + a 3 wn(t-5), γ x,x (2) = [a 2 + a 1 a 3 ] σ 2 The autocovariance at lag 3, γ x,x (3) = E x(t) x(t-4) EX(t) = wn(t) + a 1 wn(t-1) + a 2 wn(t-2) + a 3 wn(t-3) X(t-3) = wn(t-3) + a 1 wn(t-4) + a 2 wn(t-5) + a 3 wn(t-6), γ x,x (3) = [a 3 ] σ 2 The autocovariance at lag 4 is zero, E x(t)x(t-4) = 0, so the autocovariance function determines the order of the MA process

10 Specifying ARMA Processes x(t) = A(z)/B(z) The autocovariance function divided by the variance, i.e. the autocorrelation function, acf(u), indicates the order of A(z) and the partial autocorrelation function, pacf(u) indicates the order of B(z) In Eviews specify x(t) c ar(1) ar(2) ….ar(u) for a u th order B(z) and include ma(1) ma(2) ….ma(u) for a u th order A(z), i.e. X(t) c ar(1) ar(2) …ar(u) ma(1) ma(2) …ma(u)

11 Summary of Identification Spreadsheet Trace: Is it stationary? Histogram: is it normal? Correlogram: order of A(z) and B(z) Unit root test: is it stationary?1111 Specification estimation

12 ARMA Processes Identification Specification and Estimation Validation –Significance of estimated parameters and DW –Actual, fitted and residual –Residual tests Correlogram: are they orthogonal? Also the Breusch-Godfrey test for serial correlation Histogram; are they normal? Forecasting

13 Example: Capacity utilization mfg.

14Spreadsheet

15Histogram

16 Correlogram

17 Unit root test

18 Pre-Whiten Gen dmcumfn =mcumfn – mcumfn(-1)

19Spreadsheet

20 Trace

21histogram

22Correlogram

23 Unit root test

24 Specification Dmcumfn c ar(1) ar(2)

25 Estimation

26Validation

27 Correlogram of the residuals

28 Breusch-Godfrey Serial correlation test

29 Re-Specify

30 Estimation

31 Validation

32 Correlogram of the Residuals

33 Breusch-Godfrey Serial correlation test

34 Histogram of the residuals

35 Forecasting: Procs. Workfile range

36 Forecasting: Equation window.forecast

37 Forecasting

38 Forecasting: Quick, show

39Forecasting

40 Forecasting: show, view, graph-line

41 Reintegration

42 Forecasting mcumfn

43 Forecast mcumfn, quick, show

44 Forecasting mcumfn

45 What can we learn from this forecast? If, in the next nine months, mcumfn grows beyond the upper bound, this is new information indicating a rebound in manufacturing If, in the next nine months, mcumfn stays within the upper and lower bounds, then this means the recovery remains sluggish If mcumfn goes below the lower bound, run for the hills!