Serie temporali: previsioni

Size: px
Start display at page:

Download "Serie temporali: previsioni"

Transcription

1 A. A Serie temporali: previsioni prof. ing. Antonio Comi Department of Enterprise Engineering University of Rome Tor Vergata

2 Bibliography Forecasting: principles and practice by Rob J Hyndman (Author), George Athanasopoulos (Author) 2

3 The R Project for Statistical Computing 3

4 Serie temporali: previsione ŷ Al tempo T prevediamo valori futuri T h / T assunti dalla variabile y dopo h future realizzazioni, sulla base dei valori y 1,,y T assunti fino a T 4

5 Forecasting with classical decomposition Example of forecasting with classical decomposition The time series includes 8 successive periods Monday Friday of Bus travel time in 30 minute intervals of line 343 ( see following slides). We want forecast values between 14:15 of Wednesday and 22:45 of Friday in the last period and compare them with observed data. To forecast the decomposed time series, we separately forecast the seasonal component, Ŝ t, and the trend/cyclic component ˆT. t The forecasted seasonal component is assumed equal to the seasonal component of last Monday-Friday period. The forecasted trend/cyclic component is assumed equal the decomposed value of 14:15 of Wednesday 5

6 Forecasting with classical decomposition Example classical decomposition Travel time line 343 from Ponte Mammolo to Conca d Oro Travel time to be forecasted 6

7 Forecasting with STL decomposition Example: forecasted and observed values time interval trend component seasonal component forecasts data observed ,9 32,7 2447,6 2802, ,9 74,0 2488,9 2589, ,9 97,3 2512,2 2446, ,9 257,1 2671,9 2549, ,9 387,1 2801,9 2643, ,9 405,2 2820,1 2612, ,9 197,4 2612,3 2572, ,9 310,8 2725,6 2551, ,9 203,0 2617,9 2433, ,9 275,0 2689,9 2552, ,9 193,1 2608,0 2453, ,9-48,4 2366,5 2257, ,9-431,3 1983,5 1845, ,9-541,7 1873,2 1843, ,9-641,4 1773,4 1730, ,9-728,1 1686,8 1617, ,9-784,5 1630,4 1575, ,9-842,8 1572,1 1531, ,9-887,4 1527,4 1712, ,9-804,1 1610,7 1696, ,9-470,1 1944,8 1905, ,9-153,5 2261,3 2272,0 7

8 Forecasting with classical decomposition Example forecasted and observed values Travel time line 343 from Ponte Mammolo to Conca d Oro 8

9 Evaluation forecast accuracy Forecast accuracy measures Training and test sets Cross-validation (non trattato) 9

10 Evaluation forecast accuracy [1/2] Forecast accuracy measures Let y i denote the i-th observation and denote a forecast of y i. ŷ i Scale-dependent errors. The forecast error is simply which is on the same scale as the data. e y ˆy i i i Accuracy measures that are based on e i are therefore scale-dependent and cannot be used to make comparisons between series that are on different scales. The two most commonly used scale-dependent measures are based on the absolute errors or squared errors : e 2 i e i When comparing forecast methods on a single data set, the MAE is popular as it is easy to understand and compute. Mean absolute error: MAE = mean e Root mean squared error: RMSE= mean i e 2 i 10

11 Evaluation forecast accuracy [2/2] Forecast accuracy measures Percentage errors. The percentage error is given by p 100e y i i i Percentage errors have the advantage of being scale-independent, and so are frequently used to compare forecast performance between different data sets. The most commonly used measure is: Mean absolute percentage error: MAPE = mean Measures based on percentage errors have the disadvantage of being infinite or undefined if y i =0 for any i in the period of interest, and having extreme values when any y i is close to zero. Another problem with percentage errors that is often overlooked is that they assume a meaningful zero. For example, a percentage error makes no sense when measuring the accuracy of temperature forecasts on the Fahrenheit or Celsius scales pi 11

12 Evaluation forecast accuracy Example: forecast errors Travel time line 343 from Ponte Mammolo to Conca d Oro time interval of the day of analysis forecasted trend component seasonal component forecasts data observed e i ABS(e i ) e 2 i p i ABS(p i ) ,7-49,6 2466,1 2802,0 335,9 335, ,6 12% 12% ,7 31,5 2547,2 2589,0 41,8 41,8 1747,5 2% 2% ,7 62,6 2578,4 2446,0-132,4 132, ,6-5% 5% ,7 271,2 2786,9 2549,0-237,9 237, ,4-9% 9% ,7 482,9 2998,7 2643,0-355,7 355, ,3-13% 13% ,7 550,4 3066,2 2612,0-454,2 454, ,4-17% 17% ,7 592,6 3108,4 2572,0-536,4 536, ,3-21% 21% ,7 725,0 3240,7 2551,0-689,7 689, ,2-27% 27% ,7 532,0 3047,8 2433,0-614,8 614, ,0-25% 25% ,7 415,1 2930,8 2552,0-378,8 378, ,7-15% 15% ,7 281,8 2797,5 2453,0-344,5 344, ,0-14% 14% ,7-45,4 2470,4 2257,0-213,4 213, ,6-9% 9% ,7-434,0 2081,7 1845,0-236,7 236, ,9-13% 13% ,7-559,1 1956,6 1843,0-113,6 113, ,2-6% 6% ,7-656,5 1859,3 1730,0-129,3 129, ,1-7% 7% ,7-738,6 1777,2 1617,0-160,2 160, ,4-10% 10% ,7-797,7 1718,0 1575,0-143,0 143, ,1-9% 9% ,7-858,8 1656,9 1531,0-125,9 125, ,7-8% 8% ,7-938,4 1577,3 1712,0 134,7 134, ,7 8% 8% ,7-846,3 1669,4 1696,0 26,6 26,6 706,6 2% 2% ,7-483,5 2032,3 1905,0-127,3 127, ,8-7% 7% ,7-183,8 2332,0 2272,0-60,0 60,0 3598,0-3% 3% MAE 234,4 RMSE 284,8 MAPE 10% 12

13 Evaluation forecast accuracy Training and test sets When choosing models, it is common to use a portion of the available data for fitting, and use the rest of the data for testing the model. Then, the testing data can be used to measure how well the model is likely to forecast on new data. The size of the test set is typically about 20% of the total sample, although this value depends on how long the sample is and how far ahead you want to forecast. The size of the test set should ideally be at least as large as the maximum forecast horizon required. 13

14 Evaluation forecast accuracy Cross-validation Non trattato 14

15 Residual diagnostics [1/5] A residual in forecasting is the difference between an observed value and its forecast based on other observations: e y ˆy i i i For time series forecasting, a residual is based on one-step forecasts; that is is the forecast of y t based on observations y 1,,y t 1. ŷ i 15

16 Residual diagnostics [2/5] A good forecasting method will yield residuals with the following properties: the residuals are uncorrelated. If there are correlations between residuals, then there is information left in the residuals which should be used in computing forecasts. the residuals have zero mean. If the residuals have a mean other than zero, then the forecasts are biased. 16

17 Residual diagnostics [3/5] Any forecasting method that does not satisfy these properties can be improved. That does not mean that forecasting methods that satisfy these properties can not be improved. It is possible to have several forecasting methods for the same data set, all of which satisfy these properties. Checking these properties is important to see if a method is using all available information well, but it is not a good way for selecting a forecasting method. 17

18 Residual diagnostics [4/5] If either of these two properties is not satisfied, then the forecasting method can be modified to give better forecasts. Adjusting for bias is easy: if the residuals have mean m, then simply add m to all forecasts and the bias problem is solved. Fixing the correlation problem is harder and we will address it other lections. In addition to these essential properties, it is useful (but not necessary) for the residuals to also have the following two properties. The residuals have constant variance. The residuals are normally distributed. 18

19 Residual diagnostics [5/5] These two properties make the calculation of prediction intervals easier (see the next section for an example). However, a forecasting method that does not satisfy these properties cannot necessarily be improved. Sometimes applying a transformation such as a logarithm or a square root may assist with these properties, but otherwise there is usually little you can do to ensure your residuals have constant variance and have a normal distribution. Instead, an alternative approach to finding prediction intervals is necessary. 19

20 Residual diagnostics Example of residual diagnostic for previous forecast Average e i s -61,1 278,1 r k ,80 0,55 0,23 0,15 20

21 Residual diagnostics Example of residual diagnostic for previous forecast In this example the error bias = - 61,1 seconds and the errors are strongly correlated Therefore, potentially a better forecasting method could be found 21

22 Prediction intervals It gives an interval within which we expect y i to lie with a specified probability. For example, assuming the forecast errors are uncorrelated and normally distributed, then a simple 95% prediction interval for the next observation in a time series is ŝ ˆy ˆ s i where is an estimate of the standard deviation of the forecast distribution. In forecasting, it is common to calculate 80% intervals and 95% intervals, although any percentage may be used. In the previous example, the prediction intervals are equal to +/- 545,1 sec., but consider that the errors are correlated. 22

23 A. A APPENDICE A Other forecast accuracy measures 23

24 Evaluation forecast accuracy Forecast accuracy measures They also have the disadvantage that they put a heavier penalty on negative errors than on positive errors. This observation led to the use of the so-called "symmetric" MAPE (smape) It is defined by smape = mean 200 y i yi yi yi ˆ ˆ ŷ i However, if y i is close to zero, is also likely to be close to zero. Thus, the measure still involves division by a number close to zero, making the calculation unstable. Also, the value of smape can be negative, so it is not really a measure of absolute percentage errors at all. 24

25 Evaluation forecast accuracy [1/4] Forecast accuracy measures Scaled errors Scaled errors were proposed as an alternative to using percentage errors when comparing forecast accuracy across series on different scales. They proposed scaling the errors based on the training MAE from a simple forecast method. For a non-seasonal time series, a useful way to define a scaled error uses naïve forecasts: q j T 1 T e j y y t t1 1 t2 25

26 Forecast accuracy measures [2/4] Scaled errors Because the numerator and denominator both involve values on the scale of the original data, q j is independent of the scale of the data. A scaled error is less than one if it arises from a better forecast than the average naïve forecast computed on the training data. Conversely, it is greater than one if the forecast is worse than the average naïve forecast computed on the training data. For seasonal time series, a scaled error can be defined using seasonal naïve forecasts: q j T T 1 yt yt m m tm1 e j 26

27 Forecast accuracy measures [3/4] Scaled errors For cross-sectional data, a scaled error can be defined as q j e j N 1 yt y N t 1 In this case, the comparison is with the mean forecast. (This doesn't work so well for time series data as there may be trends and other patterns in the data, making the mean a poor comparison. Hence, the naïve forecast is recommended when using time series data.) 27

28 Evaluation forecast accuracy [4/4] Scaled errors Mean absolute scaled error is simply MASE mean q j Similarly, the mean squared scaled error (MSSE) can be defined where the errors (on the training data and test data) are squared instead of using absolute values. 28

Serie temporali: analisi e decomposizione

Serie temporali: analisi e decomposizione A. A. 2016-2017 Serie temporali: analisi e decomposizione prof. ing. Antonio Comi Department of Enterprise Engineering University of Rome Tor Vergata Bibliography Forecasting: principles and practice by

More information

Time Series Forecasting Methods:

Time Series Forecasting Methods: 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 Classificazione dei metodi

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

Lecture 1: Introduction to Forecasting

Lecture 1: Introduction to Forecasting NATCOR: Forecasting & Predictive Analytics Lecture 1: Introduction to Forecasting Professor John Boylan Lancaster Centre for Forecasting Department of Management Science Leading research centre in applied

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

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

Another look at measures of forecast accuracy

Another look at measures of forecast accuracy International Journal of Forecasting 22 (2006) 679 688 www.elsevier.com/locate/ijforecast Another look at measures of forecast accuracy Rob J. Hyndman a, *, Anne B. Koehler b,1 a Department of Econometrics

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

Holiday Demand Forecasting

Holiday Demand Forecasting Holiday Demand Forecasting Yue Li Senior Research Statistician Developer SAS #AnalyticsX Outline Background Holiday demand modeling techniques Weekend day Holiday dummy variable Two-stage methods Results

More information

Package Tcomp. June 6, 2018

Package Tcomp. June 6, 2018 Package Tcomp June 6, 2018 Title Data from the 2010 Tourism Forecasting Competition Version 1.0.1 The 1311 time series from the tourism forecasting competition conducted in 2010 and described in Athanasopoulos

More information

Forecasting in Hierarchical Models

Forecasting in Hierarchical Models Forecasting in Hierarchical Models Lucy Morgan Supervisor: Nikolaos Kourentzes 20 th February 2015 Introduction Forecasting is the process of making statements about events whose actual outcomes (typically)

More information

Available online Journal of Scientific and Engineering Research, 2015, 2(2): Research Article

Available online   Journal of Scientific and Engineering Research, 2015, 2(2): Research Article Available online www.jsaer.com,, ():- Research Article ISSN: - CODEN(USA): JSERBR Measuring the Forecasting Accuracy for Masters Energy Oil and Gas Products Ezeliora Chukwuemeka D, Umeh Maryrose N, Mbabuike

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

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

Forecasting. Operations Analysis and Improvement Spring

Forecasting. Operations Analysis and Improvement Spring Forecasting Operations Analysis and Improvement 2015 Spring Dr. Tai-Yue Wang Industrial and Information Management Department National Cheng Kung University 1-2 Outline Introduction to Forecasting Subjective

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

Visualization of distance measures implied by forecast evaluation criteria

Visualization of distance measures implied by forecast evaluation criteria Visualization of distance measures implied by forecast evaluation criteria Robert M. Kunst kunst@ihs.ac.at Institute for Advanced Studies Vienna and University of Vienna Presentation at RSS International

More information

Chapter 7. Development of a New Method for measuring Forecast Accuracy

Chapter 7. Development of a New Method for measuring Forecast Accuracy Chapter 7 Development of a New Method for measuring Forecast Accuracy 7.1 INTRODUCTION Periodical review of current level of forecast is vital for deciding the appropriateness for the given forecast accuracy

More information

A Wavelet Based Prediction Method for Time Series

A Wavelet Based Prediction Method for Time Series Cristina Stolojescu Alexandru Isar Politehnica University Timisoara, Romania Ion Railean Technical University Cluj-Napoca, Romania Sorin Moga Philippe Lenca Institut TELECOM, TELECOM Bretagne, France Stochastic

More information

Minitab Project Report - Assignment 6

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

More information

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

Modelling Wind Farm Data and the Short Term Prediction of Wind Speeds

Modelling Wind Farm Data and the Short Term Prediction of Wind Speeds Modelling Wind Farm Data and the Short Term Prediction of Wind Speeds An Investigation into Wind Speed Data Sets Erin Mitchell Lancaster University 6th April 2011 Outline 1 Data Considerations Overview

More information

DEPARTMENT OF ECONOMETRICS AND BUSINESS STATISTICS

DEPARTMENT OF ECONOMETRICS AND BUSINESS STATISTICS ISSN 1440-771X ISBN 0 7326 1085 0 Unmasking the Theta Method Rob J. Hyndman and Baki Billah Working Paper 5/2001 2001 DEPARTMENT OF ECONOMETRICS AND BUSINESS STATISTICS AUSTRALIA Unmasking the Theta method

More information

The value of feedback in forecasting competitions

The value of feedback in forecasting competitions ISSN 1440-771X Department of Econometrics and Business Statistics http://www.buseco.monash.edu.au/depts/ebs/pubs/wpapers/ The value of feedback in forecasting competitions George Athanasopoulos and Rob

More information

Forecasting hierarchical (and grouped) time series

Forecasting hierarchical (and grouped) time series George Athanasopoulos (with Rob J. Hyndman, Nikos Kourentzes and Fotis Petropoulos) Forecasting hierarchical (and grouped) time series Total A B C AA AB AC BA BB BC CA CB CC 1 Outline 1 Hierarchical and

More information

Modified Holt s Linear Trend Method

Modified Holt s Linear Trend Method Modified Holt s Linear Trend Method Guckan Yapar, Sedat Capar, Hanife Taylan Selamlar and Idil Yavuz Abstract Exponential smoothing models are simple, accurate and robust forecasting models and because

More information

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

A time series is called strictly stationary if the joint distribution of every collection (Y t 5 Time series A time series is a set of observations recorded over time. You can think for example at the GDP of a country over the years (or quarters) or the hourly measurements of temperature over a

More information

Thank you for taking part in this survey! You will be asked about whether or not you follow certain forecasting practices.

Thank you for taking part in this survey! You will be asked about whether or not you follow certain forecasting practices. 23.08.13 13:21 INFORMED CONSENT Thank you for taking part in this survey! You will be asked about whether or not you certain forecasting practices. Your responses are anonymous. Results will be published

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

Do we need Experts for Time Series Forecasting?

Do we need Experts for Time Series Forecasting? Do we need Experts for Time Series Forecasting? Christiane Lemke and Bogdan Gabrys Bournemouth University - School of Design, Engineering and Computing Poole House, Talbot Campus, Poole, BH12 5BB - United

More information

Parking Occupancy Prediction and Pattern Analysis

Parking Occupancy Prediction and Pattern Analysis Parking Occupancy Prediction and Pattern Analysis Xiao Chen markcx@stanford.edu Abstract Finding a parking space in San Francisco City Area is really a headache issue. We try to find a reliable way to

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

Chapter 13: Forecasting

Chapter 13: Forecasting Chapter 13: Forecasting Assistant Prof. Abed Schokry Operations and Productions Management First Semester 2013-2014 Chapter 13: Learning Outcomes You should be able to: List the elements of a good forecast

More information

A Constructive-Fuzzy System Modeling for Time Series Forecasting

A Constructive-Fuzzy System Modeling for Time Series Forecasting A Constructive-Fuzzy System Modeling for Time Series Forecasting I. Luna 1, R. Ballini 2 and S. Soares 1 {iluna,dino}@cose.fee.unicamp.br, ballini@eco.unicamp.br 1 Department of Systems, School of Electrical

More information

Improved Holt Method for Irregular Time Series

Improved Holt Method for Irregular Time Series WDS'08 Proceedings of Contributed Papers, Part I, 62 67, 2008. ISBN 978-80-7378-065-4 MATFYZPRESS Improved Holt Method for Irregular Time Series T. Hanzák Charles University, Faculty of Mathematics and

More information

An Evaluation of Methods for Combining Univariate Time Series Forecasts

An Evaluation of Methods for Combining Univariate Time Series Forecasts An Evaluation of Methods for Combining Univariate Time Series Forecasts Magnus Svensson Bachelor s thesis in Statistics 15 ECTS credits April 2018 Supervised by Jonas Wallin Department of Statistics Lund

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

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

Any of 27 linear and nonlinear models may be fit. The output parallels that of the Simple Regression procedure.

Any of 27 linear and nonlinear models may be fit. The output parallels that of the Simple Regression procedure. STATGRAPHICS Rev. 9/13/213 Calibration Models Summary... 1 Data Input... 3 Analysis Summary... 5 Analysis Options... 7 Plot of Fitted Model... 9 Predicted Values... 1 Confidence Intervals... 11 Observed

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

Package Metrics. November 3, 2017

Package Metrics. November 3, 2017 Version 0.1.3 Title Evaluation Metrics for Machine Learning Package Metrics November 3, 2017 An implementation of evaluation metrics in R that are commonly used in supervised machine learning. It implements

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

GL Garrad Hassan Short term power forecasts for large offshore wind turbine arrays

GL Garrad Hassan Short term power forecasts for large offshore wind turbine arrays GL Garrad Hassan Short term power forecasts for large offshore wind turbine arrays Require accurate wind (and hence power) forecasts for 4, 24 and 48 hours in the future for trading purposes. Receive 4

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

Linear Regression 9/23/17. Simple linear regression. Advertising sales: Variance changes based on # of TVs. Advertising sales: Normal error?

Linear Regression 9/23/17. Simple linear regression. Advertising sales: Variance changes based on # of TVs. Advertising sales: Normal error? Simple linear regression Linear Regression Nicole Beckage y " = β % + β ' x " + ε so y* " = β+ % + β+ ' x " Method to assess and evaluate the correlation between two (continuous) variables. The slope of

More information

Time Series Forecasting Methods

Time Series Forecasting Methods Time Series Forecasting Methods Nate Derby Statis Pro Data Analytics Seattle, WA, USA Edmonton SAS Users Group, 11/13/09 Nate Derby Time Series Forecasting Methods 1 / 43 Outline Introduction 1 Introduction

More information

CHAPTER 1: Decomposition Methods

CHAPTER 1: Decomposition Methods CHAPTER 1: Decomposition Methods Prof. Alan Wan 1 / 48 Table of contents 1. Data Types and Causal vs.time Series Models 2 / 48 Types of Data Time series data: a sequence of observations measured over time,

More information

State Feedback and State Estimators Linear System Theory and Design, Chapter 8.

State Feedback and State Estimators Linear System Theory and Design, Chapter 8. 1 Linear System Theory and Design, http://zitompul.wordpress.com 2 0 1 4 State Estimator In previous section, we have discussed the state feedback, based on the assumption that all state variables are

More information

ENSEMBLE FLOOD INUNDATION FORECASTING: A CASE STUDY IN THE TIDAL DELAWARE RIVER

ENSEMBLE FLOOD INUNDATION FORECASTING: A CASE STUDY IN THE TIDAL DELAWARE RIVER ENSEMBLE FLOOD INUNDATION FORECASTING: A CASE STUDY IN THE TIDAL DELAWARE RIVER Michael Gomez & Alfonso Mejia Civil and Environmental Engineering Pennsylvania State University 10/12/2017 Mid-Atlantic Water

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

On the importance of the long-term seasonal component in day-ahead electricity price forecasting. Part II - Probabilistic forecasting

On the importance of the long-term seasonal component in day-ahead electricity price forecasting. Part II - Probabilistic forecasting On the importance of the long-term seasonal component in day-ahead electricity price forecasting. Part II - Probabilistic forecasting Rafał Weron Department of Operations Research Wrocław University of

More information

ECON The Simple Regression Model

ECON The Simple Regression Model ECON 351 - The Simple Regression Model Maggie Jones 1 / 41 The Simple Regression Model Our starting point will be the simple regression model where we look at the relationship between two variables In

More information

CPSC 340: Machine Learning and Data Mining. Gradient Descent Fall 2016

CPSC 340: Machine Learning and Data Mining. Gradient Descent Fall 2016 CPSC 340: Machine Learning and Data Mining Gradient Descent Fall 2016 Admin Assignment 1: Marks up this weekend on UBC Connect. Assignment 2: 3 late days to hand it in Monday. Assignment 3: Due Wednesday

More information

Chapter 4.4:Slope-Intercept and Point Slope Forms of Linear Equations. Graphing Linear Equations Using slopes and Intercepts. 1.

Chapter 4.4:Slope-Intercept and Point Slope Forms of Linear Equations. Graphing Linear Equations Using slopes and Intercepts. 1. Math 4 Name Chapter 4.4:Slope-Intercept and Point Slope Forms of Linear Equations Graphing Linear Equations Using slopes and Intercepts. Graph -intercept = (0, ). Graph 6 -intercept = (0, ). Graph 0 -intercept

More information

Variance Decomposition

Variance Decomposition Variance Decomposition 1 14.384 Time Series Analysis, Fall 2007 Recitation by Paul Schrimpf Supplementary to lectures given by Anna Mikusheva October 5, 2007 Recitation 5 Variance Decomposition Suppose

More information

CSE446: Linear Regression Regulariza5on Bias / Variance Tradeoff Winter 2015

CSE446: Linear Regression Regulariza5on Bias / Variance Tradeoff Winter 2015 CSE446: Linear Regression Regulariza5on Bias / Variance Tradeoff Winter 2015 Luke ZeElemoyer Slides adapted from Carlos Guestrin Predic5on of con5nuous variables Billionaire says: Wait, that s not what

More information

Probability. Kenneth A. Ribet. Math 10A After Election Day, 2016

Probability. Kenneth A. Ribet. Math 10A After Election Day, 2016 Math 10A After Election Day, 2016 Today s breakfast Breakfast next Monday (November 17) at 9AM. Friday is a UC holiday but I ll be at Blue Bottle Coffee at 8AM. Both remaining quiz dates are Wednesdays:

More information

Forecasting using robust exponential smoothing with damped trend and seasonal components

Forecasting using robust exponential smoothing with damped trend and seasonal components Forecasting using robust exponential smoothing with damped trend and seasonal components Crevits R, Croux C. KBI_1714 Forecasting using Robust Exponential Smoothing with Damped Trend and Seasonal Components

More information

Short-term electricity demand forecasting in the time domain and in the frequency domain

Short-term electricity demand forecasting in the time domain and in the frequency domain Short-term electricity demand forecasting in the time domain and in the frequency domain Abstract This paper compares the forecast accuracy of different models that explicitely accomodate seasonalities

More information

Business Economics BUSINESS ECONOMICS. PAPER No. : 8, FUNDAMENTALS OF ECONOMETRICS MODULE No. : 3, GAUSS MARKOV THEOREM

Business Economics BUSINESS ECONOMICS. PAPER No. : 8, FUNDAMENTALS OF ECONOMETRICS MODULE No. : 3, GAUSS MARKOV THEOREM Subject Business Economics Paper No and Title Module No and Title Module Tag 8, Fundamentals of Econometrics 3, The gauss Markov theorem BSE_P8_M3 1 TABLE OF CONTENTS 1. INTRODUCTION 2. ASSUMPTIONS OF

More information

Diploma Part 2. Quantitative Methods. Examiner s Suggested Answers

Diploma Part 2. Quantitative Methods. Examiner s Suggested Answers Diploma Part Quantitative Methods Examiner s Suggested Answers Question 1 (a) The standard normal distribution has a symmetrical and bell-shaped graph with a mean of zero and a standard deviation equal

More information

1. Revision on Time Description Reflect and Review Teasers Answers Recall conversion of 12-hour clock time to 24-hour clock time and vice versa.

1. Revision on Time Description Reflect and Review Teasers Answers Recall conversion of 12-hour clock time to 24-hour clock time and vice versa. 12 1. Revision on Time Recall conversion of 12-hour clock time to 24-hour clock time and vice versa. Recall number of, weeks, months, ordinary years and leap years. To convert 6:45 p.m. to 24-hour clock

More information

arxiv: v2 [cs.oh] 3 Sep 2014

arxiv: v2 [cs.oh] 3 Sep 2014 Forecasting Intermittent Demand by Hyperbolic-Exponential Smoothing arxiv:1307.6102v2 [cs.oh] 3 Sep 2014 S. D. Prestwich 1, S. A. Tarim 2, R. Rossi 3, and B. Hnich 4 1 Department of Computer Science, University

More information

Ex-Ante Forecast Model Performance with Rolling Simulations

Ex-Ante Forecast Model Performance with Rolling Simulations Paper SAS213-2014 Ex-Ante Forecast Model Performance with Rolling Simulations Michael Leonard, Ashwini Dixit, Udo Sglavo, SAS Institute Inc. ABSTRACT Given a time series data set, you can use automatic

More information

Forecasting U.S.A Imports from China, Singapore, Indonesia, and Thailand.

Forecasting U.S.A Imports from China, Singapore, Indonesia, and Thailand. Forecasting U.S.A Imports from China, Singapore, Indonesia, and Thailand. An Empirical Project Chittawan Chanagul UK 40186 (Econometric Forecasting): Prof. Robert M. Kunst Introduction Times Series Data

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

THE ROYAL STATISTICAL SOCIETY 2008 EXAMINATIONS SOLUTIONS HIGHER CERTIFICATE (MODULAR FORMAT) MODULE 4 LINEAR MODELS

THE ROYAL STATISTICAL SOCIETY 2008 EXAMINATIONS SOLUTIONS HIGHER CERTIFICATE (MODULAR FORMAT) MODULE 4 LINEAR MODELS THE ROYAL STATISTICAL SOCIETY 008 EXAMINATIONS SOLUTIONS HIGHER CERTIFICATE (MODULAR FORMAT) MODULE 4 LINEAR MODELS The Society provides these solutions to assist candidates preparing for the examinations

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

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

Multicollinearity and A Ridge Parameter Estimation Approach

Multicollinearity and A Ridge Parameter Estimation Approach Journal of Modern Applied Statistical Methods Volume 15 Issue Article 5 11-1-016 Multicollinearity and A Ridge Parameter Estimation Approach Ghadban Khalaf King Khalid University, albadran50@yahoo.com

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

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

YourCabs Forecasting Analytics Project. Team A6 Pratyush Kumar Shridhar Iyer Nirman Sarkar Devarshi Das Ananya Guha

YourCabs Forecasting Analytics Project. Team A6 Pratyush Kumar Shridhar Iyer Nirman Sarkar Devarshi Das Ananya Guha YourCabs Forecasting Analytics Project Team A6 Pratyush Kumar Shridhar Iyer Nirman Sarkar Devarshi Das Ananya Guha Business Assumptions YourCabs acts as an aggregator of radio-cabs from several operators

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

Using Temporal Hierarchies to Predict Tourism Demand

Using Temporal Hierarchies to Predict Tourism Demand Using Temporal Hierarchies to Predict Tourism Demand International Symposium on Forecasting 29 th June 2015 Nikolaos Kourentzes Lancaster University George Athanasopoulos Monash University n.kourentzes@lancaster.ac.uk

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

LECTURE 6. Introduction to Econometrics. Hypothesis testing & Goodness of fit

LECTURE 6. Introduction to Econometrics. Hypothesis testing & Goodness of fit LECTURE 6 Introduction to Econometrics Hypothesis testing & Goodness of fit October 25, 2016 1 / 23 ON TODAY S LECTURE We will explain how multiple hypotheses are tested in a regression model We will define

More information

Time Series and Forecasting Using R

Time Series and Forecasting Using R Time Series and Forecasting Using R Lab Sessions 25 May 2016 Before doing any exercises in R, load the fpp package using library(fpp) and the ggplot2 package using library(ggplot2). Lab Session: Time series

More information

Econometrics. Week 11. Fall Institute of Economic Studies Faculty of Social Sciences Charles University in Prague

Econometrics. Week 11. Fall Institute of Economic Studies Faculty of Social Sciences Charles University in Prague Econometrics Week 11 Institute of Economic Studies Faculty of Social Sciences Charles University in Prague Fall 2012 1 / 30 Recommended Reading For the today Advanced Time Series Topics Selected topics

More information

Function Operations and Composition of Functions. Unit 1 Lesson 6

Function Operations and Composition of Functions. Unit 1 Lesson 6 Function Operations and Composition of Functions Unit 1 Lesson 6 Students will be able to: Combine standard function types using arithmetic operations Compose functions Key Vocabulary: Function operation

More information

Calculus II. Monday, March 13th. WebAssign 7 due Friday March 17 Problem Set 6 due Wednesday March 15 Midterm 2 is Monday March 20

Calculus II. Monday, March 13th. WebAssign 7 due Friday March 17 Problem Set 6 due Wednesday March 15 Midterm 2 is Monday March 20 Announcements Calculus II Monday, March 13th WebAssign 7 due Friday March 17 Problem Set 6 due Wednesday March 15 Midterm 2 is Monday March 20 Today: Sec. 8.5: Partial Fractions Use partial fractions to

More information

Modelling and Forecasting Australian Domestic Tourism

Modelling and Forecasting Australian Domestic Tourism Modelling and Forecasting Australian Domestic Tourism George Athanasopoulos & Rob Hyndman Outline Background 1 Background 2 Data 3 Regression models 4 Exponential smoothing via innovations state space

More information

Estimating and Testing the US Model 8.1 Introduction

Estimating and Testing the US Model 8.1 Introduction 8 Estimating and Testing the US Model 8.1 Introduction The previous chapter discussed techniques for estimating and testing complete models, and this chapter applies these techniques to the US model. For

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

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 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

Verification of wind forecasts of ramping events

Verification of wind forecasts of ramping events Verification of wind forecasts of ramping events Matt Pocernich Research Application Laboratory - NCAR pocernic@ucar.edu Thanks to Brice Lambi, Seth Linden and Gregory Roux Key Points A single verification

More information

2.1 Notes: Simplifying Radicals (Real and Imaginary)

2.1 Notes: Simplifying Radicals (Real and Imaginary) Chapter 2 Calendar Name: Day Date Assignment (Due the next class meeting) Friday Tuesday Wednesday Thursday Friday Monday Tuesday Wednesday Thursday Friday Monday Tuesday Wednesday Thursday 8/30/13 (A)

More information

Section 1.6 Inverse Functions

Section 1.6 Inverse Functions 0 Chapter 1 Section 1.6 Inverse Functions A fashion designer is travelling to Milan for a fashion show. He asks his assistant, Betty, what 7 degrees Fahrenheit is in Celsius, and after a quick search on

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

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

Ridge Regression. Summary. Sample StatFolio: ridge reg.sgp. STATGRAPHICS Rev. 10/1/2014

Ridge Regression. Summary. Sample StatFolio: ridge reg.sgp. STATGRAPHICS Rev. 10/1/2014 Ridge Regression Summary... 1 Data Input... 4 Analysis Summary... 5 Analysis Options... 6 Ridge Trace... 7 Regression Coefficients... 8 Standardized Regression Coefficients... 9 Observed versus Predicted...

More information

Lesson 2: Analysis of time series

Lesson 2: Analysis of time series Lesson 2: Analysis of time series Time series Main aims of time series analysis choosing right model statistical testing forecast driving and optimalisation Problems in analysis of time series time problems

More information

Simple Techniques for Improving SGD. CS6787 Lecture 2 Fall 2017

Simple Techniques for Improving SGD. CS6787 Lecture 2 Fall 2017 Simple Techniques for Improving SGD CS6787 Lecture 2 Fall 2017 Step Sizes and Convergence Where we left off Stochastic gradient descent x t+1 = x t rf(x t ; yĩt ) Much faster per iteration than gradient

More information

FORECASTING AND MODEL SELECTION

FORECASTING AND MODEL SELECTION FORECASTING AND MODEL SELECTION Anurag Prasad Department of Mathematics and Statistics Indian Institute of Technology Kanpur, India REACH Symposium, March 15-18, 2008 1 Forecasting and Model Selection

More information

Multiple Linear Regression CIVL 7012/8012

Multiple Linear Regression CIVL 7012/8012 Multiple Linear Regression CIVL 7012/8012 2 Multiple Regression Analysis (MLR) Allows us to explicitly control for many factors those simultaneously affect the dependent variable This is important for

More information

Econ 300/QAC 201: Quantitative Methods in Economics/Applied Data Analysis. 17th Class 7/1/10

Econ 300/QAC 201: Quantitative Methods in Economics/Applied Data Analysis. 17th Class 7/1/10 Econ 300/QAC 201: Quantitative Methods in Economics/Applied Data Analysis 17th Class 7/1/10 The only function of economic forecasting is to make astrology look respectable. --John Kenneth Galbraith show

More information

arxiv: v1 [stat.me] 18 Oct 2013

arxiv: v1 [stat.me] 18 Oct 2013 Mean-Based Error Measures for Intermittent Demand Forecasting arxiv:1310.5663v1 [stat.me] 18 Oct 2013 S. D. Prestwich 1, R. Rossi 2, S. A. Tarim 3, and B. Hnich 4 1 Department of Computer Science, University

More information

A State Space Framework For Automatic Forecasting Using Exponential Smoothing Methods

A State Space Framework For Automatic Forecasting Using Exponential Smoothing Methods ISSN 1440-771X ISBN 0 7326 1078 8 A State Space Framework For Automatic Forecasting Using Exponential Smoothing s Rob J. Hyndman, Anne B. Koehler, Ralph D. Snyder and Simone Grose Working Paper 9/2000

More information

Solutions. Part I Logistic regression backpropagation with a single training example

Solutions. Part I Logistic regression backpropagation with a single training example Solutions Part I Logistic regression backpropagation with a single training example In this part, you are using the Stochastic Gradient Optimizer to train your Logistic Regression. Consequently, the gradients

More information