Time Series Forecasting Methods:

Size: px
Start display at page:

Download "Time Series Forecasting Methods:"

Transcription

1 Corso di TRASPORTI E TERRITORIO Time Series Forecasting Methods: EXPONENTIAL SMOOTHING DOCENTI Agostino Nuzzolo (nuzzolo@ing.uniroma2.it) Antonio Comi (comi@ing.uniroma2.it) 1

2 Classificazione dei metodi di previsione Metodi semplificati di previsione Metodi di previsione con decomposizione (classica o STL) Metodi di previsione exponential smoothing Semplice exp. smoothing Holt Winters exponential smoothing Innovations state space models - ETS Modelli ARIMA Modelli Neural Networks 2

3 Exponential Smoothing ForecastingMethods Component form The component form representation of exponential smoothing forecasting methods comprises: - a smoothing equation, that gives the smoothed value at each t, for each of the components included in the method (residuals, trend, seasonality) - a forecast equation: the forecasted value at time t+1 is the smoothed value at time t.

4 Exponential smoothing [1/2] Simple exponential smoothing forecast SES The Simple Exponential Smoothing - SES can be applied to temporal series with no trend or seasonal pattern (or to de-trended and seasonality adjusted component, that is to residuals). In the case of simple exponential smoothing, the component form is given by: t 1 t t 1 Smoothing equation lt yt 1 ll Forecasting equation where l t is the level (or the smoothed value) of the series at time t and 0 α 1 is the smoothing parameter. ŷ l The forecast equation shows that the forecasted value at time t+1 is the estimated level at time t. 4

5 Exponential smoothing [2/2] Simple exponential smoothing forecast: weighted average form Applying the forecast equation for time T gives, the most recent estimated level. T 1 T T If in the smoothing equation, we replace l t by ŷt and l t 1 by ŷ 1 t t t 1 we will recover the weighted average form of simple exponential smoothing equation: for t=1,,t, where 0 α 1 is the smoothing parameter ŷ ˆy y 1 ˆy t 1 t t t t 1 l 5

6 Exponential smoothing Simple exponential smoothing forecasting The weights decrease exponentially as observations come from further in the past --- the smallest weights are associated with the oldest observations: ŷ y y y... from which the name of the method T 1 T T T 1 T 2 The one-step-ahead forecast for time T+1 is a weighted average of all the observations in the series y 1,,y T. The rate at which the weights decrease is controlled by the parameter α. 6

7 Exponential smoothing Simple exponential smoothing It is the optimal estimated value 7

8 Exponential smoothing [1/3] Holt-Winters seasonal method The Holt-Winters seasonal method comprises the forecast equation and three smoothing equations: one for the level l t, one for trend b t, one for the seasonal component s t, with smoothing parameters α, β and γ. 8

9 Exponential smoothing [2/3] Holt-Winters seasonal method We use m to denote the period of the seasonality. The component form for the additive method is: ŷ l h b s t 1 t t t t m h m 1 l y s l b t t t m t 1 t 1 1 b l l b * * t t t 1 t 1 1 s y l b s t t t 1 t 1 t m where h, which ensures that the estimates of the seasonal indices m h 1 modm 1 used for forecasting come from the final year of the sample. (The notation u means the largest integer not greater than u. 9

10 Exponential smoothing [3/3] Holt-Winters seasonal method The level equation shows a weighted average between the seasonally adjusted observation (y t s t m ) and the non-seasonal forecast (l t 1 +b t 1 ) for time t. The trend equation shows a weighted average between the difference of level (l t l t-1 ), that is the new b t, and the previous b t-1. The seasonal equation shows a weighted average between the current seasonal index, (y t l t 1 b t 1 ), and the seasonal index of the same season last «year» (i.e., m time periods ago). 10

11 Exponential smoothing [1/2] Initialisation 1 The application of every exponential smoothing method requires the initialisation of the smoothing process. For simple exponential smoothing we need to specify an initial value for the level, l 0, which appears in the last term of equation T 1 j 1 1 ŷ y l T 1 T T j 0 j 0 Hence l 0 plays a role in all forecasts generated by the process. In general, the weight attached to l 0 is small. However, in the case that α is small and/or the time series is relatively short, the weight may be large enough to have a noticeable effect on the resulting forecasts. T 11

12 Exponential smoothing [2/2] Initialisation 2 Therefore, selecting suitable initial values can be quite important. A common approach is to set l 0 =y 1 (recall that l ˆy ) Other exponential smoothing methods that also involve a trend and/or a seasonal component require initial values for these components also. In the book are tabulated common strategies for selecting initial values. An alternative approach is to use optimization: the unknown parameters and the initial values for any exponential smoothing method can be estimated by minimizing the SSE. 12

13 Exponential smoothing [1/2] Error correction form 1 Another form of exponential smoothing equation is obtained by rearranging the level equation in to get what we refer to as the error correction form. For the simple exp. smoothing: l t = l t 1 +α (y t l t 1 ) = l t 1 +α e t where e y l y ˆy t t t 1 t t t 1 for t = 1,...,T That is, e t is the one-step error at time t computed on the training data. The training data errors lead to the adjustment/correction of the estimated level throughout the smoothing process for t=1,,t. 13

14 Exponential smoothing [2/2] Error correction form 2 For example, if the error at time t is negative, then the level at time t 1 has been over-estimated. ŷ t t 1 y t and so The new level l t is then the previous level l t 1 adjusted downwards. The closer α is to one, the rougher the estimate of the level (large adjustments take place). The smaller the α, the smoother the level (small adjustments take place) 14

15 Exponential Smoothing Method Error Component form Using the error component form, the error e t is given by the measurement equation: y ˆy e ovvero e y ˆy t t t t t t and the smoothing equations can be re-arranged, giving the transition equations at each t, that describe how the unobserved components or states (level, trend, seasonal) change over time. Now we can introduce a new form of exponential smoothing models: the Innovation State Space models

16 Innovations state space (ISS) models [1/2] Each ISS model consists of: a measurement equation that describes the observed data some transition equations that describe how the unobserved components or states (level, trend, seasonal) change over time. Hence these are referred to as state space models. We label each state space model as ETS(,, ) for (Error, Trend, Seasonal). This label can also be thought of as ExponenTial Smoothing. The possibilities for each state or component, are: Error ={A,M}, Trend ={N,A,M} and Seasonal ={N,A,M}, con N=Nulle; A= additive; M= Moltiplicative. 16

17 Innovations state space (ISS) models [2/2] These models derive from the previous exponential smoothing method, specifying the probability distribution for e t. For a model with additive errors, we assume that one-step forecast errors e t are normally distributed white noise with mean 0 and variance σ 2. A short-hand notation for this is e t = ε t NID(0,σ 2 ) NID stands for normally and independently distributed. The term innovations comes from the fact that all equations in this type of specification use the same random error process, ε t. 17

18 ETS (A,A,A) - Holt-Winters In the case of ETS (A;A;A) - Holt-Winters, the formulation is: y l b s t t 1 t 1 t m t l l b t t 1 t 1 t b s b t t 1 t s t t m t We estimate the smoothing parameters α, β, γ and the initial states l 0, b 0, s 0, s 1,, s m+1 by maximizing the likelihood. The possible values that the smoothing parameters can take is restricted. Traditionally, the parameters have been constrained to lie between 0 and 1 so that the equations can be interpreted as weighted averages. That is, 0 < α, β, γ < 1. For the state space models, we have set β=αβ and γ=(1 α)γ. Therefore, the traditional restrictions translate to 0<α<1, 0<β<α and 0<γ<1 α. 18

19 ISS model selection A great advantage of the ETS statistical framework is that information criteria can be used for model selection. The AIC, AIC c and BIC can be used to determine which model is most appropriate for a given time series. For ETS models, Akaike s Information Criterion (AIC) is defined as AIC= 2log(L)+2k, where L is the likelihood of the model and k is the total number of parameters and initial states that have been estimated (including the residual variance). The AIC corrected for small sample bias is AIC c =AIC+[2k(k+1)] / (T k 1), and the Bayesian Information Criterion (BIC) is BIC=AIC+k[log(T) 2]. 19

20 Forecasting using STL + ETS(A,N,N) (Simple Exponential Smoothing su serie dei residui ottenuti con STL da time 1 a time 7,5) Forecast method: Simple exponential smoothing Model Information: Simple exponential smoothing Call: ses(y = ts.re75, h = 90, initial = "optimal") Smoothing parameters: alpha = Initial states: l = sigma: AIC AICc BIC Error measures: ME RMSE MAE MPE MAPE MASE ACF1 Training set

21 Forecasting using STL and ETS(A,N,N) Example: forecasted and observed values time interval trend component seasonal compone nt STL forecast data observed STL Errors Error forecasts STL + ETS forecasts STL + ETS e i ,9 32,7 2447,6 2802,0 354,4 105,3 2552,9 249, ,9 74,0 2488,9 2589,0 100,1 105,3 2594,1-5, ,9 97,3 2512,2 2446,0-66,2 64,8 2577,0-131, ,9 257,1 2671,9 2549,0-122,9-96,4 2575,6-26, ,9 387,1 2801,9 2643,0-158,9-55,3 2746,7-103, ,9 405,2 2820,1 2612,0-208,1-82,5 2737,6-125, ,9 197,4 2612,3 2572,0-40,3-119,6 2492,7 79, ,9 310,8 2725,6 2551,0-174,6 23,0 2748,6-197, ,9 203,0 2617,9 2433,0-184,9-121,5 2496,4-63, ,9 275,0 2689,9 2552,0-137,9-100,3 2589,6-37, ,9 193,1 2608,0 2453,0-155,0-44,7 2563,3-110, ,9-48,4 2366,5 2257,0-109,5-90,3 2276,2-19, ,9-431,3 1983,5 1845,0-138,5-44,2 1939,3-94, ,9-541,7 1873,2 1843,0-30,2-73,7 1799,6 43, ,9-641,4 1773,4 1730,0-43,4 5,6 1779,0-49, ,9-728,1 1686,8 1617,0-69,8-23,6 1663,2-46, ,9-784,5 1630,4 1575,0-55,4-47,0 1583,4-8, ,9-842,8 1572,1 1531,0-41,1-18,8 1553,3-22, ,9-887,4 1527,4 1712,0 184,6-18,5 1508,9 203, ,9-804,1 1610,7 1696,0 85,3 141,1 1751,8-55, ,9-470,1 1944,8 1905,0-39,8 15,3 1960,2-55, ,9-153,5 2261,3 2272,0 10,7-55,3 2206,0 66,0 21

22 Travel time [seconds] Forecasting using STL and ETS Example forecasted and observed values 4500,0 forecasts data observed 4000,0 3500,0 3000,0 2500,0 2000,0 1500,0 1000, minutes time interval [from 14:15 of Wednesday to 22:45 of Friday in the week 8 22

23 seconds Residual diagnostics Example of error diagnostic for forecasting with STL and ETS Average e i s 16,9 209,2 1200,0 Errors e i (difference between observed and forecast values) 1000,0 800,0 600,0 400,0 200,0 0, ,0-400,0-600,0-800,0 30-minutes time interval MAE 137,8 RMSE 209,8 MAPE 5,5% 23

24 Comparison Classical, STL and STL + ETS forecasting Classical Average e i s -61,1 278,1 STL Average e i s -31,7 222,7 STL + ETS Average e i s 19,9 209,2 MAE 234,4 RMSE 284,8 MAPE 10% MAE 164,9 RMSE 225,0 MAPE 6,5% MAE 137,8 RMSE 209,8 MAPE 5,5% 24

Serie temporali: previsioni

Serie temporali: previsioni A. A. 2016-2017 Serie temporali: previsioni prof. ing. Antonio Comi Department of Enterprise Engineering University of Rome Tor Vergata Bibliography Forecasting: principles and practice by Rob J Hyndman

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

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

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

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

Exponentially weighted forecasts

Exponentially weighted forecasts FORECASTING USING R Exponentially weighted forecasts Rob Hyndman Author, forecast Simple exponential smoothing Forecasting Notation: ŷ t+h t = y t+h y 1,...,y t point forecast of Forecast Equation: given

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

Exponential Smoothing. INSR 260, Spring 2009 Bob Stine

Exponential Smoothing. INSR 260, Spring 2009 Bob Stine Exponential Smoothing INSR 260, Spring 2009 Bob Stine 1 Overview Smoothing Exponential smoothing Model behind exponential smoothing Forecasts and estimates Hidden state model Diagnostic: residual plots

More information

Foundations - 1. Time-series Analysis, Forecasting. Temporal Information Retrieval

Foundations - 1. Time-series Analysis, Forecasting. Temporal Information Retrieval Foundations - 1 Time-series Analysis, Forecasting Temporal Information Retrieval Time Series An ordered sequence of values (data points) of variables at equally spaced time intervals Time Series Components

More information

Autoregressive Integrated Moving Average Model to Predict Graduate Unemployment in Indonesia

Autoregressive Integrated Moving Average Model to Predict Graduate Unemployment in Indonesia DOI 10.1515/ptse-2017-0005 PTSE 12 (1): 43-50 Autoregressive Integrated Moving Average Model to Predict Graduate Unemployment in Indonesia Umi MAHMUDAH u_mudah@yahoo.com (State Islamic University of Pekalongan,

More information

Complex exponential Smoothing. Ivan Svetunkov Nikolaos Kourentzes Robert Fildes

Complex exponential Smoothing. Ivan Svetunkov Nikolaos Kourentzes Robert Fildes Complex exponential Smoothing Ivan Svetunkov Nikolaos Kourentzes Robert Fildes 18 March 2015 Introduction Exponential Smoothing methods performed very well in many competitions: M-Competitions in 1982

More information

Time-Series analysis for wind speed forecasting

Time-Series analysis for wind speed forecasting Malaya Journal of Matematik, Vol. S, No. 1, 55-61, 2018 https://doi.org/10.26637/mjm0s01/11 Time-Series analysis for wind speed forecasting Garima Jain1 Abstract In this paper, an enormous amount of study

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

NATCOR. Forecast Evaluation. Forecasting with ARIMA models. Nikolaos Kourentzes

NATCOR. Forecast Evaluation. Forecasting with ARIMA models. Nikolaos Kourentzes NATCOR Forecast Evaluation Forecasting with ARIMA models Nikolaos Kourentzes n.kourentzes@lancaster.ac.uk O u t l i n e 1. Bias measures 2. Accuracy measures 3. Evaluation schemes 4. Prediction intervals

More information

Introduction to Statistical modeling: handout for Math 489/583

Introduction to Statistical modeling: handout for Math 489/583 Introduction to Statistical modeling: handout for Math 489/583 Statistical modeling occurs when we are trying to model some data using statistical tools. From the start, we recognize that no model is perfect

More information

A stochastic modeling for paddy production in Tamilnadu

A stochastic modeling for paddy production in Tamilnadu 2017; 2(5): 14-21 ISSN: 2456-1452 Maths 2017; 2(5): 14-21 2017 Stats & Maths www.mathsjournal.com Received: 04-07-2017 Accepted: 05-08-2017 M Saranyadevi Assistant Professor (GUEST), Department of Statistics,

More information

Improved the Forecasting of ANN-ARIMA Model Performance: A Case Study of Water Quality at the Offshore Kuala Terengganu, Terengganu, Malaysia

Improved the Forecasting of ANN-ARIMA Model Performance: A Case Study of Water Quality at the Offshore Kuala Terengganu, Terengganu, Malaysia Improved the Forecasting of ANN-ARIMA Model Performance: A Case Study of Water Quality at the Offshore Kuala Terengganu, Terengganu, Malaysia Muhamad Safiih Lola1 Malaysia- safiihmd@umt.edu.my Mohd Noor

More information

Time Series in R: Forecasting and Visualisation. Forecast evaluation 29 May 2017

Time Series in R: Forecasting and Visualisation. Forecast evaluation 29 May 2017 Time Series in R: Forecasting and Visualisation Forecast evaluation 29 May 2017 1 Outline 1 Forecasting residuals 2 Evaluating forecast accuracy 3 Forecasting benchmark methods 4 Lab session 7 5 Time series

More information

Automatic forecasting with a modified exponential smoothing state space framework

Automatic forecasting with a modified exponential smoothing state space framework ISSN 1440-771X Department of Econometrics and Business Statistics http://www.buseco.monash.edu.au/depts/ebs/pubs/wpapers/ Automatic forecasting with a modified exponential smoothing state space framework

More information

Lab: Box-Jenkins Methodology - US Wholesale Price Indicator

Lab: Box-Jenkins Methodology - US Wholesale Price Indicator Lab: Box-Jenkins Methodology - US Wholesale Price Indicator In this lab we explore the Box-Jenkins methodology by applying it to a time-series data set comprising quarterly observations of the US Wholesale

More information

STAT Financial Time Series

STAT Financial Time Series STAT 6104 - Financial Time Series Chapter 4 - Estimation in the time Domain Chun Yip Yau (CUHK) STAT 6104:Financial Time Series 1 / 46 Agenda 1 Introduction 2 Moment Estimates 3 Autoregressive Models (AR

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

Economic Forecasting Lecture 9: Smoothing Methods

Economic Forecasting Lecture 9: Smoothing Methods Economic Forecasting Lecture 9: Smoothing Methods Richard G. Pierse 1 Introduction Smoothing methods are rather different from the model-based methods that we have been looking at up to now in this module.

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

ARIMA Modelling and Forecasting

ARIMA Modelling and Forecasting ARIMA Modelling and Forecasting Economic time series often appear nonstationary, because of trends, seasonal patterns, cycles, etc. However, the differences may appear stationary. Δx t x t x t 1 (first

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

Seasonal Autoregressive Integrated Moving Average Model for Precipitation Time Series

Seasonal Autoregressive Integrated Moving Average Model for Precipitation Time Series Journal of Mathematics and Statistics 8 (4): 500-505, 2012 ISSN 1549-3644 2012 doi:10.3844/jmssp.2012.500.505 Published Online 8 (4) 2012 (http://www.thescipub.com/jmss.toc) Seasonal Autoregressive Integrated

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

DEPARTMENT OF QUANTITATIVE METHODS & INFORMATION SYSTEMS

DEPARTMENT OF QUANTITATIVE METHODS & INFORMATION SYSTEMS DEPARTMENT OF QUANTITATIVE METHODS & INFORMATION SYSTEMS Moving Averages and Smoothing Methods ECON 504 Chapter 7 Fall 2013 Dr. Mohammad Zainal 2 This chapter will describe three simple approaches to forecasting

More information

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

ECON/FIN 250: Forecasting in Finance and Economics: Section 8: Forecast Examples: Part 1 ECON/FIN 250: Forecasting in Finance and Economics: Section 8: Forecast Examples: Part 1 Patrick Herb Brandeis University Spring 2016 Patrick Herb (Brandeis University) Forecast Examples: Part 1 ECON/FIN

More information

STAT 100C: Linear models

STAT 100C: Linear models STAT 100C: Linear models Arash A. Amini June 9, 2018 1 / 21 Model selection Choosing the best model among a collection of models {M 1, M 2..., M N }. What is a good model? 1. fits the data well (model

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

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

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

THE ROYAL STATISTICAL SOCIETY 2009 EXAMINATIONS SOLUTIONS GRADUATE DIPLOMA MODULAR FORMAT MODULE 3 STOCHASTIC PROCESSES AND TIME SERIES THE ROYAL STATISTICAL SOCIETY 9 EXAMINATIONS SOLUTIONS GRADUATE DIPLOMA MODULAR FORMAT MODULE 3 STOCHASTIC PROCESSES AND TIME SERIES The Society provides these solutions to assist candidates preparing

More information

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

ARIMA modeling to forecast area and production of rice in West Bengal Journal of Crop and Weed, 9(2):26-31(2013) ARIMA modeling to forecast area and production of rice in West Bengal R. BISWAS AND B. BHATTACHARYYA Department of Agricultural Statistics Bidhan Chandra Krishi

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

Empirical Approach to Modelling and Forecasting Inflation in Ghana

Empirical Approach to Modelling and Forecasting Inflation in Ghana Current Research Journal of Economic Theory 4(3): 83-87, 2012 ISSN: 2042-485X Maxwell Scientific Organization, 2012 Submitted: April 13, 2012 Accepted: May 06, 2012 Published: June 30, 2012 Empirical Approach

More information

Statistics 203: Introduction to Regression and Analysis of Variance Course review

Statistics 203: Introduction to Regression and Analysis of Variance Course review Statistics 203: Introduction to Regression and Analysis of Variance Course review Jonathan Taylor - p. 1/?? Today Review / overview of what we learned. - p. 2/?? General themes in regression models Specifying

More information

FORECASTING THE INVENTORY LEVEL OF MAGNETIC CARDS IN TOLLING SYSTEM

FORECASTING THE INVENTORY LEVEL OF MAGNETIC CARDS IN TOLLING SYSTEM FORECASTING THE INVENTORY LEVEL OF MAGNETIC CARDS IN TOLLING SYSTEM Bratislav Lazić a, Nebojša Bojović b, Gordana Radivojević b*, Gorana Šormaz a a University of Belgrade, Mihajlo Pupin Institute, Serbia

More information

Chapter 3: Regression Methods for Trends

Chapter 3: Regression Methods for Trends Chapter 3: Regression Methods for Trends Time series exhibiting trends over time have a mean function that is some simple function (not necessarily constant) of time. The example random walk graph from

More information

A Comparison of Time Series Models for Forecasting Outbound Air Travel Demand *

A Comparison of Time Series Models for Forecasting Outbound Air Travel Demand * Journal of Aeronautics, Astronautics and Aviation, Series A, Vol.42, No.2 pp.073-078 (200) 73 A Comparison of Time Series Models for Forecasting Outbound Air Travel Demand * Yu-Wei Chang ** and Meng-Yuan

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

SCIENCE & TECHNOLOGY

SCIENCE & TECHNOLOGY Pertanika J. Sci. & Technol. 5 (3): 787-796 (017) SCIENCE & TECHNOLOGY Journal homepage: http://www.pertanika.upm.edu.my/ Combination of Forecasts with an Application to Unemployment Rate Muniroh, M. F.

More information

Exponential smoothing and non-negative data

Exponential smoothing and non-negative data Exponential smoothing and non-negative data 1 Exponential smoothing and non-negative data Muhammad Akram Rob J Hyndman J Keith Ord Business & Economic Forecasting Unit Exponential smoothing and non-negative

More information

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

ISSN Original Article Statistical Models for Forecasting Road Accident Injuries in Ghana. Available online at http://www.urpjournals.com International Journal of Research in Environmental Science and Technology Universal Research Publications. All rights reserved ISSN 2249 9695 Original Article

More information

EXPONENTIAL SMOOTHING MODELING AND FORECASTING FOR INCIDENCE OF TUBERCULOSIS IN INDIA

EXPONENTIAL SMOOTHING MODELING AND FORECASTING FOR INCIDENCE OF TUBERCULOSIS IN INDIA Global and Stochastic analysis Special Issue: 25th International Conference of Forum for Interdisciplinary Mathematics EXPONENTIAL SMOOTHING MODELING AND FORECASTING FOR INCIDENCE OF TUBERCULOSIS IN INDIA

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

Bayesian Gaussian / Linear Models. Read Sections and 3.3 in the text by Bishop

Bayesian Gaussian / Linear Models. Read Sections and 3.3 in the text by Bishop Bayesian Gaussian / Linear Models Read Sections 2.3.3 and 3.3 in the text by Bishop Multivariate Gaussian Model with Multivariate Gaussian Prior Suppose we model the observed vector b as having a multivariate

More information

A new approach to forecasting based on exponential smoothing with independent regressors

A new approach to forecasting based on exponential smoothing with independent regressors ISSN 1440-771X Australia Department of Econometrics and Business Statistics http://wwwbusecomonasheduau/depts/ebs/pubs/wpapers/ A new approach to forecasting based on exponential smoothing with independent

More information

Econometrics I: Univariate Time Series Econometrics (1)

Econometrics I: Univariate Time Series Econometrics (1) Econometrics I: Dipartimento di Economia Politica e Metodi Quantitativi University of Pavia Overview of the Lecture 1 st EViews Session VI: Some Theoretical Premises 2 Overview of the Lecture 1 st EViews

More information

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

Comparing the Univariate Modeling Techniques, Box-Jenkins and Artificial Neural Network (ANN) for Measuring of Climate Index Applied Mathematical Sciences, Vol. 8, 2014, no. 32, 1557-1568 HIKARI Ltd, www.m-hikari.com http://dx.doi.org/10.12988/ams.2014.4150 Comparing the Univariate Modeling Techniques, Box-Jenkins and Artificial

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

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

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

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

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

NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER II EXAMINATION MAS451/MTH451 Time Series Analysis TIME ALLOWED: 2 HOURS NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER II EXAMINATION 2012-2013 MAS451/MTH451 Time Series Analysis May 2013 TIME ALLOWED: 2 HOURS INSTRUCTIONS TO CANDIDATES 1. This examination paper contains FOUR (4)

More information

Forecasting with Exponential Smoothing

Forecasting with Exponential Smoothing Springer Series in Statistics Forecasting with Exponential Smoothing The State Space Approach Bearbeitet von Rob Hyndman, Anne B Koehler, J. Keith Ord, Ralph D Snyder 1. Auflage 2008. Taschenbuch. xiii,

More information

How the mean changes depends on the other variable. Plots can show what s happening...

How the mean changes depends on the other variable. Plots can show what s happening... Chapter 8 (continued) Section 8.2: Interaction models An interaction model includes one or several cross-product terms. Example: two predictors Y i = β 0 + β 1 x i1 + β 2 x i2 + β 12 x i1 x i2 + ɛ i. How

More information

LOAD FORECASTING APPLICATIONS for THE ENERGY SECTOR

LOAD FORECASTING APPLICATIONS for THE ENERGY SECTOR LOAD FORECASTING APPLICATIONS for THE ENERGY SECTOR Boris Bizjak, Univerza v Mariboru, FERI 26.2.2016 1 A) Short-term load forecasting at industrial plant Ravne: Load forecasting using linear regression,

More information

Data %>% Power %>% R You ready?

Data %>% Power %>% R You ready? Data %>% Power %>% R You ready? R a powerful open source programming language available in the database as Oracle R Enterprise that lets you do virtually anything Especially (but not only) Statistics Machine

More information

Problem Set 2: Box-Jenkins methodology

Problem Set 2: Box-Jenkins methodology Problem Set : Box-Jenkins methodology 1) For an AR1) process we have: γ0) = σ ε 1 φ σ ε γ0) = 1 φ Hence, For a MA1) process, p lim R = φ γ0) = 1 + θ )σ ε σ ε 1 = γ0) 1 + θ Therefore, p lim R = 1 1 1 +

More information

Minimum Description Length (MDL)

Minimum Description Length (MDL) Minimum Description Length (MDL) Lyle Ungar AIC Akaike Information Criterion BIC Bayesian Information Criterion RIC Risk Inflation Criterion MDL u Sender and receiver both know X u Want to send y using

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

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

FORECASTING YIELD PER HECTARE OF RICE IN ANDHRA PRADESH

FORECASTING YIELD PER HECTARE OF RICE IN ANDHRA PRADESH International Journal of Mathematics and Computer Applications Research (IJMCAR) ISSN 49-6955 Vol. 3, Issue 1, Mar 013, 9-14 TJPRC Pvt. Ltd. FORECASTING YIELD PER HECTARE OF RICE IN ANDHRA PRADESH R. RAMAKRISHNA

More information

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

A Procedure for Identification of Appropriate State Space and ARIMA Models Based on Time-Series Cross-Validation algorithms Article A Procedure for Identification of Appropriate State Space and ARIMA Models Based on Time-Series Cross-Validation Patrícia Ramos 1,2, * and José Manuel Oliveira 1,3 1 INESC Technology

More information

More About Exponential Smoothing

More About Exponential Smoothing More About Exponential Smoothing There is a wealth of methods and literature for the task of time series forecasting. A very good overview and access to methods that are simple to handle can be found here:

More information

Estimating AR/MA models

Estimating AR/MA models September 17, 2009 Goals The likelihood estimation of AR/MA models AR(1) MA(1) Inference Model specification for a given dataset Why MLE? Traditional linear statistics is one methodology of estimating

More information

FORECASTING COARSE RICE PRICES IN BANGLADESH

FORECASTING COARSE RICE PRICES IN BANGLADESH Progress. Agric. 22(1 & 2): 193 201, 2011 ISSN 1017-8139 FORECASTING COARSE RICE PRICES IN BANGLADESH M. F. Hassan*, M. A. Islam 1, M. F. Imam 2 and S. M. Sayem 3 Department of Agricultural Statistics,

More information

interval forecasting

interval forecasting Interval Forecasting Based on Chapter 7 of the Time Series Forecasting by Chatfield Econometric Forecasting, January 2008 Outline 1 2 3 4 5 Terminology Interval Forecasts Density Forecast Fan Chart Most

More information

STRUCTURAL TIME-SERIES MODELLING

STRUCTURAL TIME-SERIES MODELLING 1: Structural Time-Series Modelling STRUCTURAL TIME-SERIES MODELLING Prajneshu Indian Agricultural Statistics Research Institute, New Delhi-11001 1. Introduction. ARIMA time-series methodology is widely

More information

FORECASTING FLUCTUATIONS OF ASPHALT CEMENT PRICE INDEX IN GEORGIA

FORECASTING FLUCTUATIONS OF ASPHALT CEMENT PRICE INDEX IN GEORGIA FORECASTING FLUCTUATIONS OF ASPHALT CEMENT PRICE INDEX IN GEORGIA Mohammad Ilbeigi, Baabak Ashuri, Ph.D., and Yang Hui Economics of the Sustainable Built Environment (ESBE) Lab, School of Building Construction

More information

Lecture 7: Exponential Smoothing Methods Please read Chapter 4 and Chapter 2 of MWH Book

Lecture 7: Exponential Smoothing Methods Please read Chapter 4 and Chapter 2 of MWH Book Lecture 7: Exponential Smoothing Methods Please read Chapter 4 and Chapter 2 of MWH Book 1 Big Picture 1. In lecture 6, smoothing (averaging) method is used to estimate the trend-cycle (decomposition)

More information

Multiplicative Winter s Smoothing Method

Multiplicative Winter s Smoothing Method Multiplicative Winter s Smoothing Method LECTURE 6 TIME SERIES FORECASTING METHOD rahmaanisa@apps.ipb.ac.id Review What is the difference between additive and multiplicative seasonal pattern in time series

More information

A SARIMAX coupled modelling applied to individual load curves intraday forecasting

A SARIMAX coupled modelling applied to individual load curves intraday forecasting A SARIMAX coupled modelling applied to individual load curves intraday forecasting Frédéric Proïa Workshop EDF Institut Henri Poincaré - Paris 05 avril 2012 INRIA Bordeaux Sud-Ouest Institut de Mathématiques

More information

DEPARTMENT OF ECONOMETRICS AND BUSINESS STATISTICS

DEPARTMENT OF ECONOMETRICS AND BUSINESS STATISTICS ISSN 1440-771X AUSTRALIA DEPARTMENT OF ECONOMETRICS AND BUSINESS STATISTICS Empirical Information Criteria for Time Series Forecasting Model Selection Md B Billah, R.J. Hyndman and A.B. Koehler Working

More information

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

Forecasting using R. Rob J Hyndman. 3.2 Dynamic regression. Forecasting using R 1 Forecasting using R Rob J Hyndman 3.2 Dynamic regression Forecasting using R 1 Outline 1 Regression with ARIMA errors 2 Stochastic and deterministic trends 3 Periodic seasonality 4 Lab session 14 5 Dynamic

More information

Week 2 Video 4. Metrics for Regressors

Week 2 Video 4. Metrics for Regressors Week 2 Video 4 Metrics for Regressors Metrics for Regressors Linear Correlation MAE/RMSE Information Criteria Linear correlation (Pearson s correlation) r(a,b) = When A s value changes, does B change in

More information

Step 2: Select Analyze, Mixed Models, and Linear.

Step 2: Select Analyze, Mixed Models, and Linear. Example 1a. 20 employees were given a mood questionnaire on Monday, Wednesday and again on Friday. The data will be first be analyzed using a Covariance Pattern model. Step 1: Copy Example1.sav data file

More information

Week 5 Quantitative Analysis of Financial Markets Modeling and Forecasting Trend

Week 5 Quantitative Analysis of Financial Markets Modeling and Forecasting Trend Week 5 Quantitative Analysis of Financial Markets Modeling and Forecasting Trend Christopher Ting http://www.mysmu.edu/faculty/christophert/ Christopher Ting : christopherting@smu.edu.sg : 6828 0364 :

More information

Product and Inventory Management (35E00300) Forecasting Models Trend analysis

Product and Inventory Management (35E00300) Forecasting Models Trend analysis Product and Inventory Management (35E00300) Forecasting Models Trend analysis Exponential Smoothing Data Storage Shed Sales Period Actual Value(Y t ) Ŷ t-1 α Y t-1 Ŷ t-1 Ŷ t January 10 = 10 0.1 February

More information

Lecture 16: ARIMA / GARCH Models Steven Skiena. skiena

Lecture 16: ARIMA / GARCH Models Steven Skiena.  skiena Lecture 16: ARIMA / GARCH Models Steven Skiena Department of Computer Science State University of New York Stony Brook, NY 11794 4400 http://www.cs.sunysb.edu/ skiena Moving Average Models A time series

More information

Electric Load Forecasting Using Wavelet Transform and Extreme Learning Machine

Electric Load Forecasting Using Wavelet Transform and Extreme Learning Machine Electric Load Forecasting Using Wavelet Transform and Extreme Learning Machine Song Li 1, Peng Wang 1 and Lalit Goel 1 1 School of Electrical and Electronic Engineering Nanyang Technological University

More information

SARIMA-ELM Hybrid Model for Forecasting Tourist in Nepal

SARIMA-ELM Hybrid Model for Forecasting Tourist in Nepal Volume-03 Issue-07 July-2018 ISSN: 2455-3085 (Online) www.rrjournals.com [UGC Listed Journal] SARIMA-ELM Hybrid Model for Forecasting Tourist in Nepal *1 Kadek Jemmy Waciko & 2 Ismail B *1 Research Scholar,

More information

Decision 411: Class 4

Decision 411: Class 4 Decision 411: Class 4 Non-seasonal averaging & smoothing models Simple moving average (SMA) model Simple exponential smoothing (SES) model Linear exponential smoothing (LES) model Combining seasonal adjustment

More information

Forecasting Module 2. Learning Objectives. Trended Data. By Sue B. Schou Phone:

Forecasting Module 2. Learning Objectives. Trended Data. By Sue B. Schou Phone: Forecasting Module 2 By Sue B. Schou Phone: 8-282-408 Email: schosue@isu.edu Learning Objectives Make forecast models using trend analysis in Minitab Make forecast models using Holt s exponential smoothing

More information

Advanced Econometrics

Advanced Econometrics Advanced Econometrics Marco Sunder Nov 04 2010 Marco Sunder Advanced Econometrics 1/ 25 Contents 1 2 3 Marco Sunder Advanced Econometrics 2/ 25 Music Marco Sunder Advanced Econometrics 3/ 25 Music Marco

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

CHAPTER 4: DATASETS AND CRITERIA FOR ALGORITHM EVALUATION

CHAPTER 4: DATASETS AND CRITERIA FOR ALGORITHM EVALUATION CHAPTER 4: DATASETS AND CRITERIA FOR ALGORITHM EVALUATION 4.1 Overview This chapter contains the description about the data that is used in this research. In this research time series data is used. A time

More information

Package TimeSeries.OBeu

Package TimeSeries.OBeu Type Package Package TimeSeries.OBeu Title Time Series Analysis 'OpenBudgets' Version 1.2.2 Date 2018-01-20 January 22, 2018 Estimate and return the needed parameters for visualisations designed for 'OpenBudgets'

More information

Regression, Ridge Regression, Lasso

Regression, Ridge Regression, Lasso Regression, Ridge Regression, Lasso Fabio G. Cozman - fgcozman@usp.br October 2, 2018 A general definition Regression studies the relationship between a response variable Y and covariates X 1,..., X n.

More information

Applied Forecasting (LECTURENOTES) Prof. Rozenn Dahyot

Applied Forecasting (LECTURENOTES) Prof. Rozenn Dahyot Applied Forecasting (LECTURENOTES) Prof. Rozenn Dahyot SCHOOL OF COMPUTER SCIENCE AND STATISTICS TRINITY COLLEGE DUBLIN IRELAND https://www.scss.tcd.ie/rozenn.dahyot Michaelmas Term 2017 Contents 1 Introduction

More information

Forecasting Unemployment Rates in the UK and EU

Forecasting Unemployment Rates in the UK and EU Forecasting Unemployment Rates in the UK and EU Team B9 Rajesh Manivannan (61710602) Kartick B Muthiah (61710764) Debayan Das (61710492) Devesh Kumar (61710353) Chirag Bhardwaj (61710812) Sreeharsha Konga

More information

BUSI 460 Suggested Answers to Selected Review and Discussion Questions Lesson 7

BUSI 460 Suggested Answers to Selected Review and Discussion Questions Lesson 7 BUSI 460 Suggested Answers to Selected Review and Discussion Questions Lesson 7 1. The definitions follow: (a) Time series: Time series data, also known as a data series, consists of observations on a

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

Comment about AR spectral estimation Usually an estimate is produced by computing the AR theoretical spectrum at (ˆφ, ˆσ 2 ). With our Monte Carlo

Comment about AR spectral estimation Usually an estimate is produced by computing the AR theoretical spectrum at (ˆφ, ˆσ 2 ). With our Monte Carlo Comment aout AR spectral estimation Usually an estimate is produced y computing the AR theoretical spectrum at (ˆφ, ˆσ 2 ). With our Monte Carlo simulation approach, for every draw (φ,σ 2 ), we can compute

More information

STATS24x7.com 2010 ADI NV, INC.

STATS24x7.com 2010 ADI NV, INC. TIME SERIES SIMPLE EXPONENTIAL SMOOTHING If the mean of y t remains constant over n time, each observation gets equal weight: y ˆ t1 yt 0 et, 0 y n t 1 If the mean of y t changes slowly over time, recent

More information

Department of Econometrics and Business Statistics

Department of Econometrics and Business Statistics ISSN 1440-771X Australia Department of Econometrics and Business Statistics http://www.buseco.monash.edu.au/depts/ebs/pubs/wpapers/ Exponential Smoothing: A Prediction Error Decomposition Principle Ralph

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

Bachelor thesis. Forecasting inflation in Sweden - A univariate approach. Eva Huselius and Linn Wallén

Bachelor thesis. Forecasting inflation in Sweden - A univariate approach. Eva Huselius and Linn Wallén Bachelor thesis Department of Statistics Kandidatuppsats, Statistiska Institutionen Nr 2014:11 Forecasting inflation in Sweden - A univariate approach Eva Huselius and Linn Wallén Bachelor thesis 15 HE

More information