Forecasting of ATM cash demand

Size: px
Start display at page:

Download "Forecasting of ATM cash demand"

Transcription

1 Forecasting of ATM cash demand Ayush Maheshwari Mathematics and scientific computing Department of Mathematics and Statistics Indian Institute of Technology (IIT), Kanpur Project guide: Dr. Jitendra Kumar Institute of Development and Research in Banking Technology (IDRBT) Road No. 1, Castle Hills, Masab Tank, Hyderabad July 6,

2 CERTIFICATE This is to certify that project report titled Forecasting of ATM cash Demand submitted by Ayush Maheshwari of M.Sc(Integrated) 3rd year, Department of Mathematics and Scientific Computing, IIT Kanpur, is record of a bonafide work carried out by him under my guidance during the period 8 th may 2011 to 8 th july 2011 at Institute of Development and Research in Banking Technology, Hyderabad. The project work is a research study, which has been successfully completed as per the set objectives. Dr. Jitendra Kumar Assistant Professor Institute for Development and Research in Banking Technology Hyderabad

3 DECLARATION I declare that the summer internship project report titled Forecasting of ATM cash Demand is my own work conducted under the supervision of Dr. Jitendra Kumar at the Institue of Development and Research in Banking Technology, Hyderabad. I have put in 60 days of my attendance with my supervisor at IDRBT and have been awarded project fellowship. I further declare that to the best of my knowledge, the report does not contain any part of any work which has been submitted for the award of any degree either in this institute or any other institute without proper citation. Ayush Maheshwari M.Sc(Integrated) 3 rd year Department of Mathematics and Scientific Computing IIT Kanpur 3

4 Introduction The time varying observation recorded in chronological order is called time series. The missing values are from the same times series model or appear because of some unobservable causes. Payment cards allowing for transactions in Automated teller Machines (ATM) became an indispensable tool in everyday life. Nevertheless, this phenomenon is far being understood, probably reflecting its minor importance in the past, before the strong increase in ATM usage in the early 80s. Research on payment systems has attracted increased academic attention over the last 15 years, merging monetary economics and banking theory with the study of mechanism of exchange. At the empirical front, information on ATM transaction is far from being explored. These databases have typically a large coverage and are timely, as they become typically available just a few days after the reference period. This report analyses ATM withdrawals for the period April to October A better understanding of consumer s habit is crucial for the logistics management of this type of services and may help other studies on the topic. The results presented may allow for a better understanding of ATM behaviour and consumer habits with respect to different days of week. This analysis is important to ensure the proper management of ATM. This report also deals with missing values of ATM s data corresponding to the days on which ATM failed or was in not working condition. These missing values give us the idea of ATM behaviour on particular days of week. We regressed various time series model on the given data, selected the best suitable model for that data and then used that model to find the missing values. So after finding missing values and making the data complete we forecast the future ATM withdrawals 4

5 Box Jenkins approach 5

6 Data Real-world data tends to be incomplete, noisy, and inconsistent and an important task when pre-processing the data is to fill in missing values, smooth out noise and correct inconsistencies. The data used in this report was provided by the random ATM of India and covers withdrawals made by local residents from April to October (a sample of 917 observations). Figure 1 presents this time series both in levels and first differences. The series in levels is characterized by strong volatility while series in first differences has low volatility though both the series are having outliers. An outlier is an observation that is numerically distant from the rest of the data. Outlier can occur by chance in any distribution, but they are often indicative either of measurement error or that of a population has heavy tailed distribution. The breaks is both series and level plots correspond to missing values in data which is due to ATM failure on that day. The first figure below is time series in levels and second is time series in first difference. Daily ATM withdrawals (In levels) 6

7 (In difference) Figure 1 Methodology Handling missing values correctly is an important part of effective modelling. This section explains what missing values are, and describes the features provided in Analysis Services to work with missing values when building time series structures and models. The analysis of time series data constitutes an important area of statistics. Since, the data are records taken through time, missing observations in time series data are very common. This occurs because an observation may not be made at a particular time owing to faulty equipment, lost records, or a mistake, which cannot be rectified until later. When one or more observations are missing it may be necessary to estimate the model and also to obtain estimates of the missing values. By including estimates of missing values, a better understanding of the nature of the data is possible with more accurate forecasting. Different series may require different strategies to estimate these missing values. It is necessary to use these strategies effectively in order to obtain the best possible estimates. The objective of this report is to examine and compare the effectiveness of various techniques for the estimation of missing values in time series data models. The process of estimating missing values in time series data for univariate data involves analysis and modelling. Traditional time series analysis is commonly directed towards scalarvalued data, and can be represented by traditional Box-Jenkins autoregressive, moving 7

8 average, or autoregressive-moving average models. In some cases these models can be used to obtain missing values using an interpolation approach. In a recent development of time series analysis, the strategy has been to treat several variables simultaneously as vectorvalued variables, and to introduce an alternative way of representing the model, called state space modelling. Deterministic Modelling (also called Numerical Analysis Modelling) This method assumes the time series data corresponds to an unknown function and we try to fit the function in an appropriate way. The missing observation can be estimated by using the appropriate value of the function at the missing observation. Unlike traditional time series approaches, this method discards any relationship between the variables over time. The approach is based on obtaining the best fit for the time series data and is usually easy to follow computationally. In this approach there is a requirement for best fit process to be clearly defined. There are a variety of curves that can be used to fit the data. Stochastic Modelling (also called Time Series Modelling) Another common time series approach for modelling data is to use Box-Jenkins Autoregressive Integrated Moving Average (ARIMA) models. The ARIMA models are based on statistical concepts and principles and are able to model a wide range of time series patterns. These models use a systematic approach to identify the known data patterns and then select the appropriate formulas that can generate the kind of patterns identified. Once the appropriate model has been obtained, the known time series data can be used to determine appropriate values for the parameters in the model. The Box-Jenkins ARIMA models can provide many statistical tests for verifying the validity of the chosen model. In addition the statistical theory behind Box-Jenkins ARIMA models allows for statistical measurements of the uncertainty in a forecast to be made. However, a disadvantage of the Box-Jenkins ARIMA models is that it assumes that data is recorded for every time period. Often time series data with missing values require us to apply some intuitive method or appropriate interpolative technique to estimate those missing values prior to Box-Jenkins s ARIMA approach. Research Methodology To conduct our research, we will find index of missing values at various positions for data set. For estimation, the missing value positions for a 917 point data set are as follows 71, 225, 239, 250, 251, 253, 260, 265, 267, 269, 274, 400, 593, 701, 708, 734, 761, 762, 799, 809, 855, 860, and 876. In this report, our objective is to find the missing values at different positions within a time series data set. With minor adjustment, most of the approaches are able to be adapted to data sets with multiple missing values. However, if a data set consists of consecutive missing values, our estimates become less accurate due to lack of information. In this report, we are going to focus our analysis on a single missing value at various positions within the data set. 8

9 Analysis and Algorithms Analysis 1: (Analysis of Average Withdrawals) These analysis are being done days wise. All these calculation includes the days on which ATM was in not working condition. Starting from overall average withdraws of Weekdays. As we can see clearly that overall average withdraw is minimum on Sunday, increases up to maximum on Wednesday. Monday and Tuesday have almost same overall average withdraws. Now we analyze the ATM failure data which led to missing values in our data. This analysis gives us the possible reasons of many observations and will help us to draw various conclusions. Real world data tends to be incomplete and inconsistent. A missing value can signify a number of different things. Perhaps the field was not applicable, the event did not happen, or the data was not available. It could be that the person who entered the data did not know the right value, or did not care if a field was not filled in. 9

10 It appears that maximum number of ATM failures has been occurred on Sundays(13 Sundays) which can be due to the over usage of ATM s on weekdays and holidays on Sundays. Saturday and Monday are the days on which ATM never failed. Now we analyze the different range of withdraws with respect to days. Below is the table having days in rows and ranges in columns. The data in any cell is the total number of particular day on which average withdraw lied in particular range m = mean s = standard deviation Below is the Bar graph, in which every day has eight towers of different colours, where different colours represent different ranges and height of each tower represents total number of that particular day in that range. 10

11 In range(<m-3s), average withdraw never fell below m-3s In range(m-s to m), the height of Sunday tower is maximum which was expected from the lowest overall average withdraw of Sunday. In range(m to m+s), the height of Sunday s tower is minimum which was quite foreseeable from first bar graph as Sunday had the lowest overall average withdraw and Wednesday has the longest tower in range as it had the maximum overall average withdraw. In range(m+s to m+2s), the height of Monday s tower is maximum, the reason of which can be the maximum failures of ATM on Sundays caused customers to withdraw more money on Mondays. In range(m+2s to m+3s) withdraws happened only two times, one on Thursday(May 1,2008) and one on Friday(May 8,2009), both occurred in May. In range(>m+3s) withdraws happened only six times, two times each on Wednesday and Friday, one time each on Tuesday and Saturday. Below is the horizontal bar graph of Day v/s Range, which is just another bar graph representation of Data. 11

12 Below is the different graphs of Avg. withdraws v/s Different days As clear from above graph too that Sundays have maximum missing values. The above graph also shows outliers in time series. In data analysis, we deal with large number 12

13 of sampled or recorded variables. Some of observations are outlying from the rest, which are known as outliers. The extreme values from the same time series model or appear because of some unobservable causes having serious implications in the estimation and inference. This change deviate the error more. Methodical approach to find missing values Note: Data(i) refers to the data up to ith missing value. For example Data(1) means data up to 70 th position. Algorithm to Find missing value: 1) Find first position of first missing value. 2) Plot the data up to Data(1). 3) Obtain Sample Autocorrelation and Sample partial Autocorrelation of the Data(1). 4) Regress Data(1) on models up to ARMA(6,6). 5) Obtain SIC, AIC and R squared values for all the ARMA(p,q) combinations. Select the model with minimum SIC. Let model be ARMA(m,n). 6) Check if it is covariance stationary (If maximum value of absolute inverse AR roots is less than 1),if it is covariance stationary, forecast missing value using that model and for predicting further missing values we use the same ARMA(m,n) model by regressing the Data up to that missing value on the model. For example to predict the ith missing value we regress Data(i) on ARMA(m,n), then predict ith missing value using this model. 7) Else take first difference of Data(1). 8) Repeat process 4 th and 5 th on first difference of Data(1), let the model came be ARMA(j,k),do forecasting of missing value using that model. 9) For predicting further missing values we use the same ARMA(j,k) model by regressing the data up to that missing value on the model. For example to predict the ith missing value we regress first difference of Data(i) on ARMA(j,k), then predict ith missing value using this model. 10) Complete the data by finding all missing values. Discussion Now we apply above algorithm to our times series dataset. The first missing value occur at 71th position. So we first plot the data up to 70 th position i.e Data(1) and the first difference of Data(1). 13

14 14

15 Now we fit forecasting models on Data(1). We begin by fitting deterministic-trend models to Data(1); we regress Data(1) on different ARMA models, allowing up to ARMA(6,6). Appendix 1.1 shows the AIC, SIC and R Squared values for all the ARMA(p,q) combinations. AIC selects an ARMA(5,1) model, whereas SIC selects an ARMA(1,1). We proceed with the more parsimonious model selected by SIC. The estimation results appear below and the residual plot in Figure 2;note, in particular, maximum value of absolute inverse AR roots is which is greater than 1. Discrete-time IDPOLY model: A(q)y(t) = C(q)e(t) A(q) = q^-1 C(q) = q^-1 Estimated using ARMAX from data set z Loss function e+006 and FPE e+006 Sampling interval: 1 where y(t) = output at time t e(t) = white noise disturbance value at time t qis the delay operator Noise Variance: e+006 AR root = Figure 3 show ARMA(1,1) model, residual sample autocorrelation with two standard error bands Figure 4 show ARMA(1,1) model, residual sample partial autocorrelation with two standard error bands Figure 2 15

16 Figure 3 Figure 4 The residual plot in Figure 4 clearly indicates that residuals are correlated. Moreover, the presence of unit root made Data(1) covariance non stationary. 16

17 In light of the suggestive nature of correlograms and unit root, we consider modelling Data(1). Now we fit forecasting models on Data(1). We regress Data(1) on different ARMA models, allowing up to ARMA(6,6). Appendix 1.1 shows the AIC, SIC and R Squared values for all the ARMA(p,q) combinations. SIC selects an ARMA(0,1). We proceed with the more parsimonious model selected by SIC. The estimation results appear below and the residual plot in Figure 5; Discrete-time IDPOLY model: y(t) = C(q)e(t) C(q) = q^-1 Estimated using ARMAX from data set z Loss function e+006 and FPE e+006 Sampling interval: 1 Figure 5 17

18 Figure 6 Figure 7 18

19 The residual plot in Figure 6 and Figure 7 clearly indicates that residuals are uncorrelated. So we can forecast now using ARIMA(0,1,1). The first forecasted value is at 71th position. So we have just filled first missing value. Similarly using our algorithm other missing values are found and once data is completed we can do forecasting of future. Conclusion Presence of important day s effect. A better understanding of consumer s habit is crucial for the logistic management of this type of services and may help other studies on the topic. This project would allow banks for a better understanding of ATM behavior and consumer habits with respect to different days of week. It would help banks to manage their ATM s properly by giving them a preliminary estimate of future transactions. References: en.wikipedia.org/wiki/automated_teller_machine Elements of Forecasting by Francis X.Diebold Jitendra kumar, Ashutosh shukla and Neeraj tiwari, Bayesian Analysis of a Stationary AR(1) model and outlier Appendix AR MA AIC SIC R Squared

20 AR MA AIC SIC R-Squared

21

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

at least 50 and preferably 100 observations should be available to build a proper model III Box-Jenkins Methods 1. Pros and Cons of ARIMA Forecasting a) need for data at least 50 and preferably 100 observations should be available to build a proper model used most frequently for hourly or

More information

Short-Term Load Forecasting Using ARIMA Model For Karnataka State Electrical Load

Short-Term Load Forecasting Using ARIMA Model For Karnataka State Electrical Load International Journal of Engineering Research and Development e-issn: 2278-67X, p-issn: 2278-8X, www.ijerd.com Volume 13, Issue 7 (July 217), PP.75-79 Short-Term Load Forecasting Using ARIMA Model For

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

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

Study of Time Series and Development of System Identification Model for Agarwada Raingauge Station

Study of Time Series and Development of System Identification Model for Agarwada Raingauge Station Study of Time Series and Development of System Identification Model for Agarwada Raingauge Station N.A. Bhatia 1 and T.M.V.Suryanarayana 2 1 Teaching Assistant, 2 Assistant Professor, Water Resources Engineering

More information

TIME SERIES DATA PREDICTION OF NATURAL GAS CONSUMPTION USING ARIMA MODEL

TIME SERIES DATA PREDICTION OF NATURAL GAS CONSUMPTION USING ARIMA MODEL International Journal of Information Technology & Management Information System (IJITMIS) Volume 7, Issue 3, Sep-Dec-2016, pp. 01 07, Article ID: IJITMIS_07_03_001 Available online at http://www.iaeme.com/ijitmis/issues.asp?jtype=ijitmis&vtype=7&itype=3

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

5 Autoregressive-Moving-Average Modeling

5 Autoregressive-Moving-Average Modeling 5 Autoregressive-Moving-Average Modeling 5. Purpose. Autoregressive-moving-average (ARMA models are mathematical models of the persistence, or autocorrelation, in a time series. ARMA models are widely

More information

2. An Introduction to Moving Average Models and ARMA Models

2. An Introduction to Moving Average Models and ARMA Models . An Introduction to Moving Average Models and ARMA Models.1 White Noise. The MA(1) model.3 The MA(q) model..4 Estimation and forecasting of MA models..5 ARMA(p,q) models. The Moving Average (MA) models

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

On Autoregressive Order Selection Criteria

On Autoregressive Order Selection Criteria On Autoregressive Order Selection Criteria Venus Khim-Sen Liew Faculty of Economics and Management, Universiti Putra Malaysia, 43400 UPM, Serdang, Malaysia This version: 1 March 2004. Abstract This study

More information

The Identification of ARIMA Models

The Identification of ARIMA Models APPENDIX 4 The Identification of ARIMA Models As we have established in a previous lecture, there is a one-to-one correspondence between the parameters of an ARMA(p, q) model, including the variance of

More information

Lecture 2: Univariate Time Series

Lecture 2: Univariate Time Series Lecture 2: Univariate Time Series Analysis: Conditional and Unconditional Densities, Stationarity, ARMA Processes Prof. Massimo Guidolin 20192 Financial Econometrics Spring/Winter 2017 Overview Motivation:

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

Modeling and Forecasting Currency in Circulation in Sri Lanka

Modeling and Forecasting Currency in Circulation in Sri Lanka Modeling and Forecasting Currency in Circulation in Sri Lanka Rupa Dheerasinghe 1 Abstract Currency in circulation is typically estimated either by specifying a currency demand equation based on the theory

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

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

Basics: Definitions and Notation. Stationarity. A More Formal Definition Basics: Definitions and Notation A Univariate is a sequence of measurements of the same variable collected over (usually regular intervals of) time. Usual assumption in many time series techniques is that

More information

THE DETECTION OF SHIFTS IN AUTOCORRELATED PROCESSES WITH MR AND EWMA CHARTS

THE DETECTION OF SHIFTS IN AUTOCORRELATED PROCESSES WITH MR AND EWMA CHARTS THE DETECTION OF SHIFTS IN AUTOCORRELATED PROCESSES WITH MR AND EWMA CHARTS Karin Kandananond, kandananond@hotmail.com Faculty of Industrial Technology, Rajabhat University Valaya-Alongkorn, Prathumthani,

More information

1. How can you tell if there is serial correlation? 2. AR to model serial correlation. 3. Ignoring serial correlation. 4. GLS. 5. Projects.

1. How can you tell if there is serial correlation? 2. AR to model serial correlation. 3. Ignoring serial correlation. 4. GLS. 5. Projects. 1. How can you tell if there is serial correlation? 2. AR to model serial correlation. 3. Ignoring serial correlation. 4. GLS. 5. Projects. 1) Identifying serial correlation. Plot Y t versus Y t 1. See

More information

Elements of Multivariate Time Series Analysis

Elements of Multivariate Time Series Analysis Gregory C. Reinsel Elements of Multivariate Time Series Analysis Second Edition With 14 Figures Springer Contents Preface to the Second Edition Preface to the First Edition vii ix 1. Vector Time Series

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

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

Univariate linear models

Univariate linear models Univariate linear models The specification process of an univariate ARIMA model is based on the theoretical properties of the different processes and it is also important the observation and interpretation

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

Introduction to Forecasting

Introduction to Forecasting Introduction to Forecasting Introduction to Forecasting Predicting the future Not an exact science but instead consists of a set of statistical tools and techniques that are supported by human judgment

More information

Forecasting Bangladesh's Inflation through Econometric Models

Forecasting Bangladesh's Inflation through Econometric Models American Journal of Economics and Business Administration Original Research Paper Forecasting Bangladesh's Inflation through Econometric Models 1,2 Nazmul Islam 1 Department of Humanities, Bangladesh University

More information

Analysis. Components of a Time Series

Analysis. Components of a Time Series Module 8: Time Series Analysis 8.2 Components of a Time Series, Detection of Change Points and Trends, Time Series Models Components of a Time Series There can be several things happening simultaneously

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

MCMC analysis of classical time series algorithms.

MCMC analysis of classical time series algorithms. MCMC analysis of classical time series algorithms. mbalawata@yahoo.com Lappeenranta University of Technology Lappeenranta, 19.03.2009 Outline Introduction 1 Introduction 2 3 Series generation Box-Jenkins

More information

Time Series Models and Inference. James L. Powell Department of Economics University of California, Berkeley

Time Series Models and Inference. James L. Powell Department of Economics University of California, Berkeley Time Series Models and Inference James L. Powell Department of Economics University of California, Berkeley Overview In contrast to the classical linear regression model, in which the components of the

More information

Fractal structure in the Chinese yuan/us dollar rate. Abstract. Grande Do Sul, Brazil

Fractal structure in the Chinese yuan/us dollar rate. Abstract. Grande Do Sul, Brazil Fractal structure in the Chinese yuan/us dollar rate Raul Matsushita Department of Statistics, University of Brasilia Annibal Figueiredo Department of Physics, University of Brasilia Iram Gleria Department

More information

Frequency Forecasting using Time Series ARIMA model

Frequency Forecasting using Time Series ARIMA model Frequency Forecasting using Time Series ARIMA model Manish Kumar Tikariha DGM(O) NSPCL Bhilai Abstract In view of stringent regulatory stance and recent tariff guidelines, Deviation Settlement mechanism

More information

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

Design of Time Series Model for Road Accident Fatal Death in Tamilnadu Volume 109 No. 8 2016, 225-232 ISSN: 1311-8080 (printed version); ISSN: 1314-3395 (on-line version) url: http://www.ijpam.eu ijpam.eu Design of Time Series Model for Road Accident Fatal Death in Tamilnadu

More information

CHAPTER 8 FORECASTING PRACTICE I

CHAPTER 8 FORECASTING PRACTICE I CHAPTER 8 FORECASTING PRACTICE I Sometimes we find time series with mixed AR and MA properties (ACF and PACF) We then can use mixed models: ARMA(p,q) These slides are based on: González-Rivera: Forecasting

More information

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

Chapter 12: An introduction to Time Series Analysis. Chapter 12: An introduction to Time Series Analysis Chapter 12: An introduction to Time Series Analysis Introduction In this chapter, we will discuss forecasting with single-series (univariate) Box-Jenkins models. The common name of the models is Auto-Regressive

More information

9. Using Excel matrices functions to calculate partial autocorrelations

9. Using Excel matrices functions to calculate partial autocorrelations 9 Using Excel matrices functions to calculate partial autocorrelations In order to use a more elegant way to calculate the partial autocorrelations we need to borrow some equations from stochastic modelling,

More information

ARIMA Models. Richard G. Pierse

ARIMA Models. Richard G. Pierse ARIMA Models Richard G. Pierse 1 Introduction Time Series Analysis looks at the properties of time series from a purely statistical point of view. No attempt is made to relate variables using a priori

More information

State-space Model. Eduardo Rossi University of Pavia. November Rossi State-space Model Fin. Econometrics / 53

State-space Model. Eduardo Rossi University of Pavia. November Rossi State-space Model Fin. Econometrics / 53 State-space Model Eduardo Rossi University of Pavia November 2014 Rossi State-space Model Fin. Econometrics - 2014 1 / 53 Outline 1 Motivation 2 Introduction 3 The Kalman filter 4 Forecast errors 5 State

More information

Chart types and when to use them

Chart types and when to use them APPENDIX A Chart types and when to use them Pie chart Figure illustration of pie chart 2.3 % 4.5 % Browser Usage for April 2012 18.3 % 38.3 % Internet Explorer Firefox Chrome Safari Opera 35.8 % Pie chart

More information

Concepts and Applications of Kriging. Eric Krause

Concepts and Applications of Kriging. Eric Krause Concepts and Applications of Kriging Eric Krause Sessions of note Tuesday ArcGIS Geostatistical Analyst - An Introduction 8:30-9:45 Room 14 A Concepts and Applications of Kriging 10:15-11:30 Room 15 A

More information

22/04/2014. Economic Research

22/04/2014. Economic Research 22/04/2014 Economic Research Forecasting Models for Exchange Rate Tuesday, April 22, 2014 The science of prognostics has been going through a rapid and fruitful development in the past decades, with various

More information

Trip Generation Characteristics of Super Convenience Market Gasoline Pump Stores

Trip Generation Characteristics of Super Convenience Market Gasoline Pump Stores Trip Generation Characteristics of Super Convenience Market Gasoline Pump Stores This article presents the findings of a study that investigated trip generation characteristics of a particular chain of

More information

Econ 424 Time Series Concepts

Econ 424 Time Series Concepts Econ 424 Time Series Concepts Eric Zivot January 20 2015 Time Series Processes Stochastic (Random) Process { 1 2 +1 } = { } = sequence of random variables indexed by time Observed time series of length

More information

Part I State space models

Part I State space models Part I State space models 1 Introduction to state space time series analysis James Durbin Department of Statistics, London School of Economics and Political Science Abstract The paper presents a broad

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

10. Time series regression and forecasting

10. Time series regression and forecasting 10. Time series regression and forecasting Key feature of this section: Analysis of data on a single entity observed at multiple points in time (time series data) Typical research questions: What is the

More information

Modules 1-2 are background; they are the same for regression analysis and time series.

Modules 1-2 are background; they are the same for regression analysis and time series. Regression Analysis, Module 1: Regression models (The attached PDF file has better formatting.) Required reading: Chapter 1, pages 3 13 (until appendix 1.1). Updated: May 23, 2005 Modules 1-2 are background;

More information

Bayesian Variable Selection for Nowcasting Time Series

Bayesian Variable Selection for Nowcasting Time Series Bayesian Variable Selection for Time Series Steve Scott Hal Varian Google August 14, 2013 What day of the week are there the most searches for [hangover]? 1. Sunday 2. Monday 3. Tuesday 4. Wednesday 5.

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 SUGARCANE PRODUCTION IN INDIA WITH ARIMA MODEL

FORECASTING SUGARCANE PRODUCTION IN INDIA WITH ARIMA MODEL FORECASTING SUGARCANE PRODUCTION IN INDIA WITH ARIMA MODEL B. N. MANDAL Abstract: Yearly sugarcane production data for the period of - to - of India were analyzed by time-series methods. Autocorrelation

More information

Advances in promotional modelling and analytics

Advances in promotional modelling and analytics Advances in promotional modelling and analytics High School of Economics St. Petersburg 25 May 2016 Nikolaos Kourentzes n.kourentzes@lancaster.ac.uk O u t l i n e 1. What is forecasting? 2. Forecasting,

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

Revisiting linear and non-linear methodologies for time series prediction - application to ESTSP 08 competition data

Revisiting linear and non-linear methodologies for time series prediction - application to ESTSP 08 competition data Revisiting linear and non-linear methodologies for time series - application to ESTSP 08 competition data Madalina Olteanu Universite Paris 1 - SAMOS CES 90 Rue de Tolbiac, 75013 Paris - France Abstract.

More information

How Accurate is My Forecast?

How Accurate is My Forecast? How Accurate is My Forecast? Tao Hong, PhD Utilities Business Unit, SAS 15 May 2012 PLEASE STAND BY Today s event will begin at 11:00am EDT The audio portion of the presentation will be heard through your

More information

REVIEW OF SHORT-TERM TRAFFIC FLOW PREDICTION TECHNIQUES

REVIEW OF SHORT-TERM TRAFFIC FLOW PREDICTION TECHNIQUES INTRODUCTION In recent years the traditional objective of improving road network efficiency is being supplemented by greater emphasis on safety, incident detection management, driver information, better

More information

Package TSPred. April 5, 2017

Package TSPred. April 5, 2017 Type Package Package TSPred April 5, 2017 Title Functions for Benchmarking Time Series Prediction Version 3.0.2 Date 2017-04-05 Author Rebecca Pontes Salles [aut, cre, cph] (CEFET/RJ), Eduardo Ogasawara

More information

Concepts and Applications of Kriging

Concepts and Applications of Kriging Esri International User Conference San Diego, California Technical Workshops July 24, 2012 Concepts and Applications of Kriging Konstantin Krivoruchko Eric Krause Outline Intro to interpolation Exploratory

More information

Lecture 6a: Unit Root and ARIMA Models

Lecture 6a: Unit Root and ARIMA Models Lecture 6a: Unit Root and ARIMA Models 1 2 Big Picture A time series is non-stationary if it contains a unit root unit root nonstationary The reverse is not true. For example, y t = cos(t) + u t has no

More information

Oil price volatility in the Philippines using generalized autoregressive conditional heteroscedasticity

Oil price volatility in the Philippines using generalized autoregressive conditional heteroscedasticity Oil price volatility in the Philippines using generalized autoregressive conditional heteroscedasticity Carl Ceasar F. Talungon University of Southern Mindanao, Cotabato Province, Philippines Email: carlceasar04@gmail.com

More information

Short Term Load Forecasting Based Artificial Neural Network

Short Term Load Forecasting Based Artificial Neural Network Short Term Load Forecasting Based Artificial Neural Network Dr. Adel M. Dakhil Department of Electrical Engineering Misan University Iraq- Misan Dr.adelmanaa@gmail.com Abstract Present study develops short

More information

Problem Statements in Time Series Forecasting

Problem Statements in Time Series Forecasting Problem Statements in Time Series Forecasting Vadim Strijov, Visiting Professor at IAM METU Computing Center of the Russian Academy of Sciences Institute of Applied Mathematics, Middle East Technical University

More information

Econ 423 Lecture Notes: Additional Topics in Time Series 1

Econ 423 Lecture Notes: Additional Topics in Time Series 1 Econ 423 Lecture Notes: Additional Topics in Time Series 1 John C. Chao April 25, 2017 1 These notes are based in large part on Chapter 16 of Stock and Watson (2011). They are for instructional purposes

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

Romanian Economic and Business Review Vol. 3, No. 3 THE EVOLUTION OF SNP PETROM STOCK LIST - STUDY THROUGH AUTOREGRESSIVE MODELS

Romanian Economic and Business Review Vol. 3, No. 3 THE EVOLUTION OF SNP PETROM STOCK LIST - STUDY THROUGH AUTOREGRESSIVE MODELS THE EVOLUTION OF SNP PETROM STOCK LIST - STUDY THROUGH AUTOREGRESSIVE MODELS Marian Zaharia, Ioana Zaheu, and Elena Roxana Stan Abstract Stock exchange market is one of the most dynamic and unpredictable

More information

Prashant Pant 1, Achal Garg 2 1,2 Engineer, Keppel Offshore and Marine Engineering India Pvt. Ltd, Mumbai. IJRASET 2013: All Rights are Reserved 356

Prashant Pant 1, Achal Garg 2 1,2 Engineer, Keppel Offshore and Marine Engineering India Pvt. Ltd, Mumbai. IJRASET 2013: All Rights are Reserved 356 Forecasting Of Short Term Wind Power Using ARIMA Method Prashant Pant 1, Achal Garg 2 1,2 Engineer, Keppel Offshore and Marine Engineering India Pvt. Ltd, Mumbai Abstract- Wind power, i.e., electrical

More information

1. Fundamental concepts

1. Fundamental concepts . Fundamental concepts A time series is a sequence of data points, measured typically at successive times spaced at uniform intervals. Time series are used in such fields as statistics, signal processing

More information

Read Section 1.1, Examples of time series, on pages 1-8. These example introduce the book; you are not tested on them.

Read Section 1.1, Examples of time series, on pages 1-8. These example introduce the book; you are not tested on them. TS Module 1 Time series overview (The attached PDF file has better formatting.)! Model building! Time series plots Read Section 1.1, Examples of time series, on pages 1-8. These example introduce the book;

More information

Forecasting Using Time Series Models

Forecasting Using Time Series Models Forecasting Using Time Series Models Dr. J Katyayani 1, M Jahnavi 2 Pothugunta Krishna Prasad 3 1 Professor, Department of MBA, SPMVV, Tirupati, India 2 Assistant Professor, Koshys Institute of Management

More information

INSTITUTE AND FACULTY OF ACTUARIES. Curriculum 2019 SPECIMEN SOLUTIONS

INSTITUTE AND FACULTY OF ACTUARIES. Curriculum 2019 SPECIMEN SOLUTIONS INSTITUTE AND FACULTY OF ACTUARIES Curriculum 09 SPECIMEN SOLUTIONS Subject CSA Risk Modelling and Survival Analysis Institute and Faculty of Actuaries Sample path A continuous time, discrete state process

More information

A Data-Driven Model for Software Reliability Prediction

A Data-Driven Model for Software Reliability Prediction A Data-Driven Model for Software Reliability Prediction Author: Jung-Hua Lo IEEE International Conference on Granular Computing (2012) Young Taek Kim KAIST SE Lab. 9/4/2013 Contents Introduction Background

More information

Regression of Time Series

Regression of Time Series Mahlerʼs Guide to Regression of Time Series CAS Exam S prepared by Howard C. Mahler, FCAS Copyright 2016 by Howard C. Mahler. Study Aid 2016F-S-9Supplement Howard Mahler hmahler@mac.com www.howardmahler.com/teaching

More information

Performance of Autoregressive Order Selection Criteria: A Simulation Study

Performance of Autoregressive Order Selection Criteria: A Simulation Study Pertanika J. Sci. & Technol. 6 (2): 7-76 (2008) ISSN: 028-7680 Universiti Putra Malaysia Press Performance of Autoregressive Order Selection Criteria: A Simulation Study Venus Khim-Sen Liew, Mahendran

More information

Introduction. Chapter 1

Introduction. Chapter 1 Chapter 1 Introduction In this book we will be concerned with supervised learning, which is the problem of learning input-output mappings from empirical data (the training dataset). Depending on the characteristics

More information

1 Introduction. 2 AIC versus SBIC. Erik Swanson Cori Saviano Li Zha Final Project

1 Introduction. 2 AIC versus SBIC. Erik Swanson Cori Saviano Li Zha Final Project Erik Swanson Cori Saviano Li Zha Final Project 1 Introduction In analyzing time series data, we are posed with the question of how past events influences the current situation. In order to determine 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

The regression model with one stochastic regressor (part II)

The regression model with one stochastic regressor (part II) The regression model with one stochastic regressor (part II) 3150/4150 Lecture 7 Ragnar Nymoen 6 Feb 2012 We will finish Lecture topic 4: The regression model with stochastic regressor We will first look

More information

Time Series: Theory and Methods

Time Series: Theory and Methods Peter J. Brockwell Richard A. Davis Time Series: Theory and Methods Second Edition With 124 Illustrations Springer Contents Preface to the Second Edition Preface to the First Edition vn ix CHAPTER 1 Stationary

More information

Predicting freeway traffic in the Bay Area

Predicting freeway traffic in the Bay Area Predicting freeway traffic in the Bay Area Jacob Baldwin Email: jtb5np@stanford.edu Chen-Hsuan Sun Email: chsun@stanford.edu Ya-Ting Wang Email: yatingw@stanford.edu Abstract The hourly occupancy rate

More information

ECONOMICS 7200 MODERN TIME SERIES ANALYSIS Econometric Theory and Applications

ECONOMICS 7200 MODERN TIME SERIES ANALYSIS Econometric Theory and Applications ECONOMICS 7200 MODERN TIME SERIES ANALYSIS Econometric Theory and Applications Yongmiao Hong Department of Economics & Department of Statistical Sciences Cornell University Spring 2019 Time and uncertainty

More information

Analyzing And Predicting The Average Monthly Price of Gold. Like many other precious gemstones and metals, the high volume of sales and

Analyzing And Predicting The Average Monthly Price of Gold. Like many other precious gemstones and metals, the high volume of sales and Analyzing And Predicting The Average Monthly Price of Gold Lucas Van Cleef Professor Madonia Economic Forecasting 7/16/16 Like many other precious gemstones and metals, the high volume of sales and consumption

More information

Time Series Analysis of Currency in Circulation in Nigeria

Time Series Analysis of Currency in Circulation in Nigeria ISSN -3 (Paper) ISSN 5-091 (Online) Time Series Analysis of Currency in Circulation in Nigeria Omekara C.O Okereke O.E. Ire K.I. Irokwe O. Department of Statistics, Michael Okpara University of Agriculture

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

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

Forecasting Area, Production and Yield of Cotton in India using ARIMA Model Forecasting Area, Production and Yield of Cotton in India using ARIMA Model M. K. Debnath 1, Kartic Bera 2 *, P. Mishra 1 1 Department of Agricultural Statistics, Bidhan Chanda Krishi Vishwavidyalaya,

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

Electricity Exchange: Demand Side Unit performance monitoring

Electricity Exchange: Demand Side Unit performance monitoring Electricity Exchange: Demand Side Unit performance monitoring Vahid Bokharaie 2, Paula Carroll 1, Mel Devine 2, Peter Fennell 2, James Gleeson 2, Kevin Hayes 2, Geoff Hunter 3, Jan Idiak 4, William Lee

More information

Solar irradiance forecasting for Chulalongkorn University location using time series models

Solar irradiance forecasting for Chulalongkorn University location using time series models Senior Project Proposal 2102490 Year 2016 Solar irradiance forecasting for Chulalongkorn University location using time series models Vichaya Layanun ID 5630550721 Advisor: Assist. Prof. Jitkomut Songsiri

More information

DELFOS: GAS DEMAND FORECASTING. Author and speaker: JOSÉ MANUEL GÁLVEZ CAÑAMAQUE

DELFOS: GAS DEMAND FORECASTING. Author and speaker: JOSÉ MANUEL GÁLVEZ CAÑAMAQUE DELFOS: GAS DEMAND FORECASTING Author and speaker: JOSÉ MANUEL GÁLVEZ CAÑAMAQUE PROJECT : DELFOS DURATION: OCTOBER 1998 - APRIL 2000 CUSTOMER COMPANY: ENAGAS (GAS NATURAL) OBJECTIVE : GAS DEMAND FORECASTING

More information

On Monitoring Shift in the Mean Processes with. Vector Autoregressive Residual Control Charts of. Individual Observation

On Monitoring Shift in the Mean Processes with. Vector Autoregressive Residual Control Charts of. Individual Observation Applied Mathematical Sciences, Vol. 8, 14, no. 7, 3491-3499 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/.12988/ams.14.44298 On Monitoring Shift in the Mean Processes with Vector Autoregressive Residual

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

Autoregressive Moving Average (ARMA) Models and their Practical Applications

Autoregressive Moving Average (ARMA) Models and their Practical Applications Autoregressive Moving Average (ARMA) Models and their Practical Applications Massimo Guidolin February 2018 1 Essential Concepts in Time Series Analysis 1.1 Time Series and Their Properties Time series:

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

FORECASTING OF COTTON PRODUCTION IN INDIA USING ARIMA MODEL

FORECASTING OF COTTON PRODUCTION IN INDIA USING ARIMA MODEL FORECASTING OF COTTON PRODUCTION IN INDIA USING ARIMA MODEL S.Poyyamozhi 1, Dr. A. Kachi Mohideen 2. 1 Assistant Professor and Head, Department of Statistics, Government Arts College (Autonomous), Kumbakonam

More information

5 Transfer function modelling

5 Transfer function modelling MSc Further Time Series Analysis 5 Transfer function modelling 5.1 The model Consider the construction of a model for a time series (Y t ) whose values are influenced by the earlier values of a series

More information

Lectures 5 & 6: Hypothesis Testing

Lectures 5 & 6: Hypothesis Testing Lectures 5 & 6: Hypothesis Testing in which you learn to apply the concept of statistical significance to OLS estimates, learn the concept of t values, how to use them in regression work and come across

More information

Spatial Analysis and Modeling (GIST 4302/5302) Guofeng Cao Department of Geosciences Texas Tech University

Spatial Analysis and Modeling (GIST 4302/5302) Guofeng Cao Department of Geosciences Texas Tech University Spatial Analysis and Modeling (GIST 4302/5302) Guofeng Cao Department of Geosciences Texas Tech University TTU Graduate Certificate Geographic Information Science and Technology (GIST) 3 Core Courses and

More information

3. If a forecast is too high when compared to an actual outcome, will that forecast error be positive or negative?

3. If a forecast is too high when compared to an actual outcome, will that forecast error be positive or negative? 1. Does a moving average forecast become more or less responsive to changes in a data series when more data points are included in the average? 2. Does an exponential smoothing forecast become more or

More information

Defining Normal Weather for Energy and Peak Normalization

Defining Normal Weather for Energy and Peak Normalization Itron White Paper Energy Forecasting Defining Normal Weather for Energy and Peak Normalization J. Stuart McMenamin, Ph.D Managing Director, Itron Forecasting 2008, Itron Inc. All rights reserved. 1 Introduction

More information

Econ 623 Econometrics II Topic 2: Stationary Time Series

Econ 623 Econometrics II Topic 2: Stationary Time Series 1 Introduction Econ 623 Econometrics II Topic 2: Stationary Time Series In the regression model we can model the error term as an autoregression AR(1) process. That is, we can use the past value of the

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

data lam=36.9 lam=6.69 lam=4.18 lam=2.92 lam=2.21 time max wavelength modulus of max wavelength cycle

data lam=36.9 lam=6.69 lam=4.18 lam=2.92 lam=2.21 time max wavelength modulus of max wavelength cycle AUTOREGRESSIVE LINEAR MODELS AR(1) MODELS The zero-mean AR(1) model x t = x t,1 + t is a linear regression of the current value of the time series on the previous value. For > 0 it generates positively

More information