Time Series - ARIMA Models. Instructor: G. William Schwert



Similar documents
TIME SERIES ANALYSIS

Time Series Analysis

Advanced Forecasting Techniques and Models: ARIMA

Using JMP Version 4 for Time Series Analysis Bill Gjertsen, SAS, Cary, NC

Analysis of algorithms of time series analysis for forecasting sales

9th Russian Summer School in Information Retrieval Big Data Analytics with R

Some useful concepts in univariate time series analysis

Rob J Hyndman. Forecasting using. 11. Dynamic regression OTexts.com/fpp/9/1/ Forecasting using R 1

The SAS Time Series Forecasting System

ITSM-R Reference Manual

TIME SERIES ANALYSIS

Time Series Analysis and Forecasting

Analysis and Computation for Finance Time Series - An Introduction

How To Model A Series With Sas

USE OF ARIMA TIME SERIES AND REGRESSORS TO FORECAST THE SALE OF ELECTRICITY

Energy Load Mining Using Univariate Time Series Analysis

Time Series Analysis: Basic Forecasting.

Univariate Time Series Analysis; ARIMA Models

COMP6053 lecture: Time series analysis, autocorrelation.

Time Series Analysis

Graphical Tools for Exploring and Analyzing Data From ARIMA Time Series Models

Univariate and Multivariate Methods PEARSON. Addison Wesley

Luciano Rispoli Department of Economics, Mathematics and Statistics Birkbeck College (University of London)

Promotional Forecast Demonstration

Predicting Indian GDP. And its relation with FMCG Sales

Time Series Analysis of Aviation Data

MGT 267 PROJECT. Forecasting the United States Retail Sales of the Pharmacies and Drug Stores. Done by: Shunwei Wang & Mohammad Zainal

Forecasting of Paddy Production in Sri Lanka: A Time Series Analysis using ARIMA Model

Univariate Time Series Analysis; ARIMA Models

Time Series in Mathematical Finance

Readers will be provided a link to download the software and Excel files that are used in the book after payment. Please visit

Sales forecasting # 2

Time Series Analysis

Time Series Analysis

Time Series Analysis

Search Marketing Cannibalization. Analytical Techniques to measure PPC and Organic interaction

Studying Achievement

Forecasting the US Dollar / Euro Exchange rate Using ARMA Models

IBM SPSS Forecasting 22

Chapter 9: Univariate Time Series Analysis

Traffic Safety Facts. Research Note. Time Series Analysis and Forecast of Crash Fatalities during Six Holiday Periods Cejun Liu* and Chou-Lin Chen

SPSS TRAINING SESSION 3 ADVANCED TOPICS (PASW STATISTICS 17.0) Sun Li Centre for Academic Computing lsun@smu.edu.sg

FORECAST MODEL USING ARIMA FOR STOCK PRICES OF AUTOMOBILE SECTOR. Aloysius Edward. 1, JyothiManoj. 2

Chapter 27 Using Predictor Variables. Chapter Table of Contents

Introduction to Time Series Analysis. Lecture 6.

Discrete Time Series Analysis with ARMA Models

Time series Forecasting using Holt-Winters Exponential Smoothing

TIME-SERIES ANALYSIS, MODELLING AND FORECASTING USING SAS SOFTWARE

PITFALLS IN TIME SERIES ANALYSIS. Cliff Hurvich Stern School, NYU

Lecture 2: ARMA(p,q) models (part 3)

Lecture 4: Seasonal Time Series, Trend Analysis & Component Model Bus 41910, Time Series Analysis, Mr. R. Tsay

Software Review: ITSM 2000 Professional Version 6.0.

KATE GLEASON COLLEGE OF ENGINEERING. John D. Hromi Center for Quality and Applied Statistics

Forecasting Using Eviews 2.0: An Overview

Time Series Analysis 1. Lecture 8: Time Series Analysis. Time Series Analysis MIT 18.S096. Dr. Kempthorne. Fall 2013 MIT 18.S096

Promotional Analysis and Forecasting for Demand Planning: A Practical Time Series Approach Michael Leonard, SAS Institute Inc.

Time Series Analysis and Forecasting Methods for Temporal Mining of Interlinked Documents

1 Short Introduction to Time Series

Time Series Analysis in Economics. Klaus Neusser

Time-Series Analysis CHAPTER General Purpose and Description 18-1

Forecasting areas and production of rice in India using ARIMA model

IBM SPSS Forecasting 21

Agenda. Managing Uncertainty in the Supply Chain. The Economic Order Quantity. Classic inventory theory

3.1 Stationary Processes and Mean Reversion

Analysis of the Volatility of the Electricity Price in Kenya Using Autoregressive Integrated Moving Average Model

Threshold Autoregressive Models in Finance: A Comparative Approach

16 : Demand Forecasting

Integrated Resource Plan

11. Time series and dynamic linear models

Forecasting model of electricity demand in the Nordic countries. Tone Pedersen

Introduction to Time Series Analysis. Lecture 1.

Network Traffic Modeling and Prediction with ARIMA/GARCH

Modeling and forecasting regional GDP in Sweden. using autoregressive models

State Space Time Series Analysis

JetBlue Airways Stock Price Analysis and Prediction

Time Series Analysis

Chapter 25 Specifying Forecasting Models

APPLICATION OF THE VARMA MODEL FOR SALES FORECAST: CASE OF URMIA GRAY CEMENT FACTORY

JOHANNES TSHEPISO TSOKU NONOFO PHOKONTSI DANIEL METSILENG FORECASTING SOUTH AFRICAN GOLD SALES: THE BOX-JENKINS METHODOLOGY

Time Series Analysis

Time Series HILARY TERM 2010 PROF. GESINE REINERT

96 PROC. OF THE 10th PYTHON IN SCIENCE CONF. (SCIPY 2011) Time Series Analysis in Python with statsmodels

Time Series Analysis of Network Traffic

A FULLY INTEGRATED ENVIRONMENT FOR TIME-DEPENDENT DATA ANALYSIS

Is the Forward Exchange Rate a Useful Indicator of the Future Exchange Rate?

FORECASTING AND TIME SERIES ANALYSIS USING THE SCA STATISTICAL SYSTEM

Booth School of Business, University of Chicago Business 41202, Spring Quarter 2015, Mr. Ruey S. Tsay. Solutions to Midterm

Monitoring the SARS Epidemic in China: A Time Series Analysis

Econometrics I: Econometric Methods

In this paper we study how the time-series structure of the demand process affects the value of information

ARMA, GARCH and Related Option Pricing Method

Application of ARIMA models in soybean series of prices in the north of Paraná

GRETL. (Gnu Regression, Econometrics and. Time-series Library)

Time Series Analysis with R - Part I. Walter Zucchini, Oleg Nenadić

Forecasting the PhDs-Output of the Higher Education System of Pakistan

2.2 Elimination of Trend and Seasonality

(More Practice With Trend Forecasts)

Transcription:

APS 425 Fall 25 Time Series : ARIMA Models Instructor: G. William Schwert 585-275-247 schwert@schwert.ssb.rochester.edu Topics Typical time series plot Pattern recognition in auto and partial autocorrelations Stationarity & invertibility (c) Prof. G. William Schwert, 22-25

autocorrelations Used to identify pure AR models Estimate a sequence of AR(k) models, and report the last coefficient estimate, kk, for each lag k: AR(k): Zt = + k Zt +... + kk Zt-k + at Graph the pacf coefficients, kk, and see where they become zero, which implies that the right model is a (k)th order AR process AR(): Zt = + Zt + at =.9.8.6.4.2 -.2 -.4 -.6 -.8 Note: exponential decay 2 3 4 5 6 7 8 9 2 3 4 5 6 7 8 9 2 (c) Prof. G. William Schwert, 22-25 2

AR(): Zt = + Zt + at =.5.8.6.4.2 -.2 -.4 -.6 -.8 AR(): Zt = + Zt + at = -.5.8.6.4.2 -.2 -.4 -.6 -.8 (c) Prof. G. William Schwert, 22-25 3

AR(): Zt = + Zt + at = -.9.8.6.4.2 -.2 -.4 -.6 -.8 Note: oscillating autocorrelations AR(): Zt = + Zt + at =.9 5 4 3 2-2 -3-4 -5 2 3 4 5 6 7 8 9 Note: smooth long swings away from mean (c) Prof. G. William Schwert, 22-25 4

AR(): Zt = + Zt + at = -.9 5 4 3 2-2 -3 2 3 4 5 6 7 8 9 Note: jagged, frequent swings around mean AR(2): Zt = + Zt + 2 Zt-2 + at =.4 2 = -.45.8.6.4.2 -.2 -.4 -.6 -.8 (c) Prof. G. William Schwert, 22-25 5

AR(2): Zt = + Zt + 2 Zt-2 + at =.4 2 =.45.8.6.4.2 -.2 -.4 -.6 -.8 AR(2): Zt = + Zt + 2 Zt-2 + at =.4 2 = -.45 6 4 2-2 -4-6 -8 2 3 4 5 6 7 8 9 Note: smooth long swings away from mean (c) Prof. G. William Schwert, 22-25 6

regressive Models: Summary ) s decay or oscillate 2) s cut-off after lag p, for AR(p) model 3) Stationarity is a big issue very slow decay in autocorrelations should you difference? MA(): Zt = + at - at =.9.8.6.4.2 -.2 -.4 -.6 -.8 (c) Prof. G. William Schwert, 22-25 7

MA(): Zt = + at - at =.5.8.6.4.2 -.2 -.4 -.6 -.8 MA(): Zt = + at - at = -.5.8.6.4.2 -.2 -.4 -.6 -.8 (c) Prof. G. William Schwert, 22-25 8

MA(): Zt = + at - at =.9 5 4 3 2-2 -3 2 3 4 5 6 7 8 9 Note: jagged, frequent swings around the mean Moving Average Models: Summary ) s cut off after lag q for MA(q) model 2) autocorrelations decay or oscillate because an MA model is equivalent to an infinite order AR process 3) Note that Eviews uses a different convention for the sign of MA coefficients Estimate of MA coefficient is -.75 for IMA(,) model of inflation, in BJ notation it would be.75 (c) Prof. G. William Schwert, 22-25 9

regressive Moving Average Models ARMA(p,q): Zt = + Zt +... + p Zt-p + at at q at-q Combines both AR & MA characteristics: equivalent to infinite order MA process if stationary equivalent to infinite order AR process if invertible ARMA(,): Zt = + Zt + at - at =.9, =.5.8.6.4.2 -.2 -.4 -.6 -.8 Note: exponential decay, starting after lag (c) Prof. G. William Schwert, 22-25

ARMA(,): Zt = + Zt + at - at =.9, =.5 6 4 2-2 -4-6 -8 2 3 4 5 6 7 8 9 Note: smooth long swings around the mean regressive Moving Average Models: Summary ) s decay or oscillate because an AR model is equivalent to an infinite order MA process 2) s decay or oscillate because an MA model is equivalent to an infinite order AR process (c) Prof. G. William Schwert, 22-25

regressive Integrated Moving Average ARIMA(p,d,q) Models ) ARMA model in the d th differences of the data 2) First step is to find the level of differencing necessary 3) Next steps are to find the appropriate ARMA model for the differenced data 4) Need to avoid overdifferencing ARIMA(,,): (Zt -Zt) = at - at [T= 5].8.6.4.2 -.2 -.4 -.6 -.8 Note: autocorrelations decay very slowly (from a low level); pacf decays at rate.8 (c) Prof. G. William Schwert, 22-25 2

ARIMA(,,): (Zt -Zt) = at - at [T=5].8.6.4.2 -.2 -.4 -.6 -.8 Note: autocorrelations decay very slowly (from a moderate level); pacf decays at rate.8 ARIMA(,,): (Zt -Zt) = at - at [T=45].8.6.4.2 -.2 -.4 -.6 -.8 Note: autocorrelations decay very slowly (from a higher level); pacf decays at rate.8 (c) Prof. G. William Schwert, 22-25 3

s for Nonstationary ARIMA Models The sample autocorrelations decay very slowly and the level of the autocorrelations is dependent on the length of the sample (in this example T = 5, 5, or 45) This would not be true if the series was stationary ARIMA(,,) (Zt -Zt) = at - at 2-2 -3-4 -5 Note: slowly wandering level of series, with lots of variation around that level 2 3 4 5 6 7 8 9 (c) Prof. G. William Schwert, 22-25 4

Seasonal ARIMA(P,D,Q)s Models Just like ARIMA(p,d,q) models, except the gap between observations that affect one another is s periods, not period Example: ARIMA(,,) 2 model [monthly AR()] Zt = + Z t2 + e t so the autocorrelations decay exponentially at lags 2, 24, 36, etc. partial autocorrelation at lag 2 = after lag 2, they equal Seasonal ARIMA(,,)s Models This model occurs a lot in real data note that seasonal differencing removes a linear trend it also removes different fixed means i.e., dummy variables if the MA parameter is close to, this "exponential smoothing" model implies a slowly wandering level for the series that is different for each period of the year (c) Prof. G. William Schwert, 22-25 5

Seasonal Exponential Smoothing Forecasts ARIMA(,,) 2 model: [Z t -Z t2 ] = e t - e t2 ^ Z t2 (2) = Z t2 - e t2 = Z t2 - [Z t2 -Z t-24 (2)] = ( - ) Z t2 + Z t-24 (2) ^ ^ so the forecast for next January is a weighted average of the most recent observation and the forecast for that observation (for Januarys) Integrated Moving Average Models: Summary ) s decay slowly initial level is determined by how close MA parameter is to one 2) s decay or oscillate determined by MA parameter (c) Prof. G. William Schwert, 22-25 6

Links Return to APS 425 Home Page: http://schwert.ssb.rochester.edu/a425/a425main.htm (c) Prof. G. William Schwert, 22-25 7