Lecture 19 Box-Jenkins Seasonal Models

Similar documents
Suan Sunandha Rajabhat University

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

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

Time Series Analysis -- An Introduction -- AMS 586

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

FORECASTING SUGARCANE PRODUCTION IN INDIA WITH ARIMA MODEL

TIME SERIES ANALYSIS AND FORECASTING USING THE STATISTICAL MODEL ARIMA

Minitab Project Report - Assignment 6

Modelling Monthly Rainfall Data of Port Harcourt, Nigeria by Seasonal Box-Jenkins Methods

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

Forecasting. Simon Shaw 2005/06 Semester II

Analysis. Components of a Time Series

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

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

Forecasting using R. Rob J Hyndman. 2.3 Stationarity and differencing. Forecasting using R 1

arxiv: v1 [stat.me] 5 Nov 2008

Lab: Box-Jenkins Methodology - US Wholesale Price Indicator

The ARIMA Procedure: The ARIMA Procedure

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

A SEASONAL TIME SERIES MODEL FOR NIGERIAN MONTHLY AIR TRAFFIC DATA

Time Series Analysis of Currency in Circulation in Nigeria

Basics: Definitions and Notation. Stationarity. A More Formal Definition

Asitha Kodippili. Deepthika Senaratne. Department of Mathematics and Computer Science,Fayetteville State University, USA.

Forecasting: principles and practice 1

STAT 436 / Lecture 16: Key

ECONOMETRIA II. CURSO 2009/2010 LAB # 3

MCMC analysis of classical time series algorithms.

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

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

Decision 411: Class 9. HW#3 issues

A Procedure for Identification of Appropriate State Space and ARIMA Models Based on Time-Series Cross-Validation

Statistics of stochastic processes

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

Trend and Variability Analysis and Forecasting of Wind-Speed in Bangladesh

FORECASTING AN INDEX OF THE MADDEN-OSCILLATION

Scenario 5: Internet Usage Solution. θ j

A STUDY OF ARIMA AND GARCH MODELS TO FORECAST CRUDE PALM OIL (CPO) EXPORT IN INDONESIA

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

Statistical Methods for Forecasting

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

Forecasting: Methods and Applications

TRANSFER FUNCTION MODEL FOR GLOSS PREDICTION OF COATED ALUMINUM USING THE ARIMA PROCEDURE

Univariate, Nonstationary Processes

Design of Time Series Model for Road Accident Fatal Death in Tamilnadu

FORECASTING. Methods and Applications. Third Edition. Spyros Makridakis. European Institute of Business Administration (INSEAD) Steven C Wheelwright

Part II. Time Series

2. An Introduction to Moving Average Models and ARMA Models

The Identification of ARIMA Models

MODELING MAXIMUM MONTHLY TEMPERATURE IN KATUNAYAKE REGION, SRI LANKA: A SARIMA APPROACH

ISSN Original Article Statistical Models for Forecasting Road Accident Injuries in Ghana.

Final Examination 7/6/2011

Econ 424 Time Series Concepts

Some Time-Series Models

SAS/ETS 14.1 User s Guide. The ARIMA Procedure

Short-run electricity demand forecasts in Maharashtra

EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY

Acta Universitatis Carolinae. Mathematica et Physica

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

Development of Demand Forecasting Models for Improved Customer Service in Nigeria Soft Drink Industry_ Case of Coca-Cola Company Enugu

Modeling and forecasting global mean temperature time series

Chapter 8: Model Diagnostics

UNIVARIATE TIME SERIES ANALYSIS BRIEFING 1970

Rob J Hyndman. Forecasting using. 3. Autocorrelation and seasonality OTexts.com/fpp/2/ OTexts.com/fpp/6/1. Forecasting using R 1

Technical note on seasonal adjustment for Capital goods imports

Forecasting Gold Price. A Comparative Study

Available online at ScienceDirect. Procedia Computer Science 72 (2015 )

6 NONSEASONAL BOX-JENKINS MODELS

7 Introduction to Time Series

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

Time Series Outlier Detection

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

Time Series Analysis of Stock Prices Using the Box- Jenkins Approach

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

Comparing the Univariate Modeling Techniques, Box-Jenkins and Artificial Neural Network (ANN) for Measuring of Climate Index

ARIMA model to forecast international tourist visit in Bumthang, Bhutan

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

Chapter 6: Model Specification for Time Series

Time Series I Time Domain Methods

Using Analysis of Time Series to Forecast numbers of The Patients with Malignant Tumors in Anbar Provinc

Homework 2. For the homework, be sure to give full explanations where required and to turn in any relevant plots.

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

TMA4285 December 2015 Time series models, solution.

5 Autoregressive-Moving-Average Modeling

Time Series and Forecasting

Ch 6. Model Specification. Time Series Analysis

Homework 4. 1 Data analysis problems

Forecasting using R. Rob J Hyndman. 3.2 Dynamic regression. Forecasting using R 1

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

ARIMA modeling to forecast area and production of rice in West Bengal

COMPUTER SESSION 3: ESTIMATION AND FORECASTING.

RELATIONSHIP BETWEEN EL NIÑO SOUTHERN OSCILLATION INDEX AND RAINFALL (QUEENSLAND, AUSTRALIA)

On the benefit of using time series features for choosing a forecasting method

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

Sugarcane Productivity in Bihar- A Forecast through ARIMA Model

Chapter 3: Regression Methods for Trends

Forecasting Area, Production and Yield of Cotton in India using ARIMA Model

Empirical Approach to Modelling and Forecasting Inflation in Ghana

7 Introduction to Time Series Time Series vs. Cross-Sectional Data Detrending Time Series... 15

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

Time Series and Forecasting

Transcription:

Lecture 19 Box-Jenkins Seasonal Models If the time series is nonstationary with respect to its variance, then we can stabilize the variance of the time series by using a pre-differencing transformation. This can be illustrated by following example: Example: Monthly sales for a souvenir shop on the wharf at a beach resort town in Queensland, Australia. Jan 197-Dec 1993. Source: Makridakis, Wheelwright and Hyndman (199), Exercise 5., p.3. Table 19.1 Monthly sales Monthly sales Monthly sales Monthly sales Monthly sales 5 39 1 357 3753 3715 350 35 50 3 701 1975 500 519 75 0 5901 951 179 75 59 535 100 5 717 5703 995 5305 9 31 7350 177 573 991 1515 301 591 515 11 370 709 75 11 7979 093 77 17915 3011 7 70 939 1 7 09 1177 155 137 1307 1 501 715 950 155 1157 9333 130 733 199 3933 5391 305 07 3 117 17 17357 1599 0 155 57 30505 301 3 1 Time Series Plot of Monthly sales 0000 0000 Quarterly sales 0000 0000 0000 0 1 3 0 Quarters 5 7 0 Figure 19.1 Instructor: Ms. Azmat Nafees Time Series Analysis -Nov- 1

Figure 19.1 shows that the monthly sales follow a strong trend, and that they have a seasonal pattern with one major peak and several minor peaks during the year. It also appears that the amount of seasonal variation is also increasing with the level of the time series. This suggests that a predifferencing transformation should be used in order to obtain a transformed series that displays constant seasonal variation. Figure 19. gives a plot of the square roots of the monthly sales. This plot suggests that the square root transformation is not strong enough to equalize the seasonal variation. 350 Time Series Plot of Square root of sales 300 Square root of sales 50 00 150 0 50 0 1 3 0 Index 5 7 0 Figure 19.3 gives a plot of the natural logarithms of the monthly sales. It might be concluded that this transformation has also equalized the seasonal variation. 1 Time Series Plot of natural log of sales 11 natural log of sales 9 7 1 3 0 Index 5 7 0 Instructor: Ms. Azmat Nafees Time Series Analysis -Nov-

Each figure shows a nonstationary situation of time series. We now see how to use differencing to transform seasonal nonstationary time series values into stationary time series values. Box-Jenkins modeling indicates that if we are analyzing a seasonal time series, then one of the four differencing transformations illustrated in table 19. will usually produce stationary time series values. Original predifferenced values First regular differenced = First seasonal differenced = L = for quarterly & L = 1 for monthly First regular differenced and first seasonal differenced =( ) ( ).. = =. = = =. = =( ) ( ) =( ) ( ).. =( ) ( ) To determine whether the particular transformation is appropriate, we examine the behavior of the Autocorrelation of the values produced by the transformation at the nonseasonal level and at the seasonal level. The behaviors displayed by the ACF and PACF at the seasonal level are same as defined for nonseasonal time series, that is, a spike exists at a nonseasonal lag k (1,, 3,., L 3) in the ACF if > and in the PACF if >. Similarly, for seasonal time series, we say that a spike exists at a seasonal lag k in the ACF if > and in the PACF if >. We first define the classification of seasonal lags in ACF and PACF. They are: 1) Exact seasonal lags: These lags are defined as L, L, 3L, and L. For instance, if considering monthly time series (L = 1) then exact seasonal lags will be 1,, 3, and. ) Near seasonal lags: These lags are defined as (L ), (L 1), (L + 1), (L + ), (L ), (L 1), (L + 1), (L + ), (3L ), (3L 1), (3L + 1), (3L + ), (L ), (L 1), (L + 1), and (L + ). We say that ACF (or PACF) cuts off after lag k at the seasonal level if there are no spikes at exact seasonal lags or near seasonal lags greater than lag k in this function. In general, it can be shown that if the ACF of the transformed time series values does both of the following: 1) Cuts off fairly quickly or dies down fairly quickly at the nonseasonal level. ) Cuts off fairly quickly or dies down fairly quickly at the seasonal level. Then these transformed values should be considered stationary. Otherwise, these values should be considered nonstationary. If the SAC for seasonal differences indicate that the seasonal differences are stationary, then there is no need to do a regular difference on the stationary seasonal differences. In the above example, we will first follow the transformation rules, i.e. i. z =y, ii. z =y y, iii. z =y y, e.g. z =y y, z =y y, and so on (for L = 1). iv. z =(y y ) (y y ), e.g. z =(y y ) (y y ), z =(y ) (y y ), and so on (for L = 1). y Instructor: Ms. Azmat Nafees Time Series Analysis -Nov- 3

Then we plot ACF for each rule to determine stationarity. Figures 19. shows dies down extremely both at nonseasonal and seasonal level (L and L), then the values should be considered nonstationary. In figure 19.5, the values obtained by using transformation z =y y should be considered nonstationary as the ACF shows dies down slowly at nonseasonal and extremely slowly at seasonal level (L and L). Figure 19. ACF of z =y Autocorrelation Function for Monthly sales (with 5% significance limits for the autocorrelations) Autocorrelation 0. 0. 0. 0. -0. -0. 1 1 1 0 Figure 19.5 ACF of z =y y Autocorrelation Function for Zt (with 5% significance limits for the autocorrelations) Autocorrelation 0. 0. 0. 0. -0. -0. 1 1 1 0 Instructor: Ms. Azmat Nafees Time Series Analysis -Nov-

Next we consider the ACF and PACF of z =y y in figure 19.. Figure 19.(a) ACF of seasonal differences Autocorrelation Function for Zt-L (with 5% significance limits for the autocorrelations) Autocorrelation 0. 0. 0. 0. -0. -0. 1 1 1 0 Figure 19.(b) PACF of seasonal differences Partial Autocorrelation Function for Zt-L (with 5% significance limits for the partial autocorrelations) Partial Autocorrelation 0. 0. 0. 0. -0. -0. 1 1 1 0 Both of the figures show at the nonseasonal level, the PACF has spikes at lags 1 and 3, and cuts off after lag 3 and the ACF dies down fairly quickly. Next, at the seasonal level figure 19.(a) shows that the ACF has spike at lag equal to or nearly equal to 1 and cuts off after lag 1 (since no spike at lag equal or nearly equal to ). The PACF at seasonal level dies down fairly quickly since the spikes at lags 1 and are of decreasing size. Therefore, we say that the values obtained by using the transformation z =y y should be considered stationary. We further do not need to use regular differencing for transformation to reach stationarity. Instructor: Ms. Azmat Nafees Time Series Analysis -Nov- 5

Box-Jenkins Seasonal model 1) The seasonal Moving Average model of order q can be expressed as: = +,,, For example, if the ACF has a spike at lag L and cuts off after lag L and the PACF dies down at seasonal level, then we might tentatively conclude that the time series values are described by the seasonal moving average model of order 1. It can be written as = +, ) The seasonal AutoRegressive model of order p can be expressed as: = + +, +, + +, For example, if the PACF has a spike at lag L and cuts off after lag L and the ACF dies down at seasonal level, then we might tentatively conclude that the time series values are described by the seasonal autoregressive model of order 1. It can be written as = + +, Since the ACF and PACF of stationary seasonal time series values often exhibit behavior at both seasonal and nonseasonal level, we must then follow three-step procedure for tentatively identifying a model describing these values: Step 1: Use the behavior of the ACF and PACF at the nonseasonal level to tentatively identify a nonseasonal model describing the time series values. For example, at the nonseasonal level the PACF has spikes at lags 1, 3, and 5 and cuts off after lag 5 and ACF dies down. The tentatively identified nonseasonal model will be AR(5) given as: = + + + + Step : Use the behavior of the ACF and PACF at the seasonal level to tentatively identify a seasonal model describing the time series values. For example, at the seasonal level the ACF has a spike at lag 1 and cuts off after lag 1 and the PACF dies down. The tentatively identified seasonal model will be MA(1) given as: = +, Step 3: Combine the models obtained in step 1 and to arrive at an overall tentatively identified model. For example, combining the tentative models defined in step 1 and, we get the overall tentatively identified model as: = + + + +, Instructor: Ms. Azmat Nafees Time Series Analysis -Nov-