The Box-Cox Transformation and ARIMA Model Fitting

Size: px
Start display at page:

Download "The Box-Cox Transformation and ARIMA Model Fitting"

Transcription

1 The Box-Cox Transformation and ARIMA Model Fitting

2 Outline 1 4.3: Variance Stabilizing Transformations 2 6.1: ARIMA Model Identification 3 Homework 3b Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 2/ 18

3 Mathematical Formulation Suppose the variance of a time series Z t satisfies var(z t ) = cf (µ t ) We wish to find a transformation such that,t( ), such that var[t(z t )] is constant. A first-order Taylor series of T(Z t ) about µ t is Now var[t(z t )] is approximated as T(Z t ) T(µ t ) + T (µ t )(Z t µ t ) var [T(Z t )] [ T (µ t ) ] 2 var(zt ) = c [ T (µ t ) ] 2 f (µt ) Therefore T( ) is chosen such that T (µ t ) = 1 f (µt ) which implies T(µ t ) = 1 f (µt ) dmu t Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 3/ 18

4 Mathematical Formulation Suppose the variance of a time series Z t satisfies var(z t ) = cf (µ t ) We wish to find a transformation such that,t( ), such that var[t(z t )] is constant. A first-order Taylor series of T(Z t ) about µ t is Now var[t(z t )] is approximated as T(Z t ) T(µ t ) + T (µ t )(Z t µ t ) var [T(Z t )] [ T (µ t ) ] 2 var(zt ) = c [ T (µ t ) ] 2 f (µt ) Therefore T( ) is chosen such that T (µ t ) = 1 f (µt ) which implies T(µ t ) = 1 f (µt ) dmu t Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 3/ 18

5 Mathematical Formulation Suppose the variance of a time series Z t satisfies var(z t ) = cf (µ t ) We wish to find a transformation such that,t( ), such that var[t(z t )] is constant. A first-order Taylor series of T(Z t ) about µ t is Now var[t(z t )] is approximated as T(Z t ) T(µ t ) + T (µ t )(Z t µ t ) var [T(Z t )] [ T (µ t ) ] 2 var(zt ) = c [ T (µ t ) ] 2 f (µt ) Therefore T( ) is chosen such that T (µ t ) = 1 f (µt ) which implies T(µ t ) = 1 f (µt ) dmu t Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 3/ 18

6 Mathematical Formulation Suppose the variance of a time series Z t satisfies var(z t ) = cf (µ t ) We wish to find a transformation such that,t( ), such that var[t(z t )] is constant. A first-order Taylor series of T(Z t ) about µ t is Now var[t(z t )] is approximated as T(Z t ) T(µ t ) + T (µ t )(Z t µ t ) var [T(Z t )] [ T (µ t ) ] 2 var(zt ) = c [ T (µ t ) ] 2 f (µt ) Therefore T( ) is chosen such that T (µ t ) = 1 f (µt ) which implies T(µ t ) = 1 f (µt ) dmu t Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 3/ 18

7 Mathematical Formulation Suppose the variance of a time series Z t satisfies var(z t ) = cf (µ t ) We wish to find a transformation such that,t( ), such that var[t(z t )] is constant. A first-order Taylor series of T(Z t ) about µ t is Now var[t(z t )] is approximated as T(Z t ) T(µ t ) + T (µ t )(Z t µ t ) var [T(Z t )] [ T (µ t ) ] 2 var(zt ) = c [ T (µ t ) ] 2 f (µt ) Therefore T( ) is chosen such that T (µ t ) = 1 f (µt ) which implies T(µ t ) = 1 f (µt ) dmu t Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 3/ 18

8 Mathematical Formulation Suppose the variance of a time series Z t satisfies var(z t ) = cf (µ t ) We wish to find a transformation such that,t( ), such that var[t(z t )] is constant. A first-order Taylor series of T(Z t ) about µ t is Now var[t(z t )] is approximated as T(Z t ) T(µ t ) + T (µ t )(Z t µ t ) var [T(Z t )] [ T (µ t ) ] 2 var(zt ) = c [ T (µ t ) ] 2 f (µt ) Therefore T( ) is chosen such that T (µ t ) = 1 f (µt ) which implies T(µ t ) = 1 f (µt ) dmu t Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 3/ 18

9 Box-Cox Transformation Transforming the time series can suppress large fluctuations. The most standard transformation is the log transformation where the new series y t is given by y t = log x t An alternative to the log transformation is the Box-Cox transformation: { (xt λ 1)/λ, λ 0 y t = ln x t, λ = 0 Many other transformations are suggested here. Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 4/ 18

10 Box-Cox Transformation Transforming the time series can suppress large fluctuations. The most standard transformation is the log transformation where the new series y t is given by y t = log x t An alternative to the log transformation is the Box-Cox transformation: { (xt λ 1)/λ, λ 0 y t = ln x t, λ = 0 Many other transformations are suggested here. Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 4/ 18

11 Box-Cox Transformation Transforming the time series can suppress large fluctuations. The most standard transformation is the log transformation where the new series y t is given by y t = log x t An alternative to the log transformation is the Box-Cox transformation: { (xt λ 1)/λ, λ 0 y t = ln x t, λ = 0 Many other transformations are suggested here. Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 4/ 18

12 Box-Cox in R > library(mass) > library(forecast) > x<-rnorm(100)^2 > ts.plot(x) > truehist(x) Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 5/ 18

13 Box-Cox in R (II) > bc<-boxcox(x~1) > lam<-bc$x[which.max(bc$y)] > lam [1] > truehist(boxcox(x,lam)) > ts.plot(boxcox(x,lam)) Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 6/ 18

14 Outline 1 4.3: Variance Stabilizing Transformations 2 6.1: ARIMA Model Identification 3 Homework 3b Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 7/ 18

15 Some Very Old Data Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 8/ 18

16 Glacial Varves variation in thickness amount deposited Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 9/ 18

17 Transformed Glacial Varve Series The transformation log(varve) appears appropriate although fractional differencing may be in order. Let s take a closer look at log(varve). > varve = scan("mydata/varve.dat") > varve2=diff(log(varve)) > ts.plot(varve2) > acf(varve2,lwd=5) > pacf(varve2,lwd=5) Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 10/ 18

18 Transformed Glacial Varve Series The transformation log(varve) appears appropriate although fractional differencing may be in order. Let s take a closer look at log(varve). > varve = scan("mydata/varve.dat") > varve2=diff(log(varve)) > ts.plot(varve2) > acf(varve2,lwd=5) > pacf(varve2,lwd=5) Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 10/ 18

19 Transformed Glacial Varve Series The transformation log(varve) appears appropriate although fractional differencing may be in order. Let s take a closer look at log(varve). > varve = scan("mydata/varve.dat") > varve2=diff(log(varve)) > ts.plot(varve2) > acf(varve2,lwd=5) > pacf(varve2,lwd=5) Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 10/ 18

20 Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 11/ 18

21 Diagnostics of ARIMA(0,1,1) on Logged Varve Data > (varve.ma = arima(log(varve), order = c(0, 1, 1))) Call: arima(x = log(varve), order = c(0, 1, 1)) Coefficients: ma s.e sigma^2 estimated as : log likelihood = , aic = > tsdiag(varve.ma) Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 12/ 18

22 Diagnostics of ARIMA(0,1,1) on Logged Varve Data > (varve.ma = arima(log(varve), order = c(0, 1, 1))) Call: arima(x = log(varve), order = c(0, 1, 1)) Coefficients: ma s.e sigma^2 estimated as : log likelihood = , aic = > tsdiag(varve.ma) Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 12/ 18

23 Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 13/ 18

24 Fitting ARIMA(1,1,1) to Logged Varve Data > pacf(varve.ma$resid, lwd=5) > (varve.arma = arima(log(varve), order = c(1, 1, 1))) Call: arima(x = log(varve), order = c(1, 1, 1)) Coefficients: ar1 ma s.e sigma^2 est as : log likelihood = , aic = Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 14/ 18

25 Fitting ARIMA(1,1,1) to Logged Varve Data > pacf(varve.ma$resid, lwd=5) > (varve.arma = arima(log(varve), order = c(1, 1, 1))) Call: arima(x = log(varve), order = c(1, 1, 1)) Coefficients: ar1 ma s.e sigma^2 est as : log likelihood = , aic = Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 14/ 18

26 Varve ARIMA(1,1,1) Diagnostics > tsdiag(varve.arma) Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 15/ 18

27 Watch Out for Overfitting! Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 16/ 18

28 Outline 1 4.3: Variance Stabilizing Transformations 2 6.1: ARIMA Model Identification 3 Homework 3b Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 17/ 18

29 Homework 3b Read 5.1 and 5.2 of the textbook. Do exercise #4.5 on page 87 of the text. Arthur Berg The Box-Cox Transformation and ARIMA Model Fitting 18/ 18

STA 6857 ARIMA and SARIMA Models ( 3.8 and 3.9)

STA 6857 ARIMA and SARIMA Models ( 3.8 and 3.9) STA 6857 ARIMA and SARIMA Models ( 3.8 and 3.9) Outline 1 Building ARIMA Models 2 SARIMA 3 Homework 4c Arthur Berg STA 6857 ARIMA and SARIMA Models ( 3.8 and 3.9) 2/ 34 Outline 1 Building ARIMA Models

More information

STA 6857 ARIMA and SARIMA Models ( 3.8 and 3.9) Outline. Return Rate. US Gross National Product

STA 6857 ARIMA and SARIMA Models ( 3.8 and 3.9) Outline. Return Rate. US Gross National Product STA 6857 ARIMA and SARIMA Models ( 3.8 and 3.9) Outline 1 Building ARIMA Models 2 SARIMA 3 Homework 4c Arthur Berg STA 6857 ARIMA and SARIMA Models ( 3.8 and 3.9) 2/ 34 Return Rate Suppose x t is the value

More information

STA 6857 Estimation and ARIMA Models ( 3.6 cont. and 3.7)

STA 6857 Estimation and ARIMA Models ( 3.6 cont. and 3.7) STA 6857 Estimation and ARIMA Models ( 3.6 cont. and 3.7) Outline 1 AR Bootstrap 2 ARIMA 3 Homework 4b Arthur Berg STA 6857 Estimation and ARIMA Models ( 3.6 cont. and 3.7) 2/ 20 Outline 1 AR Bootstrap

More information

STA 6857 Signal Extraction & Long Memory ARMA ( 4.11 & 5.2)

STA 6857 Signal Extraction & Long Memory ARMA ( 4.11 & 5.2) STA 6857 Signal Extraction & Long Memory ARMA ( 4.11 & 5.2) Outline 1 Signal Extraction and Optimal Filtering 2 Arthur Berg STA 6857 Signal Extraction & Long Memory ARMA ( 4.11 & 5.2) 2/ 17 Outline 1 Signal

More information

Statistics Homework #4

Statistics Homework #4 Statistics 910 1 Homework #4 Chapter 6, Shumway and Stoffer These are outlines of the solutions. If you would like to fill in other details, please come see me during office hours. 6.1 State-space representation

More information

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

AR(p) + I(d) + MA(q) = ARIMA(p, d, q) AR(p) + I(d) + MA(q) = ARIMA(p, d, q) Outline 1 4.1: Nonstationarity in the Mean 2 ARIMA Arthur Berg AR(p) + I(d)+ MA(q) = ARIMA(p, d, q) 2/ 19 Deterministic Trend Models Polynomial Trend Consider the

More information

Homework 4. 1 Data analysis problems

Homework 4. 1 Data analysis problems Homework 4 1 Data analysis problems This week we will be analyzing a number of data sets. We are going to build ARIMA models using the steps outlined in class. It is also a good idea to read section 3.8

More information

The log transformation produces a time series whose variance can be treated as constant over time.

The log transformation produces a time series whose variance can be treated as constant over time. TAT 520 Homework 6 Fall 2017 Note: Problem 5 is mandatory for graduate students and extra credit for undergraduates. 1) The quarterly earnings per share for 1960-1980 are in the object in the TA package.

More information

STAT 436 / Lecture 16: Key

STAT 436 / Lecture 16: Key STAT 436 / 536 - Lecture 16: Key Modeling Non-Stationary Time Series Many time series models are non-stationary. Recall a time series is stationary if the mean and variance are constant in time and the

More information

The data was collected from the website and then converted to a time-series indexed from 1 to 86.

The data was collected from the website  and then converted to a time-series indexed from 1 to 86. Introduction For our group project, we analyzed the S&P 500s futures from 30 November, 2015 till 28 March, 2016. The S&P 500 futures give a reasonable estimate of the changes in the market in the short

More information

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

Lesson 13: Box-Jenkins Modeling Strategy for building ARMA models Lesson 13: Box-Jenkins Modeling Strategy for building ARMA models Facoltà di Economia Università dell Aquila umberto.triacca@gmail.com Introduction In this lesson we present a method to construct an ARMA(p,

More information

Ch 5. Models for Nonstationary Time Series. Time Series Analysis

Ch 5. Models for Nonstationary Time Series. Time Series Analysis We have studied some deterministic and some stationary trend models. However, many time series data cannot be modeled in either way. Ex. The data set oil.price displays an increasing variation from the

More information

Time Series I Time Domain Methods

Time Series I Time Domain Methods Astrostatistics Summer School Penn State University University Park, PA 16802 May 21, 2007 Overview Filtering and the Likelihood Function Time series is the study of data consisting of a sequence of DEPENDENT

More information

Problems from Chapter 3 of Shumway and Stoffer s Book

Problems from Chapter 3 of Shumway and Stoffer s Book UNIVERSITY OF UTAH GUIDED READING TIME SERIES Problems from Chapter 3 of Shumway and Stoffer s Book Author: Curtis MILLER Supervisor: Prof. Lajos HORVATH November 10, 2015 UNIVERSITY OF UTAH DEPARTMENT

More information

STAT 520 FORECASTING AND TIME SERIES 2013 FALL Homework 05

STAT 520 FORECASTING AND TIME SERIES 2013 FALL Homework 05 STAT 520 FORECASTING AND TIME SERIES 2013 FALL Homework 05 1. ibm data: The random walk model of first differences is chosen to be the suggest model of ibm data. That is (1 B)Y t = e t where e t is a mean

More information

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

Firstly, the dataset is cleaned and the years and months are separated to provide better distinction (sample below). Project: Forecasting Sales Step 1: Plan Your Analysis Answer the following questions to help you plan out your analysis: 1. Does the dataset meet the criteria of a time series dataset? Make sure to explore

More information

Importance Sampling and. Radon-Nikodym Derivatives. Steven R. Dunbar. Sampling with respect to 2 distributions. Rare Event Simulation

Importance Sampling and. Radon-Nikodym Derivatives. Steven R. Dunbar. Sampling with respect to 2 distributions. Rare Event Simulation 1 / 33 Outline 1 2 3 4 5 2 / 33 More than one way to evaluate a statistic A statistic for X with pdf u(x) is A = E u [F (X)] = F (x)u(x) dx 3 / 33 Suppose v(x) is another probability density such that

More information

Transformations for variance stabilization

Transformations for variance stabilization FORECASTING USING R Transformations for variance stabilization Rob Hyndman Author, forecast Variance stabilization If the data show increasing variation as the level of the series increases, then a transformation

More information

STA 6857 Estimation ( 3.6)

STA 6857 Estimation ( 3.6) STA 6857 Estimation ( 3.6) Outline 1 Yule-Walker 2 Least Squares 3 Maximum Likelihood Arthur Berg STA 6857 Estimation ( 3.6) 2/ 19 Outline 1 Yule-Walker 2 Least Squares 3 Maximum Likelihood Arthur Berg

More information

TMA4285 December 2015 Time series models, solution.

TMA4285 December 2015 Time series models, solution. 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

More information

Univariate ARIMA Models

Univariate ARIMA Models Univariate ARIMA Models ARIMA Model Building Steps: Identification: Using graphs, statistics, ACFs and PACFs, transformations, etc. to achieve stationary and tentatively identify patterns and model components.

More information

The Multivariate Normal Distribution. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics / 36

The Multivariate Normal Distribution. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics / 36 The Multivariate Normal Distribution Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 1 / 36 The Moment Generating Function (MGF) of a random vector X is given by M X (t) = E(e t X

More information

{ } Stochastic processes. Models for time series. Specification of a process. Specification of a process. , X t3. ,...X tn }

{ } Stochastic processes. Models for time series. Specification of a process. Specification of a process. , X t3. ,...X tn } Stochastic processes Time series are an example of a stochastic or random process Models for time series A stochastic process is 'a statistical phenomenon that evolves in time according to probabilistic

More information

477/577 In-class Exercise 5 : Fitting Wine Sales

477/577 In-class Exercise 5 : Fitting Wine Sales 477/577 In-class Exercise 5 : Fitting Wine Sales (due Fri 4/06/2017) Name: Use this file as a template for your report. Submit your code and comments together with (selected) output from R console. Your

More information

Stat 153 Time Series. Problem Set 4

Stat 153 Time Series. Problem Set 4 Stat Time Series Problem Set Problem I generated 000 observations from the MA() model with parameter 0.7 using the following R function and then fitted the ARMA(, ) model to the data. order = c(, 0, )),

More information

STA 6857 Cross Spectra & Linear Filters ( 4.6 & 4.7)

STA 6857 Cross Spectra & Linear Filters ( 4.6 & 4.7) STA 6857 Cross Spectra & Linear Filters ( 4.6 & 4.7) Outline 1 Midterm Exam Solutions 2 Final Project 3 From Last Time 4 Multiple Series and Cross-Spectra 5 Linear Filters Arthur Berg STA 6857 Cross Spectra

More information

Time Series Analysis of United States of America Crude Oil and Petroleum Products Importations from Saudi Arabia

Time Series Analysis of United States of America Crude Oil and Petroleum Products Importations from Saudi Arabia International Journal of Applied Science and Technology Vol. 5, No. 5; October 2015 Time Series Analysis of United States of America Crude Oil and Petroleum Products Importations from Saudi Arabia Olayan

More information

TIME SERIES ANALYSIS AND FORECASTING USING THE STATISTICAL MODEL ARIMA

TIME SERIES ANALYSIS AND FORECASTING USING THE STATISTICAL MODEL ARIMA CHAPTER 6 TIME SERIES ANALYSIS AND FORECASTING USING THE STATISTICAL MODEL ARIMA 6.1. Introduction A time series is a sequence of observations ordered in time. A basic assumption in the time series analysis

More information

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

Unit root problem, solution of difference equations Simple deterministic model, question of unit root Unit root problem, solution of difference equations Simple deterministic model, question of unit root (1 φ 1 L)X t = µ, Solution X t φ 1 X t 1 = µ X t = A + Bz t with unknown z and unknown A (clearly X

More information

Chapter 5: Models for Nonstationary Time Series

Chapter 5: Models for Nonstationary Time Series Chapter 5: Models for Nonstationary Time Series Recall that any time series that is a stationary process has a constant mean function. So a process that has a mean function that varies over time must be

More information

The ARIMA Procedure: The ARIMA Procedure

The ARIMA Procedure: The ARIMA Procedure Page 1 of 120 Overview: ARIMA Procedure Getting Started: ARIMA Procedure The Three Stages of ARIMA Modeling Identification Stage Estimation and Diagnostic Checking Stage Forecasting Stage Using ARIMA Procedure

More information

Forecasting using R. Rob J Hyndman. 2.5 Seasonal ARIMA models. Forecasting using R 1

Forecasting using R. Rob J Hyndman. 2.5 Seasonal ARIMA models. Forecasting using R 1 Forecasting using R Rob J Hyndman 2.5 Seasonal ARIMA models Forecasting using R 1 Outline 1 Backshift notation reviewed 2 Seasonal ARIMA models 3 ARIMA vs ETS 4 Lab session 12 Forecasting using R Backshift

More information

The Multivariate Normal Distribution. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics / 36

The Multivariate Normal Distribution. Copyright c 2012 Dan Nettleton (Iowa State University) Statistics / 36 The Multivariate Normal Distribution Copyright c 2012 Dan Nettleton (Iowa State University) Statistics 611 1 / 36 The Moment Generating Function (MGF) of a random vector X is given by M X (t) = E(e t X

More information

Part 1. Multiple Choice (50 questions, 1 point each) Part 2. Problems/Short Answer (10 questions, 5 points each)

Part 1. Multiple Choice (50 questions, 1 point each) Part 2. Problems/Short Answer (10 questions, 5 points each) GROUND RULES: This exam contains two parts: Part 1. Multiple Choice (50 questions, 1 point each) Part 2. Problems/Short Answer (10 questions, 5 points each) The maximum number of points on this exam is

More information

Statistical Methods for Forecasting

Statistical Methods for Forecasting Statistical Methods for Forecasting BOVAS ABRAHAM University of Waterloo JOHANNES LEDOLTER University of Iowa John Wiley & Sons New York Chichester Brisbane Toronto Singapore Contents 1 INTRODUCTION AND

More information

TMA4285 Time Series Models Exam December

TMA4285 Time Series Models Exam December Norges teknisk-naturvitenskapelige universitet Institutt for matematiske fag TMA485 Time Series Models Solution Oppgave a) A process {z t } is invertible if it can be represented as an A( ) process, z

More information

Scenario 5: Internet Usage Solution. θ j

Scenario 5: Internet Usage Solution. θ j Scenario : Internet Usage Solution Some more information would be interesting about the study in order to know if we can generalize possible findings. For example: Does each data point consist of the total

More information

STA 6857 Forecasting ( 3.5 cont.)

STA 6857 Forecasting ( 3.5 cont.) STA 6857 Forecasting ( 3.5 cont.) Outline 1 Forecasting 2 Arthur Berg STA 6857 Forecasting ( 3.5 cont.) 2/ 20 Outline 1 Forecasting 2 Arthur Berg STA 6857 Forecasting ( 3.5 cont.) 3/ 20 Best Linear Predictor

More information

Lecture 5: Estimation of time series

Lecture 5: Estimation of time series Lecture 5, page 1 Lecture 5: Estimation of time series Outline of lesson 5 (chapter 4) (Extended version of the book): a.) Model formulation Explorative analyses Model formulation b.) Model estimation

More information

Minitab Project Report - Assignment 6

Minitab Project Report - Assignment 6 .. Sunspot data Minitab Project Report - Assignment Time Series Plot of y Time Series Plot of X y X 7 9 7 9 The data have a wavy pattern. However, they do not show any seasonality. There seem to be an

More information

CHAPTER 8 MODEL DIAGNOSTICS. 8.1 Residual Analysis

CHAPTER 8 MODEL DIAGNOSTICS. 8.1 Residual Analysis CHAPTER 8 MODEL DIAGNOSTICS We have now discussed methods for specifying models and for efficiently estimating the parameters in those models. Model diagnostics, or model criticism, is concerned with testing

More information

Automatic Forecasting

Automatic Forecasting Automatic Forecasting Summary The Automatic Forecasting procedure is designed to forecast future values of time series data. A time series consists of a set of sequential numeric data taken at equally

More information

Econometrics for Policy Analysis A Train The Trainer Workshop Oct 22-28, 2016 Organized by African Heritage Institution

Econometrics for Policy Analysis A Train The Trainer Workshop Oct 22-28, 2016 Organized by African Heritage Institution Econometrics for Policy Analysis A Train The Trainer Workshop Oct 22-28, 2016 Organized by African Heritage Institution Delivered by Dr. Nathaniel E. Urama Department of Economics, University of Nigeria,

More information

STAT/MATH 395 A - PROBABILITY II UW Winter Quarter Moment functions. x r p X (x) (1) E[X r ] = x r f X (x) dx (2) (x E[X]) r p X (x) (3)

STAT/MATH 395 A - PROBABILITY II UW Winter Quarter Moment functions. x r p X (x) (1) E[X r ] = x r f X (x) dx (2) (x E[X]) r p X (x) (3) STAT/MATH 395 A - PROBABILITY II UW Winter Quarter 07 Néhémy Lim Moment functions Moments of a random variable Definition.. Let X be a rrv on probability space (Ω, A, P). For a given r N, E[X r ], if it

More information

Forecasting with ARIMA models This version: 14 January 2018

Forecasting with ARIMA models This version: 14 January 2018 Forecasting with ARIMA models This version: 14 January 2018 Notes for Intermediate Econometrics / Time Series Analysis and Forecasting Anthony Tay Elsewhere we showed that the optimal forecast for a mean

More information

Homework 5, Problem 1 Andrii Baryshpolets 6 April 2017

Homework 5, Problem 1 Andrii Baryshpolets 6 April 2017 Homework 5, Problem 1 Andrii Baryshpolets 6 April 2017 Total Private Residential Construction Spending library(quandl) Warning: package 'Quandl' was built under R version 3.3.3 Loading required package:

More information

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

Circle a single answer for each multiple choice question. Your choice should be made clearly. TEST #1 STA 4853 March 4, 215 Name: Please read the following directions. DO NOT TURN THE PAGE UNTIL INSTRUCTED TO DO SO Directions This exam is closed book and closed notes. There are 31 questions. Circle

More information

Trend Analysis Peter Claussen 9/5/2017

Trend Analysis Peter Claussen 9/5/2017 Trend Analysis Peter Claussen 9/5/2017 Libraries rsm : Response-Surface Analysis library(rsm) library(ape) Warning: package 'ape' was built under R version 3.3.2 library(ncf) Attaching package: 'ncf' The

More information

TIME SERIES ANALYSIS. Forecasting and Control. Wiley. Fifth Edition GWILYM M. JENKINS GEORGE E. P. BOX GREGORY C. REINSEL GRETA M.

TIME SERIES ANALYSIS. Forecasting and Control. Wiley. Fifth Edition GWILYM M. JENKINS GEORGE E. P. BOX GREGORY C. REINSEL GRETA M. TIME SERIES ANALYSIS Forecasting and Control Fifth Edition GEORGE E. P. BOX GWILYM M. JENKINS GREGORY C. REINSEL GRETA M. LJUNG Wiley CONTENTS PREFACE TO THE FIFTH EDITION PREFACE TO THE FOURTH EDITION

More information

Ch. 5 Transformations and Weighting

Ch. 5 Transformations and Weighting Outline Three approaches: Ch. 5 Transformations and Weighting. Variance stabilizing transformations; Box-Cox Transformations - Section 5.2; 5.4 2. Transformations to linearize the model - Section 5.3 3.

More information

Empirical Market Microstructure Analysis (EMMA)

Empirical Market Microstructure Analysis (EMMA) Empirical Market Microstructure Analysis (EMMA) Lecture 3: Statistical Building Blocks and Econometric Basics Prof. Dr. Michael Stein michael.stein@vwl.uni-freiburg.de Albert-Ludwigs-University of Freiburg

More information

Outline. STA 6857 Cross Spectra, Linear Filters, and Parametric Spectral Estimation ( 4.6, 4.7, & 4.8) Summary Statistics of Midterm Scores

Outline. STA 6857 Cross Spectra, Linear Filters, and Parametric Spectral Estimation ( 4.6, 4.7, & 4.8) Summary Statistics of Midterm Scores STA 6857 Cross Spectra, Linear Filters, and Parametric Spectral Estimation ( 4.6, 4.7, & 4.8) Outline 1 Midterm Results 2 Multiple Series and Cross-Spectra 3 Linear Filters Arthur Berg STA 6857 Cross Spectra,

More information

STAT 420: Methods of Applied Statistics

STAT 420: Methods of Applied Statistics STAT 420: Methods of Applied Statistics Model Diagnostics Transformation Shiwei Lan, Ph.D. Course website: http://shiwei.stat.illinois.edu/lectures/stat420.html August 15, 2018 Department

More information

Chapter 3, Part V: More on Model Identification; Examples

Chapter 3, Part V: More on Model Identification; Examples Chapter 3, Part V: More on Model Identification; Examples Automatic Model Identification Through AIC As mentioned earlier, there is a clear need for automatic, objective methods of identifying the best

More information

STA 6857 Cross Spectra, Linear Filters, and Parametric Spectral Estimation ( 4.6, 4.7, & 4.8)

STA 6857 Cross Spectra, Linear Filters, and Parametric Spectral Estimation ( 4.6, 4.7, & 4.8) STA 6857 Cross Spectra, Linear Filters, and Parametric Spectral Estimation ( 4.6, 4.7, & 4.8) Outline 1 Midterm Results 2 Multiple Series and Cross-Spectra 3 Linear Filters Arthur Berg STA 6857 Cross Spectra,

More information

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

EASTERN MEDITERRANEAN UNIVERSITY ECON 604, FALL 2007 DEPARTMENT OF ECONOMICS MEHMET BALCILAR ARIMA MODELS: IDENTIFICATION ARIMA MODELS: IDENTIFICATION A. Autocorrelations and Partial Autocorrelations 1. Summary of What We Know So Far: a) Series y t is to be modeled by Box-Jenkins methods. The first step was to convert y t

More information

Class: Dean Foster. September 30, Read sections: Examples chapter (chapter 3) Question today: Do prices go up faster than they go down?

Class: Dean Foster. September 30, Read sections: Examples chapter (chapter 3) Question today: Do prices go up faster than they go down? Class: Dean Foster September 30, 2013 Administrivia Read sections: Examples chapter (chapter 3) Gas prices Question today: Do prices go up faster than they go down? Idea is that sellers watch spot price

More information

Part 1. Multiple Choice (40 questions, 1 point each) Part 2. Problems/Short Answer (10 questions, 6 points each)

Part 1. Multiple Choice (40 questions, 1 point each) Part 2. Problems/Short Answer (10 questions, 6 points each) GROUND RULES: This exam contains two parts: Part 1. Multiple Choice (40 questions, 1 point each) Part 2. Problems/Short Answer (10 questions, 6 points each) The maximum number of points on this exam is

More information

Suan Sunandha Rajabhat University

Suan Sunandha Rajabhat University Forecasting Exchange Rate between Thai Baht and the US Dollar Using Time Series Analysis Kunya Bowornchockchai Suan Sunandha Rajabhat University INTRODUCTION The objective of this research is to forecast

More information

Topic 4 Unit Roots. Gerald P. Dwyer. February Clemson University

Topic 4 Unit Roots. Gerald P. Dwyer. February Clemson University Topic 4 Unit Roots Gerald P. Dwyer Clemson University February 2016 Outline 1 Unit Roots Introduction Trend and Difference Stationary Autocorrelations of Series That Have Deterministic or Stochastic Trends

More information

Stat 565. (S)Arima & Forecasting. Charlotte Wickham. stat565.cwick.co.nz. Feb

Stat 565. (S)Arima & Forecasting. Charlotte Wickham. stat565.cwick.co.nz. Feb Stat 565 (S)Arima & Forecasting Feb 2 2016 Charlotte Wickham stat565.cwick.co.nz Today A note from HW #3 Pick up with ARIMA processes Introduction to forecasting HW #3 The sample autocorrelation coefficients

More information

New York University Department of Economics. Applied Statistics and Econometrics G Spring 2013

New York University Department of Economics. Applied Statistics and Econometrics G Spring 2013 New York University Department of Economics Applied Statistics and Econometrics G31.1102 Spring 2013 Text: Econometric Analysis, 7 h Edition, by William Greene (Prentice Hall) Optional: A Guide to Modern

More information

Dynamic Time Series Regression: A Panacea for Spurious Correlations

Dynamic Time Series Regression: A Panacea for Spurious Correlations International Journal of Scientific and Research Publications, Volume 6, Issue 10, October 2016 337 Dynamic Time Series Regression: A Panacea for Spurious Correlations Emmanuel Alphonsus Akpan *, Imoh

More information

Forecasting. This optimal forecast is referred to as the Minimum Mean Square Error Forecast. This optimal forecast is unbiased because

Forecasting. This optimal forecast is referred to as the Minimum Mean Square Error Forecast. This optimal forecast is unbiased because Forecasting 1. Optimal Forecast Criterion - Minimum Mean Square Error Forecast We have now considered how to determine which ARIMA model we should fit to our data, we have also examined how to estimate

More information

Prediction problems 3: Validation and Model Checking

Prediction problems 3: Validation and Model Checking Prediction problems 3: Validation and Model Checking Data Science 101 Team May 17, 2018 Outline Validation Why is it important How should we do it? Model checking Checking whether your model is a good

More information

Spectral Analysis. Al Nosedal University of Toronto. Winter Al Nosedal University of Toronto Spectral Analysis Winter / 71

Spectral Analysis. Al Nosedal University of Toronto. Winter Al Nosedal University of Toronto Spectral Analysis Winter / 71 Spectral Analysis Al Nosedal University of Toronto Winter 2016 Al Nosedal University of Toronto Spectral Analysis Winter 2016 1 / 71 essentially, all models are wrong, but some are useful George E. P.

More information

1. Variance stabilizing transformations; Box-Cox Transformations - Section. 2. Transformations to linearize the model - Section 5.

1. Variance stabilizing transformations; Box-Cox Transformations - Section. 2. Transformations to linearize the model - Section 5. Ch. 5: Transformations and Weighting 1. Variance stabilizing transformations; Box-Cox Transformations - Section 5.2; 5.4 2. Transformations to linearize the model - Section 5.3 3. Weighted regression -

More information

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

A Comparison of the Forecast Performance of. Double Seasonal ARIMA and Double Seasonal. ARFIMA Models of Electricity Load Demand Applied Mathematical Sciences, Vol. 6, 0, no. 35, 6705-67 A Comparison of the Forecast Performance of Double Seasonal ARIMA and Double Seasonal ARFIMA Models of Electricity Load Demand Siti Normah Hassan

More information

Lecture 7: Model Building Bus 41910, Time Series Analysis, Mr. R. Tsay

Lecture 7: Model Building Bus 41910, Time Series Analysis, Mr. R. Tsay Lecture 7: Model Building Bus 41910, Time Series Analysis, Mr R Tsay An effective procedure for building empirical time series models is the Box-Jenkins approach, which consists of three stages: model

More information

Time Series Models and Data Generation Processes

Time Series Models and Data Generation Processes Time Series Models and Data Generation Processes Athanassios Stavrakoudis http://stavrakoudis.econ.uoi.gr 27/3/2013 1 / 39 Table of Contents 1 without drift with drift (1,1) 2 / 39 example T

More information

STAD57 Time Series Analysis. Lecture 23

STAD57 Time Series Analysis. Lecture 23 STAD57 Time Series Analysis Lecture 23 1 Spectral Representation Spectral representation of stationary {X t } is: 12 i2t Xt e du 12 1/2 1/2 for U( ) a stochastic process with independent increments du(ω)=

More information

STA 6857 Autocorrelation and Cross-Correlation & Stationary Time Series ( 1.4, 1.5)

STA 6857 Autocorrelation and Cross-Correlation & Stationary Time Series ( 1.4, 1.5) STA 6857 Autocorrelation and Cross-Correlation & Stationary Time Series ( 1.4, 1.5) Outline 1 Announcements 2 Autocorrelation and Cross-Correlation 3 Stationary Time Series 4 Homework 1c Arthur Berg STA

More information

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

Forecasting using R. Rob J Hyndman. 2.4 Non-seasonal ARIMA models. Forecasting using R 1 Forecasting using R Rob J Hyndman 2.4 Non-seasonal ARIMA models Forecasting using R 1 Outline 1 Autoregressive models 2 Moving average models 3 Non-seasonal ARIMA models 4 Partial autocorrelations 5 Estimation

More information

FAILURE-TIME WITH DELAYED ONSET

FAILURE-TIME WITH DELAYED ONSET REVSTAT Statistical Journal Volume 13 Number 3 November 2015 227 231 FAILURE-TIME WITH DELAYED ONSET Authors: Man Yu Wong Department of Mathematics Hong Kong University of Science and Technology Hong Kong

More information

Ch 6. Model Specification. Time Series Analysis

Ch 6. Model Specification. Time Series Analysis We start to build ARIMA(p,d,q) models. The subjects include: 1 how to determine p, d, q for a given series (Chapter 6); 2 how to estimate the parameters (φ s and θ s) of a specific ARIMA(p,d,q) model (Chapter

More information

Classic Time Series Analysis

Classic Time Series Analysis Classic Time Series Analysis Concepts and Definitions Let Y be a random number with PDF f Y t ~f,t Define t =E[Y t ] m(t) is known as the trend Define the autocovariance t, s =COV [Y t,y s ] =E[ Y t t

More information

INTRODUCTION TO TIME SERIES ANALYSIS. The Simple Moving Average Model

INTRODUCTION TO TIME SERIES ANALYSIS. The Simple Moving Average Model INTRODUCTION TO TIME SERIES ANALYSIS The Simple Moving Average Model The Simple Moving Average Model The simple moving average (MA) model: More formally: where t is mean zero white noise (WN). Three parameters:

More information

SGN Advanced Signal Processing: Lecture 8 Parameter estimation for AR and MA models. Model order selection

SGN Advanced Signal Processing: Lecture 8 Parameter estimation for AR and MA models. Model order selection SG 21006 Advanced Signal Processing: Lecture 8 Parameter estimation for AR and MA models. Model order selection Ioan Tabus Department of Signal Processing Tampere University of Technology Finland 1 / 28

More information

Statistics 512: Solution to Homework#11. Problems 1-3 refer to the soybean sausage dataset of Problem 20.8 (ch21pr08.dat).

Statistics 512: Solution to Homework#11. Problems 1-3 refer to the soybean sausage dataset of Problem 20.8 (ch21pr08.dat). Statistics 512: Solution to Homework#11 Problems 1-3 refer to the soybean sausage dataset of Problem 20.8 (ch21pr08.dat). 1. Perform the two-way ANOVA without interaction for this model. Use the results

More information

Time Series Analysis

Time Series Analysis Time Series Analysis hm@imm.dtu.dk Informatics and Mathematical Modelling Technical University of Denmark DK-2800 Kgs. Lyngby 1 Outline of the lecture Chapter 9 Multivariate time series 2 Transfer function

More information

Model selection and checking

Model selection and checking CHAPTER 6 Model selection and checking In the basic HMM with m states, increasing m always improves the fit of the model (as judged by the likelihood). But along with the improvement comes a quadratic

More information

( ) ( ). ( ) " d#. ( ) " cos (%) " d%

( ) ( ). ( )  d#. ( )  cos (%)  d% Math 22 Fall 2008 Solutions to Homework #6 Problems from Pages 404-407 (Section 76) 6 We will use the technique of Separation of Variables to solve the differential equation: dy d" = ey # sin 2 (") y #

More information

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

Module 3. Descriptive Time Series Statistics and Introduction to Time Series Models Module 3 Descriptive Time Series Statistics and Introduction to Time Series Models Class notes for Statistics 451: Applied Time Series Iowa State University Copyright 2015 W Q Meeker November 11, 2015

More information

Quantitative Finance I

Quantitative Finance I Quantitative Finance I Linear AR and MA Models (Lecture 4) Winter Semester 01/013 by Lukas Vacha * If viewed in.pdf format - for full functionality use Mathematica 7 (or higher) notebook (.nb) version

More information

Introduction to Regression Analysis. Dr. Devlina Chatterjee 11 th August, 2017

Introduction to Regression Analysis. Dr. Devlina Chatterjee 11 th August, 2017 Introduction to Regression Analysis Dr. Devlina Chatterjee 11 th August, 2017 What is regression analysis? Regression analysis is a statistical technique for studying linear relationships. One dependent

More information

Ch 8. MODEL DIAGNOSTICS. Time Series Analysis

Ch 8. MODEL DIAGNOSTICS. Time Series Analysis Model diagnostics is concerned with testing the goodness of fit of a model and, if the fit is poor, suggesting appropriate modifications. We shall present two complementary approaches: analysis of residuals

More information

Box-Jenkins ARIMA Advanced Time Series

Box-Jenkins ARIMA Advanced Time Series Box-Jenkins ARIMA Advanced Time Series www.realoptionsvaluation.com ROV Technical Papers Series: Volume 25 Theory In This Issue 1. Learn about Risk Simulator s ARIMA and Auto ARIMA modules. 2. Find out

More information

Statistical Methods III Statistics 212. Problem Set 2 - Answer Key

Statistical Methods III Statistics 212. Problem Set 2 - Answer Key Statistical Methods III Statistics 212 Problem Set 2 - Answer Key 1. (Analysis to be turned in and discussed on Tuesday, April 24th) The data for this problem are taken from long-term followup of 1423

More information

Cross Spectra, Linear Filters, and Parametric Spectral Estimation

Cross Spectra, Linear Filters, and Parametric Spectral Estimation Cross Spectra,, and Parametric Spectral Estimation Outline 1 Multiple Series and Cross-Spectra 2 Arthur Berg Cross Spectra,, and Parametric Spectral Estimation 2/ 20 Outline 1 Multiple Series and Cross-Spectra

More information

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

MODELING INFLATION RATES IN NIGERIA: BOX-JENKINS APPROACH. I. U. Moffat and A. E. David Department of Mathematics & Statistics, University of Uyo, Uyo Vol.4, No.2, pp.2-27, April 216 MODELING INFLATION RATES IN NIGERIA: BOX-JENKINS APPROACH I. U. Moffat and A. E. David Department of Mathematics & Statistics, University of Uyo, Uyo ABSTRACT: This study

More information

Analysis of Violent Crime in Los Angeles County

Analysis of Violent Crime in Los Angeles County Analysis of Violent Crime in Los Angeles County Xiaohong Huang UID: 004693375 March 20, 2017 Abstract Violent crime can have a negative impact to the victims and the neighborhoods. It can affect people

More information

EE/CpE 345. Modeling and Simulation. Fall Class 9

EE/CpE 345. Modeling and Simulation. Fall Class 9 EE/CpE 345 Modeling and Simulation Class 9 208 Input Modeling Inputs(t) Actual System Outputs(t) Parameters? Simulated System Outputs(t) The input data is the driving force for the simulation - the behavior

More information

Estimation and application of best ARIMA model for forecasting the uranium price.

Estimation and application of best ARIMA model for forecasting the uranium price. Estimation and application of best ARIMA model for forecasting the uranium price. Medeu Amangeldi May 13, 2018 Capstone Project Superviser: Dongming Wei Second reader: Zhenisbek Assylbekov Abstract This

More information

SOME BASICS OF TIME-SERIES ANALYSIS

SOME BASICS OF TIME-SERIES ANALYSIS SOME BASICS OF TIME-SERIES ANALYSIS John E. Floyd University of Toronto December 8, 26 An excellent place to learn about time series analysis is from Walter Enders textbook. For a basic understanding of

More information

Modelling and forecasting of offshore wind power fluctuations with Markov-Switching models

Modelling and forecasting of offshore wind power fluctuations with Markov-Switching models Modelling and forecasting of offshore wind power fluctuations with Markov-Switching models 02433 - Hidden Markov Models Pierre-Julien Trombe, Martin Wæver Pedersen, Henrik Madsen Course week 10 MWP, compiled

More information

Even-Numbered Homework Solutions

Even-Numbered Homework Solutions -6 Even-Numbered Homework Solutions Suppose that the matric B has λ = + 5i as an eigenvalue with eigenvector Y 0 = solution to dy = BY Using Euler s formula, we can write the complex-valued solution Y

More information

Taylor and Maclaurin Series. Approximating functions using Polynomials.

Taylor and Maclaurin Series. Approximating functions using Polynomials. Taylor and Maclaurin Series Approximating functions using Polynomials. Approximating f x = e x near x = 0 In order to approximate the function f x = e x near x = 0, we can use the tangent line (The Linear

More information

Chapter 6. Convergence. Probability Theory. Four different convergence concepts. Four different convergence concepts. Convergence in probability

Chapter 6. Convergence. Probability Theory. Four different convergence concepts. Four different convergence concepts. Convergence in probability Probability Theory Chapter 6 Convergence Four different convergence concepts Let X 1, X 2, be a sequence of (usually dependent) random variables Definition 1.1. X n converges almost surely (a.s.), or with

More information

APPLIED ECONOMETRIC TIME SERIES 4TH EDITION

APPLIED ECONOMETRIC TIME SERIES 4TH EDITION APPLIED ECONOMETRIC TIME SERIES 4TH EDITION Chapter 2: STATIONARY TIME-SERIES MODELS WALTER ENDERS, UNIVERSITY OF ALABAMA Copyright 2015 John Wiley & Sons, Inc. Section 1 STOCHASTIC DIFFERENCE EQUATION

More information