Slide 1 DSCI 5340: Predictive Modeling and Business Forecasting Spring 2013 – Dr. Nick Evangelopoulos Lecture 8: Estimation & Diagnostic Checking in Box-Jenkins.

Slides:



Advertisements
Similar presentations
FINANCIAL TIME-SERIES ECONOMETRICS SUN LIJIAN Feb 23,2001.
Advertisements

Autocorrelation Functions and ARIMA Modelling
DSCI 5340: Predictive Modeling and Business Forecasting Spring 2013 – Dr. Nick Evangelopoulos Exam 1 review: Quizzes 1-6.
Model Building For ARIMA time series
Part II – TIME SERIES ANALYSIS C5 ARIMA (Box-Jenkins) Models
Slide 1 DSCI 5340: Predictive Modeling and Business Forecasting Spring 2013 – Dr. Nick Evangelopoulos Lecture 7: Box-Jenkins Models – Part II (Ch. 9) Material.
Applied Business Forecasting and Planning
Time Series Analysis Materials for this lecture Lecture 5 Lags.XLS Lecture 5 Stationarity.XLS Read Chapter 15 pages Read Chapter 16 Section 15.
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.
An Introduction to Time Series Ginger Davis VIGRE Computational Finance Seminar Rice University November 26, 2003.
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.
Non-Seasonal Box-Jenkins Models
13 Introduction toTime-Series Analysis. What is in this Chapter? This chapter discusses –the basic time-series models: autoregressive (AR) and moving.
BABS 502 Lecture 9 ARIMA Forecasting II March 23, 2009.
Time series analysis - lecture 2 A general forecasting principle Set up probability models for which we can derive analytical expressions for and estimate.
ARIMA-models for non-stationary time series
Modeling Cycles By ARMA
BABS 502 Lecture 8 ARIMA Forecasting II March 16 and 21, 2011.
Prediction and model selection
ARIMA Forecasting Lecture 7 and 8 - March 14-16, 2011
Financial Econometrics
Modern methods The classical approach: MethodProsCons Time series regression Easy to implement Fairly easy to interpret Covariates may be added (normalization)
Non-Seasonal Box-Jenkins Models
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.
The Box-Jenkins Methodology for ARIMA Models
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.
Tutorial for solution of Assignment week 39 “A. Time series without seasonal variation Use the data in the file 'dollar.txt'. “
Lecture 7: Forecasting: Putting it ALL together. The full model The model with seasonality, quadratic trend, and ARMA components can be written: Ummmm,
Slide 1 DSCI 5340: Predictive Modeling and Business Forecasting Spring 2013 – Dr. Nick Evangelopoulos Lecture 3: Time Series Regression (Ch. 6) Material.
Autoregressive Integrated Moving Average (ARIMA) Popularly known as the Box-Jenkins methodology.
Slide 1 DSCI 5340: Predictive Modeling and Business Forecasting Spring 2013 – Dr. Nick Evangelopoulos Lecture 5: Exponential Smoothing (Ch. 8) Material.
John G. Zhang, Ph.D. Harper College
FORECASTING. Minimum Mean Square Error Forecasting.
Autocorrelation, Box Jenkins or ARIMA Forecasting.
Slide 1 DSCI 5340: Predictive Modeling and Business Forecasting Spring 2013 – Dr. Nick Evangelopoulos Lecture 2: Review of Multiple Regression (Ch. 4-5)
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?
1 Chapter 3:Box-Jenkins Seasonal Modelling 3.1Stationarity Transformation “Pre-differencing transformation” is often used to stablize the seasonal variation.
Time Series Basics Fin250f: Lecture 8.1 Spring 2010 Reading: Brooks, chapter
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.
Time Series Analysis Lecture 11
Estimation Method of Moments (MM) Methods of Moment estimation is a general method where equations for estimating parameters are found by equating population.
Forecasting (prediction) limits Example Linear deterministic trend estimated by least-squares Note! The average of the numbers 1, 2, …, t is.
K. Ensor, STAT Spring 2005 Estimation of AR models Assume for now mean is 0. Estimate parameters of the model, including the noise variace. –Least.
Dynamic Models, Autocorrelation and Forecasting ECON 6002 Econometrics Memorial University of Newfoundland Adapted from Vera Tabakova’s notes.
The Box-Jenkins (ARIMA) Methodology
Seasonal ARIMA FPP Chapter 8.
Regression Analysis: A statistical procedure used to find relations among a set of variables B. Klinkenberg G
Introduction to stochastic processes
Subodh Kant. Auto-Regressive Integrated Moving Average Also known as Box-Jenkins methodology A type of linear model Capable of representing stationary.
STAT 497 LECTURE NOTES 3 STATIONARY TIME SERIES PROCESSES
MODEL DIAGNOSTICS By Eni Sumarminingsih, Ssi, MM.
EC 827 Module 2 Forecasting a Single Variable from its own History.
Analysis of Financial Data Spring 2012 Lecture 4: Time Series Models - 1 Priyantha Wijayatunga Department of Statistics, Umeå University
Ch8 Time Series Modeling
Chapter 6: Autoregressive Integrated Moving Average (ARIMA) Models
Model Building For ARIMA time series
CHAPTER 16 ECONOMIC FORECASTING Damodar Gujarati
CH2 Time series.
BOX JENKINS (ARIMA) METHODOLOGY
Chap 7: Seasonal ARIMA Models
Presentation transcript:

slide 1 DSCI 5340: Predictive Modeling and Business Forecasting Spring 2013 – Dr. Nick Evangelopoulos Lecture 8: Estimation & Diagnostic Checking in Box-Jenkins Models (Ch. 10) Material based on: Bowerman-O’Connell-Koehler, Brooks/Cole

slide 2 DSCI 5340 FORECASTING Page Ex 9.5, Ex 9.6 Ex 9.7 Homework in Textbook

slide 3 DSCI 5340 FORECASTING EX 9.5 Page 443 Assume time origin is 122. y122 = is given. Y122hat = from page 427 Y122 – Y122hat = a122hat = =

slide 4 DSCI 5340 FORECASTING EX 9.5 Page 443 Y123hat y123hat = y122hat + a123hat -  1 hat*a122hat Note that at time origin 122, we do know y122. Note that we can compute a122hat since we know y122. a123hat is zero since we do not know y123. y123hat = y122hat + a123hat -  1 hat*a122hat y123(hat) = (-.3534)(-.2615) =

slide 5 DSCI 5340 FORECASTING EX 9.5 Page 443 Y124hat y124hat = y123hat + a124hat -  1 hat*a123hat Note that at time origin 122, we do not know y123 – so we need to use y123hat. Note that we cannot compute a123hat or a124 since we are at time origin 122. y124hat = y123hat + a124hat -  1 hat*a123hat y124(hat) = (-.3534)(0) =

slide 6 DSCI 5340 FORECASTING EX 9.6 Page 443 SAC cutoffs after lag 2. SPAC dies down. Second order moving average

slide 7 DSCI 5340 FORECASTING EX 9.7 Page 445 Part a: Close call – first difference would be better.

slide 8 DSCI 5340 FORECASTING EX 9.7 Page 445 part b SAC dies down and SPAC cuts off after lag of 2. AR(2) is best fit.

slide 9 DSCI 5340 FORECASTING EX 9.7 Page 445 part c. SPAC seems to die down slower than SAC. Assuming SAC cuts off, we can say that SAC cuts off after lag 1. Hence, MA(1).

slide 10 DSCI 5340 FORECASTING Questions 1. What is the name of the function that identifies the order of an autoregressive B-J model? SPAC – Sample Partial Autocorrelation function 2. What is the name of the function that identifies the order of a moving average B-J model? SAC – Sample Autocorrelation function

slide 11 DSCI 5340 FORECASTING Questions 3. What happens to the mean and variance of an AR(1) model if the  1 coefficient is equal to 1? Greater than 1? Mean is undefined for  1 value equal to 1 and has a sign opposite to that of the constant for a  1 value > 1. Variance is undefined for value =1.

slide 12 DSCI 5340 FORECASTING Questions 4. Is the model y t = y t-1 + a t stationary or nonstationary? Why? Note that y t = y t-1 + a t implies y t = (y t-2 + a t-1 ) + a t and this implies y t = (y t-3 + a t-2 ) + a t-1 + a t So y t = a t + a t-1 + a t-2 + … The variance of y t is the sum of approximately infinite variances from each independent noise term. Each y t has higher variance then the one before it. y t is not stationary. But z t = y t –y t-1 is stationary.

slide 13 DSCI 5340 FORECASTING 13 The condition for stationarity of a general AR(p) model is that the roots of all lie outside the unit circle. A stationary AR(p) model is required for it to have an MA(  ) representation. Example 1: Is y t = y t-1 + u t stationary? The characteristic root is 1, so it is a unit root process (so non- stationary) Example 2: Is y t = 3y t y t y t-3 +u t stationary? The characteristic roots are 1, 2/3, and 2. Since only one of these lies outside the unit circle, the process is non-stationary. The Stationary Condition for an AR Model

slide 14 DSCI 5340 FORECASTING Invertibility of a MA process z t can be expressed as an infinite series of past z-observations. However, if the coefficients (weights) do not decline fast enough then the model will be unstable. Invertibility implies that recent observations count more heavily than distant past observations.

slide 15 DSCI 5340 FORECASTING Conditions for Stationarity and Invertibility

slide 16 DSCI 5340 FORECASTING Point Estimates – Preliminary & Final Computer Packages ( such as MINITAB and SAS) supply default preliminary estimates for time series models. These estimates must meet stationarity and invertibility conditions. The easiest preliminary point estimate that almost always satisfies these conditions is the value of.1. We can usually do better. For example, for an AR(1), the first order autocorrelation is equal to the autoregressive coefficient   

slide 17 DSCI 5340 FORECASTING Preliminary Estimate for   constant term)  in an AR(1)

slide 18 DSCI 5340 FORECASTING Iterative Search for Coefficient Estimates

slide 19 DSCI 5340 FORECASTING Box and Jenkins (1970) were the first to approach the task of estimating an ARMA model in a systematic manner. There are 3 steps to their approach: 1. Identification 2. Estimation 3. Model diagnostic checking Step 1: - Involves determining the order of the model. - Use of graphical procedures - A better procedure is now available Building ARMA Models – The Box Jenkins Approach

slide 20 DSCI 5340 FORECASTING Step 2: - Estimation of the parameters - Can be done using least squares or maximum likelihood depending on the model. Step 3: - Model checking Box and Jenkins suggest 2 methods: - deliberate overfitting - residual diagnostics Building ARMA Models – The Box Jenkins Approach (cont’d)

slide 21 DSCI 5340 FORECASTING Diagnostic Checking Using Autocorrelations of Residuals

slide 22 DSCI 5340 FORECASTING Chi-Square Distribution Associated with Ljung-Box Statistic

slide 23 DSCI 5340 FORECASTING Ljung-Box Values in SAS printout Large p-values under Pr > ChiSq indicate that the model is adequate.

slide 24 DSCI 5340 FORECASTING MINITAB Example of Ljung-Box Statistic Large p-values indicate no more terms need to be added to model.

slide 25 DSCI 5340 FORECASTING RSAC and RSPAC should not have significant spikes

slide 26 DSCI 5340 FORECASTING Prediction Intervals n p is the number of parameters being estimated in the model.

slide 27 DSCI 5340 FORECASTING Page 480 Ex 10.1 through 10.6 Homework in Textbook