TMA4285 December 2015 Time series models, solution.

Similar documents
Module 4. Stationary Time Series Models Part 1 MA Models and Their Properties

Examination paper for Solution: TMA4285 Time series models

Exercises - Time series analysis

Examination paper for TMA4285 Time Series Models

FE570 Financial Markets and Trading. Stevens Institute of Technology

We use the centered realization z t z in the computation. Also used in computing sample autocovariances and autocorrelations.

TMA4285 Time Series Models Exam December

Chapter 9: Forecasting

Circle the single best answer for each multiple choice question. Your choice should be made clearly.

Stochastic Modelling Solutions to Exercises on Time Series

STAT 443 Final Exam Review. 1 Basic Definitions. 2 Statistical Tests. L A TEXer: W. Kong

ARMA (and ARIMA) models are often expressed in backshift notation.

Ch 9. FORECASTING. Time Series Analysis

Module 3. Descriptive Time Series Statistics and Introduction to Time Series Models

Minitab Project Report - Assignment 6

FORECASTING SUGARCANE PRODUCTION IN INDIA WITH ARIMA MODEL

Forecasting using R. Rob J Hyndman. 2.4 Non-seasonal ARIMA models. Forecasting using R 1

A SARIMAX coupled modelling applied to individual load curves intraday forecasting

Introduction to ARMA and GARCH processes

7. Forecasting with ARIMA models

Empirical Market Microstructure Analysis (EMMA)

EASTERN MEDITERRANEAN UNIVERSITY ECON 604, FALL 2007 DEPARTMENT OF ECONOMICS MEHMET BALCILAR ARIMA MODELS: IDENTIFICATION

Minitab Project Report Assignment 3

Statistics 349(02) Review Questions

TIME SERIES ANALYSIS AND FORECASTING USING THE STATISTICAL MODEL ARIMA

Chapter 12: An introduction to Time Series Analysis. Chapter 12: An introduction to Time Series Analysis

Generalised AR and MA Models and Applications

MAT3379 (Winter 2016)

Problem Set 2: Box-Jenkins methodology

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

Circle a single answer for each multiple choice question. Your choice should be made clearly.

Autoregressive Moving Average (ARMA) Models and their Practical Applications

IDENTIFICATION OF ARMA MODELS

ECON/FIN 250: Forecasting in Finance and Economics: Section 6: Standard Univariate Models

Time Series I Time Domain Methods

Lecture 1: Fundamental concepts in Time Series Analysis (part 2)

STAT Financial Time Series

Univariate ARIMA Models

Firstly, the dataset is cleaned and the years and months are separated to provide better distinction (sample below).

AR, MA and ARMA models

Marcel Dettling. Applied Time Series Analysis SS 2013 Week 05. ETH Zürich, March 18, Institute for Data Analysis and Process Design

Stat 5100 Handout #12.e Notes: ARIMA Models (Unit 7) Key here: after stationary, identify dependence structure (and use for forecasting)

ARIMA Models. Jamie Monogan. January 16, University of Georgia. Jamie Monogan (UGA) ARIMA Models January 16, / 27

ECON/FIN 250: Forecasting in Finance and Economics: Section 8: Forecast Examples: Part 1

Time Series Examples Sheet

Lecture Notes of Bus (Spring 2017) Analysis of Financial Time Series Ruey S. Tsay

Ross Bettinger, Analytical Consultant, Seattle, WA

arxiv: v1 [stat.me] 5 Nov 2008

AR(p) + I(d) + MA(q) = ARIMA(p, d, q)

University of Oxford. Statistical Methods Autocorrelation. Identification and Estimation

UNIVARIATE TIME SERIES ANALYSIS BRIEFING 1970

Stationary Stochastic Time Series Models

A time series is called strictly stationary if the joint distribution of every collection (Y t

ECON/FIN 250: Forecasting in Finance and Economics: Section 7: Unit Roots & Dickey-Fuller Tests

Introduction to Time Series Analysis. Lecture 11.

Advanced Econometrics

Ch 4. Models For Stationary Time Series. Time Series Analysis

Part III Example Sheet 1 - Solutions YC/Lent 2015 Comments and corrections should be ed to

A Comparison of the Forecast Performance of. Double Seasonal ARIMA and Double Seasonal. ARFIMA Models of Electricity Load Demand

Forecasting with ARMA

Statistics 910, #15 1. Kalman Filter

NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER II EXAMINATION MAS451/MTH451 Time Series Analysis TIME ALLOWED: 2 HOURS

at least 50 and preferably 100 observations should be available to build a proper model

MODELING INFLATION RATES IN NIGERIA: BOX-JENKINS APPROACH. I. U. Moffat and A. E. David Department of Mathematics & Statistics, University of Uyo, Uyo

6.3 Forecasting ARMA processes

Homework 4. 1 Data analysis problems

Suan Sunandha Rajabhat University

Time Series 3. Robert Almgren. Sept. 28, 2009

MAT 3379 (Winter 2016) FINAL EXAM (SOLUTIONS)

2. An Introduction to Moving Average Models and ARMA Models

Università di Pavia. Forecasting. Eduardo Rossi

Levinson Durbin Recursions: I

Trend-Cycle Decompositions

Time Series Analysis

Levinson Durbin Recursions: I

Lecture 1: Stationary Time Series Analysis

We will only present the general ideas on how to obtain. follow closely the AR(1) and AR(2) cases presented before.

Reliability and Risk Analysis. Time Series, Types of Trend Functions and Estimates of Trends

ITSM-R Reference Manual

Unit root problem, solution of difference equations Simple deterministic model, question of unit root

Lecture 16: State Space Model and Kalman Filter Bus 41910, Time Series Analysis, Mr. R. Tsay

Univariate Nonstationary Time Series 1

Ch 6. Model Specification. Time Series Analysis

Lesson 13: Box-Jenkins Modeling Strategy for building ARMA models

Econometría 2: Análisis de series de Tiempo

Classic Time Series Analysis

5 Transfer function modelling

Midterm Suggested Solutions

Lecture 3: Autoregressive Moving Average (ARMA) Models and their Practical Applications

Econometrics II Heij et al. Chapter 7.1

The Identification of ARIMA Models

3 Theory of stationary random processes

Lecture 19 Box-Jenkins Seasonal Models

Analysis. Components of a Time Series

18.S096 Problem Set 4 Fall 2013 Time Series Due Date: 10/15/2013

STAT 443 (Winter ) Forecasting

THE UNIVERSITY OF CHICAGO Booth School of Business Business 41914, Spring Quarter 2013, Mr. Ruey S. Tsay

APPLIED ECONOMETRIC TIME SERIES 4TH EDITION

Week 5 Quantitative Analysis of Financial Markets Characterizing Cycles

THE ROYAL STATISTICAL SOCIETY 2009 EXAMINATIONS SOLUTIONS GRADUATE DIPLOMA MODULAR FORMAT MODULE 3 STOCHASTIC PROCESSES AND TIME SERIES

Transcription:

Norwegian University of Science and Technology Department of Mathematical Sciences Page of 5 TMA4285 December 205 Time series models, solution. Problem a) (i) The slow decay of the ACF of z t suggest that the model is non-stationary. The differenced series and its ACF appears stationary which suggests that d =. The ACF of ( B)z t cuts off after lag k = whereas the PACF exhibit exponential decay with alternating signs which suggest that ( B)z t is MA(). Overall the model is then ARIMA(0,,). (ii) The PACF cuts of after lag k = 3 whereas the ACF exhibits damped occilations aswell as possibly an exponentially decaying component consistent with an AR(3) model with two complex and one positive real root (any complex roots necessarily appear in conjungate pairs so at least one root needs to be real). So this is an ARIMA(3,0,0) model. (iii) The large autocorrelation at lag k = 2 suggest a seasonal model with period s = 2. The overall sample ACF can be seen as a convolution between the ACF of a regular AR() model (the ACF decays exponentially and the PACF at cuts off at lag k = 2) and the ACF of MA() model at multiples of the seasonal period s (the ACF at lag k = 2s = 24 is zero). Thus the observed pattern appears consistent with a seasonal ARIMA(, 0, 0) (0, 0, ) 2 model. b) Given that w t = ( B)z t is MA(), the two first autocovariances are γ 0 = σ 2 a( θ 2 ) and γ = σ 2 aθ. The theoretical autocorrelation at lag is thus ρ = θ /( θ 2 ). Equating this to the sample autocorrelation ˆρ and solving for θ yields two solutions θ =.4, θ = 0.7 out of which we choose θ = 0.7 as our estimate to satisfy the requirement of invertibility. Problem 2 a) To write in pure AR( ) form π(b) must satisfy ( φ B)Z t = ( θ B)a t π(b)z t = a t, ( π B π 2 B 2...)( θ B) = ( φ B) Expanding and equating like terms yields π = φ θ and π j = θ π j = θ j (φ θ ) for j 2. This AR( ) representation only exist when the MA part of the model is invertible for θ <.

Solution: TMA4285 Time Series Models, December 205 Page 2 of 5 b) Assuming that 0.56 is the last observation Z 5, the -step ahead forecast becomes Ẑ 5 () = E(Z 6 Z 5, Z 4,...) = π Z 5 π 2 Z 4... = (φ θ )(Z 5 θ Z 4 θ 2 Z 3...) =.5 (.56.4.93.6.5.064 2.28.0256 2.97.002.96.004.54.006 (.7)...) = 0.876. c) For lead times l 2, the forecasts become Ẑ 5 (l) = E(Z 5l Z 5,...) = E(φ Z 5l a 5l θ a 5l Z 5,...) = φ E(Z 5l Z 5,...) = φ Ẑ 5 (l ) = φ l Ẑ 5 () =.9 l 0.876. As l this tends to the stationary mean of the process, E(Z t ) = 0. d) The M A( ) polynomial ψ(b) = θ(b)/φ(b) must satisfy ( ψ B ψ 2 B 2...)( φ B) = ( θ B) Expanding and equating like terms yields ψ = φ θ and ψ j = φ ψ j for j 2. Hence ψ j = φ j (φ θ ) for j. The variance of the l-step ahead forecast error is then Var(Z tl Ẑt(l)) l = Var( ψ j a tl j ) = σ 2 a l ψj 2 l 2 (φ θ ) 2 φ 2(j ) j= l 2 2 (φ θ ) 2 (φ 2 ) j = σ 2 a As l, this tends to ( (φ θ ) 2 ) σ 2 a φ 2 the stationary variance of the process (see p. 6 in Wei). ( (φ θ ) 2 φ2(l ) φ 2 ) 2 θ 2 2φ θ φ 2 = Var(Z t ),.

Solution: TMA4285 Time Series Models, December 205 Page 3 of 5 Problem 3 a) Treating z as given, the conditional likelihood takes the form L (φ, σa) 2 = f(z 2, z 3, z 4, z 5 z ) = f(z t z t ) = = (z t φ z t ) 2 (2πσa) 2 e a 2 /2 (2πσ 2 a) 4/2 e 2 a 5 (zt φzt )2. σ Assuming that the process is stationary ( φ < ), z N(0, 2 a ). The exact likelihood is φ 2 then L(φ, σa) 2 = f(z, z 2, z 3, z 4, z 5 ) = f(z ) f(z t z t ) b) The corresponding log likelihoods are and = ( φ2 ) /2 ( φ 2 )z2 (2πσa) 2 e a 2 /2 (z t φ z t ) 2 (2πσa) 2 e a 2 /2 = ( φ2 ) /2 (2πσa) 2 5/2 e a 2 [( φ 2 )z2 5 (zt φzt )2 ]. ln L (φ, σ 2 a) = C 4 2 ln σ2 a 2 a (z t φ z t ) 2 ln L(φ, σa) 2 = C 5 2 ln σ2 a 2 ln( φ2 ) a 2 [( φ 2 )z 2 (z t φ z t ) 2 ]. For φ =.5, these are maximised for ˆσ a 2 = (z t φ z t ) 2 = 4 4 (.22.2 2.3 2.2 2 ) = 0.0525, and ˆσ 2 a = 5 [( φ2 )z 2 respectively. (z t φ z t ) 2 ] = 5 ((.52 ) 2 2.2 2.2 2.3 2.2 2 ) = 0.642, The large difference is a result of the fact that z contains information which is ignored when using the approximate conditional maximum likelihood approach. The conditional MLE of 0.0525 is not very consistent with the full data set, in particular, this value of σ 2 a would imply a stationary variance σ 2 a/( φ 2 ) = 0.07 (and a stationary standard deviation of 0.26) for which z 2 would be an extremely unlikely event with a probability of the order of 0 4.

Solution: TMA4285 Time Series Models, December 205 Page 4 of 5 Table : Results from applying the Kalman filter t Ŷ t t V t t Ŷ t t V t t Ŷ t 5 V t 5 2 0 2 0 2.5.25.765 0.9882 3.5.25.25.325 0.942.765 4.25.325.25.328.765 0.9882 5 2 0 2 0 Problem 4 a) With no observations at t = 2, 3, 4, the filtering steps at these time points become Ŷ t t = Ŷt t, V t t = V t t, () that is, the probability distribution of Y t conditional on observations up to time t is the same as the distribution conditional on observations up to time t. This can also be seen from the general formula for the filtering step by letting Ω (or rather the time dependent Ω t ) go to infinity which is equivalent to a missing observation. This leads to a kalman gain K t = 0 from which () follows. Also note that the state Y and Y 5 is observed without any error, such that Ŷt t = Z t = 2 and V t t = 0 for t = and t = 5 and so no initial values are needed. Forecasting Y 2, we get Ŷ2 = φ Ŷ = 0.5 2 = and V 2 = φ 2 V σ 2 a =. Similar calculations and () leads to the numbers in Table. b) Applying the smoothing recursions, using Ŷ5 5 = 2 and V 5 5 = 0 as initial values, we first obtain, for t = 4, J 4 = V 4 4 φ /V 5 4 = 0.5.325/.328 = 0.494, Ŷ4 5 = Ŷ4 4 J 4 (Ŷ5 5 Ŷ5 4) =.25 0.494(2 0.25) =.764, V 4 5 = V 4 4 J 2 t (V 5 5 V 5 4 ) =.3250.494 2 (0.328) = 0.9882. Similar calculations leads to the numbers in Table. Fig. shows the estimates and their associated uncertainty. The symmetry of the autocovariance function of a stationary process Y t and the pattern of the observed values translates to the estimated states being symmetric about t = 3. Additionallly, the expected value and the variances of the estimated states tends towards the stationary mean and variance of the process with increasing distance from the observations (towards the midpoint t = 3) as expected.

Solution: TMA4285 Time Series Models, December 205 Page 5 of 5 Y t 2 0 2 3 4 2 3 4 5 t Figure : Expected value and 95% probability limits of Y t Z, Z 5.