Forecasting with R A practical workshop
|
|
- Judith Hunt
- 6 years ago
- Views:
Transcription
1 Forecasting with R A practical workshop International Symposium on Forecasting th June 2016 Nikolaos Kourentzes nikolaos@kourentzes.com Fotios Petropoulos fotpetr@gmail.com
2 A b o u t u s Nikos Associate Professor at Lancaster University Member of the Lancaster Centre for Forecasting Research interests: temporal aggregation and hierarchies, model selection and combination, intermittent demand, promotional modelling and supply chain collaboration Forecasting blog: Fotios Assistant Professor at Cardiff University Forecasting Support Systems Editor of Foresight Director of the International Institute of Forecasters Research interests: behavioural aspects of forecasting and improving the forecasting process, applied in the context of business and supply chain Nikos and Fotios are the founders of the Forecasting Society ( 2
3 O u t l i n e o f t h e w o r k s h o p 1. Overview of R Studio 2. Introduction to R 3. Time series exploration Time series components, decomposition, ACF/PACF functions, 4. Forecasting for fast demand Naïve, Exponential Smoothing, ARIMA, MAPA, Theta, evaluation, 5. Forecasting for intermittent demand Croston s method, SBA, TSB, temporal aggregation, classification, 6. Forecasting with causal methods Simple and multiple regression, residual diagnostics, selecting variables, 7. Advanced methods in forecasting Hierarchical forecasting, ABC-XYZ analysis, LASSO Have fun and enjoy your day! 3
4 S e c t i o n 1 1. Overview of R Studio 2. Introduction to R 3. Time series exploration Time series components, decomposition, ACF/PACF functions, 4. Forecasting for fast demand Naïve, Exponential Smoothing, ARIMA, MAPA, Theta, evaluation, 5. Forecasting for intermittent demand Croston s method, SBA, TSB, temporal aggregation, classification, 6. Forecasting with causal methods Simple and multiple regression, residual diagnostics, selecting variables, 7. Advanced methods in forecasting Hierarchical forecasting, ABC-XYZ analysis, LASSO 4
5 O v e r v i e w o f R S t u d i o 5
6 S e c t i o n 2 1. Overview of R Studio 2. Introduction to R 3. Time series exploration Time series components, decomposition, ACF/PACF functions, 4. Forecasting for fast demand Naïve, Exponential Smoothing, ARIMA, MAPA, Theta, evaluation, 5. Forecasting for intermittent demand Croston s method, SBA, TSB, temporal aggregation, classification, 6. Forecasting with causal methods Simple and multiple regression, residual diagnostics, selecting variables, 7. Advanced methods in forecasting Hierarchical forecasting, ABC-XYZ analysis, LASSO 6
7 S e c t i o n 3 1. Overview of R Studio 2. Introduction to R 3. Time series exploration Time series components, decomposition, ACF/PACF functions, 4. Forecasting for fast demand Naïve, Exponential Smoothing, ARIMA, MAPA, Theta, evaluation, 5. Forecasting for intermittent demand Croston s method, SBA, TSB, temporal aggregation, classification, 6. Forecasting with causal methods Simple and multiple regression, residual diagnostics, selecting variables, 7. Advanced methods in forecasting Hierarchical forecasting, ABC-XYZ analysis, LASSO 7
8 S e c t i o n 4 1. Overview of R Studio 2. Introduction to R 3. Time series exploration Time series components, decomposition, ACF/PACF functions, 4. Forecasting for fast demand Naïve, Exponential Smoothing, ARIMA, MAPA, Theta, evaluation, 5. Forecasting for intermittent demand Croston s method, SBA, TSB, temporal aggregation, classification, 6. Forecasting with causal methods Simple and multiple regression, residual diagnostics, selecting variables, 7. Advanced methods in forecasting Hierarchical forecasting, ABC-XYZ analysis, LASSO 8
9 E x p o n e n t i a l S m o o t h i n g ( ets) The state space implementation of exponential smoothing considers the following combinations of error, trend and seasonality: Error: Additive or Multiplicative Trend: None, Additive or Multiplicative (damped or not) Season: None, Additive or Multiplicative The usual notation is ETS(Error, Trend, Season), so for instance: ETS(A,N,N) has additive errors, no trend and no season SES ETS(M,M,M) has all components multiplicatively 9
10 E x p o n e n t i a l S m o o t h i n g ( ets) We typically optimise ETS using MLE or equivalently minimise the augmented sum of squared errors criterion: For additive errors r(x t-1 ) = 1, so this is equal to the well known MSE: This is used to optimise both the smoothing parameters and the initial values. 10
11 E x p o n e n t i a l S m o o t h i n g ( ets) Having a likelihood allows us to use information criteria to select the best ETS model out of the 30 possible alternatives. A common choice is Akaike s Information Criterion: Given that time series often have limited sample size a better selection is to use AICc that is corrected for sample size. This is the default option in the forecast package. 11
12 A R I M A ( a u t o. a r i m a ) The function auto.arima allows automatic specification of SARIMA models. This is done as follows: Test for stationarity in a seasonal context using OCSB (up to 1 seasonal difference) Test for stationarity using KPSS (up to 2 differences) Difference appropriately based on the test results Start from a reasonable AR and MA order and search neighbouring specifications (max AR & MA order: 5, max SAR & SMA order: 2) Compare alternative models using AICc (default) and pick best. 12
13 T B AT S ( t b a t s ) TBATS uses Box-Cox transformation, exponential smoothing, trigonometric seasonality and ARMA errors: Box-Cox transform Deterministic and stochastic trend Trigonometric seasonlity ARMA errors 13
14 M u l t i p l e A g g r e g a t i o n P r e d i c t i o n A l g o r i t h m ( m a p a ) Step 1: Aggregation Step 2: Forecasting Step 3: Combination 1 Y ETS Model Selection l 1 1 b 1 s + 1 Yˆ k 2 k 3... k K 2 Y 3 Y... Y K ETS Model Selection ETS Model Selection... ETS Model Selection l 2 b 2 s l 3 b s 3... l b s 2 3 K K K 1 K 1 K 1 K l b s Strengthens and attenuates components Estimation of parameters at multiple levels Robustness on model selection and parameterisation 14
15 M u l t i p l e A g g r e g a t i o n P r e d i c t i o n A l g o r i t h m ( m a p a ) Transform states to additive and to original sampling frequency Combine states (components) Produce forecasts 15
16 T h e t a m e t h o d ( t h e t a ) First a time series is decomposed using classical multiplicative decomposition: Deterministic decomposition Stochastic decomposition In TStools to allow the seasonal pattern to evolve a pure seasonal model is used instead: Obviously when γ 0 then it is the deterministic case. 16
17 T h e t a m e t h o d ( t h e t a ) Then the deseasonalised time series is broken down in two lines: a linear trend long term trend 2 x (deseasonalised data - linear trend) inflate variability Each series is forecasted separately using linear regression and single exponential smoothing and their forecast is then combined: 17
18 T h e t a m e t h o d ( t h e t a ) Finally the forecast of the deseasonalised time series is re-seasonalised with the indices calculated previously to give the final forecast: 18
19 S e c t i o n 5 1. Overview of R Studio 2. Introduction to R 3. Time series exploration Time series components, decomposition, ACF/PACF functions, 4. Forecasting for fast demand Naïve, Exponential Smoothing, ARIMA, MAPA, Theta, evaluation, 5. Forecasting for intermittent demand Croston s method, SBA, TSB, temporal aggregation, classification, 6. Forecasting with causal methods Simple and multiple regression, residual diagnostics, selecting variables, 7. Advanced methods in forecasting Hierarchical forecasting, ABC-XYZ analysis, LASSO 19
20 Croston s m e t h o d From the original series we first construct a nonzero demand series (z) 20
21 Croston s m e t h o d The we create an interval series by counting every how many periods there is demand (x)
22 Croston s m e t h o d Forecast with SES 22
23 Croston s m e t h o d We divide the estimated demand and interval to produce the Croston forecast Demand Interval 23
24 S B A Syntetos and Boylan [2005] proposed an approximation that corrects the inversion bias in Croston s method. Croston Smooth demand size Smooth demand interval SBA Smoothing parameter of intervals 24
25 T S B M e t h o d The demand probability is equal to 1 when demand occurred. This series is as long as the original series 25
26 T S B M e t h o d The forecast is the product of the demand and probability estimates 26
27 T S B M e t h o d The decline in the forecast is because TSB models the obsolescence of the item. 27
28 C l a s s i f i c a t i o n For an ID time series we can calculate the non-zero demand (z) and the demand interval (x). Using these we can define: p v x s z z 2 Average demand interval Coefficient of variation of non-zero demand squared Using these we can classify the time series into groups better modelled with Croston s method or with SBA. 28
29 C l a s s i f i c a t i o n Coefficient of variation of non-zero demand squared Time series with low variability of demand and relatively low intermittency should be forecasted with Croston s method. The rest should be forecasted with SBA. Average demand interval 29
30 S e c t i o n 6 1. Overview of R Studio 2. Introduction to R 3. Time series exploration Time series components, decomposition, ACF/PACF functions, 4. Forecasting for fast demand Naïve, Exponential Smoothing, ARIMA, MAPA, Theta, evaluation, 5. Forecasting for intermittent demand Croston s method, SBA, TSB, temporal aggregation, classification, 6. Forecasting with causal methods Simple and multiple regression, residual diagnostics, selecting variables, 7. Advanced methods in forecasting Hierarchical forecasting, ABC-XYZ analysis, LASSO 30
31 Sales S i m p l e r e g r e s s i o n Period Advertising (x) Sales (y) Sales vs advertising Advertising y = a + b x 31
32 L i n e a r r e g r e s s i o n o n t r e n d Time (t) Period Sales (y) 1 Q Q Q Q Q Q Q Q Q Q Q Q iphone sales over time y = a + b t The residuals should: Have mean zero Not be autocorrelated Are unrelated to the predictor variable Be normally distributed Have constant variance 32
33 R e s i d u a l d i a g n o s t i c s 33
34 M u l t i p l e r e g r e s s i o n y = b i=1 b i Promo i + 3 j=1 b j+3 Promo_lagged j 34
35 S e c t i o n 7 1. Overview of R Studio 2. Introduction to R 3. Time series exploration Time series components, decomposition, ACF/PACF functions, 4. Forecasting for fast demand Naïve, Exponential Smoothing, ARIMA, MAPA, Theta, evaluation, 5. Forecasting for intermittent demand Croston s method, SBA, TSB, temporal aggregation, classification, 6. Forecasting with causal methods Simple and multiple regression, residual diagnostics, selecting variables, 7. Advanced methods in forecasting Hierarchical forecasting, ABC-XYZ analysis, LASSO 35
36 H i e r a r c h i c a l f o r e c a s t i n g Group 1 Company Group 2 Hierarchies may refer to: Product types Geographical allocation Channels SKU 1 SKU 2 SKU 3 SKU 4 SKU 5 Problem: forecasts are different at each aggregation level! Main approaches for reconciling hierarchical forecasts: Top-down approach: Forecast at the highest level and disaggregate using historical proportions Bottom-up approach: Forecast at the lowest level and aggregate the forecasts up to the required level Middle-out approach Optimal approach: optimally combines forecasts from each level 36
37 S h r i n k a g e e s t i m a t o r s Let us consider the two regression models from before: Two ideas: Instead of thinking X 3 being simply in or out of the model we can perceive it as a continuum, depending on the estimated coefficient c 3. Suppose we would keep the normalised coefficients small (close to zero) then the effect from variables would be minimal, i.e. our predicted variable would be less sensitive to changes in the explanatory variables. If we are unsure about including a variable we could be more conservative and include it with a smaller coefficient. Putting these together we get the so called shrinkage estimators. 37
38 S h r i n k a g e e s t i m a t o r s : L A S S O Although there are several one of the most popular ones is the: Least Absolute Shrinkage and Selection Operator (LASSO) The model is your conventional regression, the only difference is in how you estimate the coefficients. Using p independent variables X, we model dependent variable y that has n observations: But instead of OLS we use the lasso shrinkage estimator: Mean squared error Shrinkage of b 38
39 S h r i n k a g e e s t i m a t o r s : L A S S O Mean squared error Shrinkage of b As a variable is used more to fit better to the data, its coefficient will become bigger. As the coefficient becomes bigger the shrinkage penalty becomes bigger, pushing the coefficient to zero. Therefore lasso regression tries to keep variable coefficients small it balances over and underfit. 39
40 S h r i n k a g e e s t i m a t o r s : t h e e f f e c t o f λ The parameter λ controls the amount of shrinkage: If λ = 0, lasso becomes OLS. There is a λ that all variables will be excluded from the model. Low λ, coefficients are non-zero and large Very high λ all variable coefficients are zero Mid λ, only important coefficients are non-zero 40
41 H o w t o f i n d λ? Finding the λ parameter is not a trivial problem. The most common approach is to use cross-validation and pick the λ that provides good cross-validated error. What is cross-validation? 1. Take all the available in-sample data and split it into K parts (folds). 2. Fit the model in all 9 parts and test in the remaining one Test 3. Repeat until all K folds have been used as test Test Test 4. Measure the total error across all tests. This is the cross-validated error. The cross-validated error approximates the true prediction error and is more reliable than the in-sample fitting error. 41
42 Nikolaos Kourentzes blog: Fotios Petropoulos site: Forecasting Society Lancaster Centre for Forecasting
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 informationLecture 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 informationNATCOR. 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 informationForecasting 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 informationIntermittent state-space model for demand forecasting
Intermittent state-space model for demand forecasting 19th IIF Workshop 29th June 2016 Lancaster Centre for Forecasting Motivation Croston (1972) proposes a method for intermittent demand forecasting,
More informationPackage thief. R topics documented: January 24, Version 0.3 Title Temporal Hierarchical Forecasting
Version 0.3 Title Temporal Hierarchical Forecasting Package thief January 24, 2018 Methods and tools for generating forecasts at different temporal frequencies using a hierarchical time series approach.
More informationImproving forecasting by estimating time series structural components across multiple frequencies
Improving forecasting by estimating time series structural components across multiple frequencies Nikolaos Kourentzes a,, Fotios Petropoulos a, Juan R. Trapero b a Lancaster University Management School
More informationat least 50 and preferably 100 observations should be available to build a proper model
III Box-Jenkins Methods 1. Pros and Cons of ARIMA Forecasting a) need for data at least 50 and preferably 100 observations should be available to build a proper model used most frequently for hourly or
More informationAdvances in promotional modelling and analytics
Advances in promotional modelling and analytics High School of Economics St. Petersburg 25 May 2016 Nikolaos Kourentzes n.kourentzes@lancaster.ac.uk O u t l i n e 1. What is forecasting? 2. Forecasting,
More informationOld dog, new tricks: a modelling view of simple moving averages
Old dog, new tricks: a modelling view of simple moving averages Ivan Svetunkov a, Fotios Petropoulos b, a Centre for Marketing Analytics and Forecasting, Lancaster University Management School, UK b School
More informationPackage MAPA. R topics documented: January 5, Type Package Title Multiple Aggregation Prediction Algorithm Version 2.0.4
Type Package Title Multiple Aggregation Prediction Algorithm Version 2.0.4 Package MAPA January 5, 2018 Functions and wrappers for using the Multiple Aggregation Prediction Algorithm (MAPA) for time series
More informationSTAT 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 information477/577 In-class Exercise 5 : Fitting Wine Sales
477/577 In-class Exercise 5 : Fitting Wine Sales (due Fri 4/06/2017) Name: Use this file as a template for your report. Submit your code and comments together with (selected) output from R console. Your
More informationComplex 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 informationTime Series and Forecasting
Time Series and Forecasting Introduction to Forecasting n What is forecasting? n Primary Function is to Predict the Future using (time series related or other) data we have in hand n Why are we interested?
More informationForecasting. Dr. Richard Jerz rjerz.com
Forecasting Dr. Richard Jerz 1 1 Learning Objectives Describe why forecasts are used and list the elements of a good forecast. Outline the steps in the forecasting process. Describe at least three qualitative
More informationLecture 2: Univariate Time Series
Lecture 2: Univariate Time Series Analysis: Conditional and Unconditional Densities, Stationarity, ARMA Processes Prof. Massimo Guidolin 20192 Financial Econometrics Spring/Winter 2017 Overview Motivation:
More informationA 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 informationThe SAB Medium Term Sales Forecasting System : From Data to Planning Information. Kenneth Carden SAB : Beer Division Planning
The SAB Medium Term Sales Forecasting System : From Data to Planning Information Kenneth Carden SAB : Beer Division Planning Planning in Beer Division F Operational planning = what, when, where & how F
More informationTime Series and Forecasting
Time Series and Forecasting Introduction to Forecasting n What is forecasting? n Primary Function is to Predict the Future using (time series related or other) data we have in hand n Why are we interested?
More informationA 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 informationFinQuiz Notes
Reading 9 A time series is any series of data that varies over time e.g. the quarterly sales for a company during the past five years or daily returns of a security. When assumptions of the regression
More informationSome Personal Perspectives on Demand Forecasting Past, Present, Future
Some Personal Perspectives on Demand Forecasting Past, Present, Future Hans Levenbach, PhD Delphus, Inc. INFORMS Luncheon Penn Club, NYC Presentation Overview Introduction Demand Analysis and Forecasting
More informationElements of Multivariate Time Series Analysis
Gregory C. Reinsel Elements of Multivariate Time Series Analysis Second Edition With 14 Figures Springer Contents Preface to the Second Edition Preface to the First Edition vii ix 1. Vector Time Series
More informationForecasting using exponential smoothing: the past, the present, the future
Forecasting using exponential smoothing: the past, the present, the future OR60 13th September 2018 Marketing Analytics and Forecasting Introduction Exponential smoothing (ES) is one of the most popular
More informationTIME 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 informationISyE 691 Data mining and analytics
ISyE 691 Data mining and analytics Regression Instructor: Prof. Kaibo Liu Department of Industrial and Systems Engineering UW-Madison Email: kliu8@wisc.edu Office: Room 3017 (Mechanical Engineering Building)
More informationExponential smoothing is, like the moving average forecast, a simple and often used forecasting technique
EconS 450 Advanced Farm Management Forecasting Lecture 2 Simple Exponential Smoothing Exponential smoothing is, like the moving average forecast, a simple and often used forecasting technique Exponential
More informationForecasting intermittent data with complex patterns
Forecasting intermittent data with complex patterns Ivan Svetunkov, John Boylan, Patricia Ramos and Jose Manuel Oliveira ISF 2018 19th June 2018 Marketing Analytics and Forecasting Introduction In the
More informationAutomatic 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 informationStatistical 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 informationPackage 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 informationDemand Forecasting. for. Microsoft Dynamics 365 for Operations. User Guide. Release 7.1. April 2018
Demand Forecasting for Microsoft Dynamics 365 for Operations User Guide Release 7.1 April 2018 2018 Farsight Solutions Limited All Rights Reserved. Portions copyright Business Forecast Systems, Inc. This
More informationForecasting 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 informationIntroduction 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 informationLab: 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 informationForecasting. Simon Shaw 2005/06 Semester II
Forecasting Simon Shaw s.c.shaw@maths.bath.ac.uk 2005/06 Semester II 1 Introduction A critical aspect of managing any business is planning for the future. events is called forecasting. Predicting future
More informationAutomatic 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 informationSummary of OLS Results - Model Variables
Summary of OLS Results - Model Variables Variable Coefficient [a] StdError t-statistic Probability [b] Robust_SE Robust_t Robust_Pr [b] VIF [c] Intercept 12.722048 1.710679 7.436839 0.000000* 2.159436
More informationComplex Exponential Smoothing
Complex Exponential Smoothing Ivan Svetunkov and Nikolaos Kourentzes Department of Management Science, Lancaster University August 28, 2015 Abstract Exponential smoothing has been one of the most popular
More informationChapter 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 informationAustrian Inflation Rate
Austrian Inflation Rate Course of Econometric Forecasting Nadir Shahzad Virkun Tomas Sedliacik Goal and Data Selection Our goal is to find a relatively accurate procedure in order to forecast the Austrian
More informationUnivariate linear models
Univariate linear models The specification process of an univariate ARIMA model is based on the theoretical properties of the different processes and it is also important the observation and interpretation
More informationModel Selection. Frank Wood. December 10, 2009
Model Selection Frank Wood December 10, 2009 Standard Linear Regression Recipe Identify the explanatory variables Decide the functional forms in which the explanatory variables can enter the model Decide
More informationLecture 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 informationMarcel Dettling. Applied Time Series Analysis SS 2013 Week 05. ETH Zürich, March 18, Institute for Data Analysis and Process Design
Marcel Dettling Institute for Data Analysis and Process Design Zurich University of Applied Sciences marcel.dettling@zhaw.ch http://stat.ethz.ch/~dettling ETH Zürich, March 18, 2013 1 Basics of Modeling
More informationA GEOSTATISTICAL APPROACH TO PREDICTING A PHYSICAL VARIABLE THROUGH A CONTINUOUS SURFACE
Katherine E. Williams University of Denver GEOG3010 Geogrpahic Information Analysis April 28, 2011 A GEOSTATISTICAL APPROACH TO PREDICTING A PHYSICAL VARIABLE THROUGH A CONTINUOUS SURFACE Overview Data
More informationDevelopment of Demand Forecasting Models for Improved Customer Service in Nigeria Soft Drink Industry_ Case of Coca-Cola Company Enugu
International Journal of Scientific Research Engineering & Technology (IJSRET), ISSN 2278 882 Volume 5, Issue 4, April 26 259 Development of Demand Forecasting Models for Improved Customer Service in Nigeria
More informationFORECASTING USING R. Dynamic regression. Rob Hyndman Author, forecast
FORECASTING USING R Dynamic regression Rob Hyndman Author, forecast Dynamic regression Regression model with ARIMA errors y t = β 0 + β 1 x 1,t + + β r x r,t + e t y t modeled as function of r explanatory
More informationForecasting: Principles and Practice. Rob J Hyndman. 12. Advanced methods OTexts.com/fpp/9/2/ OTexts.com/fpp/9/3/
Rob J Hyndman Forecasting: Principles and Practice 12. Advanced methods OTexts.com/fpp/9/2/ OTexts.com/fpp/9/3/ Forecasting: Principles and Practice 1 Outline 1 Vector autoregressions 2 Neural network
More informationTime series can often be naturally disaggregated
Optimally Reconciling Forecasts in a Hierarchy Rob J. Hyndman and George Athanasopoulos Preview We know that when forecasting the product hierarchy, reconciliation is invariably needed to make the sum
More informationModeling and forecasting global mean temperature time series
Modeling and forecasting global mean temperature time series April 22, 2018 Abstract: An ARIMA time series model was developed to analyze the yearly records of the change in global annual mean surface
More informationThe prediction of house price
000 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018 019 020 021 022 023 024 025 026 027 028 029 030 031 032 033 034 035 036 037 038 039 040 041 042 043 044 045 046 047 048 049 050
More informationForecasting. BUS 735: Business Decision Making and Research. exercises. Assess what we have learned
Forecasting BUS 735: Business Decision Making and Research 1 1.1 Goals and Agenda Goals and Agenda Learning Objective Learn how to identify regularities in time series data Learn popular univariate time
More informationForecasting Casino Gaming Traffic with a Data Mining Alternative to Croston s Method
Forecasting Casino Gaming Traffic with a Data Mining Alternative to Croston s Method Barry King Abstract Other researchers have used Croston s method to forecast traffic at casino game tables. Our data
More informationModified 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 informationOperations Management
3-1 Forecasting Operations Management William J. Stevenson 8 th edition 3-2 Forecasting CHAPTER 3 Forecasting McGraw-Hill/Irwin Operations Management, Eighth Edition, by William J. Stevenson Copyright
More informationEffective Strategies for Forecasting a Product Hierarchy
Effective Strategies for Forecasting a Product Hierarchy Presented by Eric Stellwagen Vice President & Cofounder Business Forecast Systems, Inc. estellwagen@forecastpro.com Business Forecast Systems, Inc.
More informationAssistant Prof. Abed Schokry. Operations and Productions Management. First Semester
Chapter 3 Forecasting Assistant Prof. Abed Schokry Operations and Productions Management First Semester 2010 2011 Chapter 3: Learning Outcomes You should be able to: List the elements of a good forecast
More informationCP:
Adeng Pustikaningsih, M.Si. Dosen Jurusan Pendidikan Akuntansi Fakultas Ekonomi Universitas Negeri Yogyakarta CP: 08 222 180 1695 Email : adengpustikaningsih@uny.ac.id Operations Management Forecasting
More informationComplex Exponential Smoothing
Complex Exponential Smoothing Ivan Svetunkov Management School Lancaster University A thesis submitted for the degree of Doctor of Philosophy 2016 Acknowledgements It was one of those evenings during our
More informationA Multistage Modeling Strategy for Demand Forecasting
Paper SAS5260-2016 A Multistage Modeling Strategy for Demand Forecasting Pu Wang, Alex Chien, and Yue Li, SAS Institute Inc. ABSTRACT Although rapid development of information technologies in the past
More informationGlossary. The ISI glossary of statistical terms provides definitions in a number of different languages:
Glossary The ISI glossary of statistical terms provides definitions in a number of different languages: http://isi.cbs.nl/glossary/index.htm Adjusted r 2 Adjusted R squared measures the proportion of the
More informationHomework 4. 1 Data analysis problems
Homework 4 1 Data analysis problems This week we will be analyzing a number of data sets. We are going to build ARIMA models using the steps outlined in class. It is also a good idea to read section 3.8
More informationAPPLIED TIME SERIES ECONOMETRICS
APPLIED TIME SERIES ECONOMETRICS Edited by HELMUT LÜTKEPOHL European University Institute, Florence MARKUS KRÄTZIG Humboldt University, Berlin CAMBRIDGE UNIVERSITY PRESS Contents Preface Notation and Abbreviations
More informationTime Series: Theory and Methods
Peter J. Brockwell Richard A. Davis Time Series: Theory and Methods Second Edition With 124 Illustrations Springer Contents Preface to the Second Edition Preface to the First Edition vn ix CHAPTER 1 Stationary
More informationFrequency 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 informationNonparametric time series forecasting with dynamic updating
18 th World IMAS/MODSIM Congress, Cairns, Australia 13-17 July 2009 http://mssanz.org.au/modsim09 1 Nonparametric time series forecasting with dynamic updating Han Lin Shang and Rob. J. Hyndman Department
More informationModeling Spatial Relationships Using Regression Analysis. Lauren M. Scott, PhD Lauren Rosenshein Bennett, MS
Modeling Spatial Relationships Using Regression Analysis Lauren M. Scott, PhD Lauren Rosenshein Bennett, MS Workshop Overview Answering why? questions Introduce regression analysis - What it is and why
More informationModeling Spatial Relationships Using Regression Analysis
Esri International User Conference San Diego, California Technical Workshops July 24, 2012 Modeling Spatial Relationships Using Regression Analysis Lauren M. Scott, PhD Lauren Rosenshein Bennett, MS Answering
More informationChapter 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 informationMultilevel Statistical Models: 3 rd edition, 2003 Contents
Multilevel Statistical Models: 3 rd edition, 2003 Contents Preface Acknowledgements Notation Two and three level models. A general classification notation and diagram Glossary Chapter 1 An introduction
More informationThe ARIMA Procedure: The ARIMA Procedure
Page 1 of 120 Overview: ARIMA Procedure Getting Started: ARIMA Procedure The Three Stages of ARIMA Modeling Identification Stage Estimation and Diagnostic Checking Stage Forecasting Stage Using ARIMA Procedure
More informationA 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 informationNew York University Department of Economics. Applied Statistics and Econometrics G Spring 2013
New York University Department of Economics Applied Statistics and Econometrics G31.1102 Spring 2013 Text: Econometric Analysis, 7 h Edition, by William Greene (Prentice Hall) Optional: A Guide to Modern
More informationBangor Business School Working Paper (Cla 24)
Bangor Business School Working Paper (Cla 24) BBSWP/15/03 Forecasting, Foresight and Strategic Planning for Black Swans 1 (Bold, Claren capitals) By K. Nikolopoulos a,2, & F. Petropoulos b a forlab, Bangor
More informationA Short Introduction to Curve Fitting and Regression by Brad Morantz
A Short Introduction to Curve Fitting and Regression by Brad Morantz bradscientist@machine-cognition.com Overview What can regression do for me? Example Model building Error Metrics OLS Regression Robust
More informationG. S. Maddala Kajal Lahiri. WILEY A John Wiley and Sons, Ltd., Publication
G. S. Maddala Kajal Lahiri WILEY A John Wiley and Sons, Ltd., Publication TEMT Foreword Preface to the Fourth Edition xvii xix Part I Introduction and the Linear Regression Model 1 CHAPTER 1 What is Econometrics?
More informationCh. 12: Workload Forecasting
Ch. 12: Workload Forecasting Kenneth Mitchell School of Computing & Engineering, University of Missouri-Kansas City, Kansas City, MO 64110 Kenneth Mitchell, CS & EE dept., SCE, UMKC p. 1/2 Introduction
More informationForecasting Bangladesh's Inflation through Econometric Models
American Journal of Economics and Business Administration Original Research Paper Forecasting Bangladesh's Inflation through Econometric Models 1,2 Nazmul Islam 1 Department of Humanities, Bangladesh University
More informationStatistics: A review. Why statistics?
Statistics: A review Why statistics? What statistical concepts should we know? Why statistics? To summarize, to explore, to look for relations, to predict What kinds of data exist? Nominal, Ordinal, Interval
More informationFORECASTING 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 informationImproved 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 informationTIMES SERIES INTRODUCTION INTRODUCTION. Page 1. A time series is a set of observations made sequentially through time
TIMES SERIES INTRODUCTION A time series is a set of observations made sequentially through time A time series is said to be continuous when observations are taken continuously through time, or discrete
More informationForecasting: principles and practice. Rob J Hyndman 4 Hierarchical forecasting
Forecasting: principles and practice Rob J Hyndman 4 Hierarchical forecasting 1 Outline 1 Hierarchical and grouped time series 2 Optimal forecast reconciliation 3 hts package for R 4 Application: Australian
More informationECONOMETRIA II. CURSO 2009/2010 LAB # 3
ECONOMETRIA II. CURSO 2009/2010 LAB # 3 BOX-JENKINS METHODOLOGY The Box Jenkins approach combines the moving average and the autorregresive models. Although both models were already known, the contribution
More informationAn 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 informationAutomatic Autocorrelation and Spectral Analysis
Piet M.T. Broersen Automatic Autocorrelation and Spectral Analysis With 104 Figures Sprin ger 1 Introduction 1 1.1 Time Series Problems 1 2 Basic Concepts 11 2.1 Random Variables 11 2.2 Normal Distribution
More informationDennis Bricker Dept of Mechanical & Industrial Engineering The University of Iowa. Forecasting demand 02/06/03 page 1 of 34
demand -5-4 -3-2 -1 0 1 2 3 Dennis Bricker Dept of Mechanical & Industrial Engineering The University of Iowa Forecasting demand 02/06/03 page 1 of 34 Forecasting is very difficult. especially about the
More informationTIME SERIES DATA PREDICTION OF NATURAL GAS CONSUMPTION USING ARIMA MODEL
International Journal of Information Technology & Management Information System (IJITMIS) Volume 7, Issue 3, Sep-Dec-2016, pp. 01 07, Article ID: IJITMIS_07_03_001 Available online at http://www.iaeme.com/ijitmis/issues.asp?jtype=ijitmis&vtype=7&itype=3
More informationDo 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 informationLecture Data Science
Web Science & Technologies University of Koblenz Landau, Germany Lecture Data Science Regression Analysis JProf. Dr. Last Time How to find parameter of a regression model Normal Equation Gradient Decent
More informationForecasting: Principles and Practice. Rob J Hyndman. 1. Introduction to forecasting OTexts.org/fpp/1/ OTexts.org/fpp/2/3
Rob J Hyndman Forecasting: Principles and Practice 1. Introduction to forecasting OTexts.org/fpp/1/ OTexts.org/fpp/2/3 Forecasting: Principles and Practice 1 Resources Slides Exercises Textbook Useful
More informationInformation Sharing In Supply Chains: An Empirical and Theoretical Valuation
Case 11/17/215 Information Sharing In Supply Chains: An Empirical and Theoretical Valuation Ruomeng Cui (Kelley School of Business) Gad Allon (Kellogg School of Management) Achal Bassamboo (Kellogg School
More informationEstimating 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 informationLecture 5: Unit Roots, Cointegration and Error Correction Models The Spurious Regression Problem
Lecture 5: Unit Roots, Cointegration and Error Correction Models The Spurious Regression Problem Prof. Massimo Guidolin 20192 Financial Econometrics Winter/Spring 2018 Overview Stochastic vs. deterministic
More informationBox-Jenkins ARIMA Advanced Time Series
Box-Jenkins ARIMA Advanced Time Series www.realoptionsvaluation.com ROV Technical Papers Series: Volume 25 Theory In This Issue 1. Learn about Risk Simulator s ARIMA and Auto ARIMA modules. 2. Find out
More informationDecision 411: Class 9. HW#3 issues
Decision 411: Class 9 Presentation/discussion of HW#3 Introduction to ARIMA models Rules for fitting nonseasonal models Differencing and stationarity Reading the tea leaves : : ACF and PACF plots Unit
More informationStatistics 910, #5 1. Regression Methods
Statistics 910, #5 1 Overview Regression Methods 1. Idea: effects of dependence 2. Examples of estimation (in R) 3. Review of regression 4. Comparisons and relative efficiencies Idea Decomposition Well-known
More informationMore 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