Rob J Hyndman. Forecasting using. 11. Dynamic regression OTexts.com/fpp/9/1/ Forecasting using R 1


 Cory Parsons
 2 years ago
 Views:
Transcription
1 Rob J Hyndman Forecasting using 11. Dynamic regression OTexts.com/fpp/9/1/ Forecasting using R 1
2 Outline 1 Regression with ARIMA errors 2 Example: Japanese cars 3 Using Fourier terms for seasonality 4 Example: Sales of petroleum & coal products Forecasting using R Regression with ARIMA errors 2
3 Regression with ARIMA errors Regression models y t = b 0 + b 1 x 1,t + + b k x k,t + n t y t modeled as function of k explanatory variables x 1,t,..., x k,t. Usually, we assume that n t is WN. Now we want to allow n t to be autocorrelated. Example: n t = ARIMA(1,1,1) y t = b 0 + b 1 x 1,t + + b k x k,t + n t where (1 φ 1 B)(1 B)n t = (1 θ 1 B)e t and e t is white noise. Forecasting using R Regression with ARIMA errors 3
4 Regression with ARIMA errors Regression models y t = b 0 + b 1 x 1,t + + b k x k,t + n t y t modeled as function of k explanatory variables x 1,t,..., x k,t. Usually, we assume that n t is WN. Now we want to allow n t to be autocorrelated. Example: n t = ARIMA(1,1,1) y t = b 0 + b 1 x 1,t + + b k x k,t + n t where (1 φ 1 B)(1 B)n t = (1 θ 1 B)e t and e t is white noise. Forecasting using R Regression with ARIMA errors 3
5 Regression with ARIMA errors Regression models y t = b 0 + b 1 x 1,t + + b k x k,t + n t y t modeled as function of k explanatory variables x 1,t,..., x k,t. Usually, we assume that n t is WN. Now we want to allow n t to be autocorrelated. Example: n t = ARIMA(1,1,1) y t = b 0 + b 1 x 1,t + + b k x k,t + n t where (1 φ 1 B)(1 B)n t = (1 θ 1 B)e t and e t is white noise. Forecasting using R Regression with ARIMA errors 3
6 Regression with ARIMA errors Regression models y t = b 0 + b 1 x 1,t + + b k x k,t + n t y t modeled as function of k explanatory variables x 1,t,..., x k,t. Usually, we assume that n t is WN. Now we want to allow n t to be autocorrelated. Example: n t = ARIMA(1,1,1) y t = b 0 + b 1 x 1,t + + b k x k,t + n t where (1 φ 1 B)(1 B)n t = (1 θ 1 B)e t and e t is white noise. Forecasting using R Regression with ARIMA errors 3
7 Regression with ARIMA errors Regression models y t = b 0 + b 1 x 1,t + + b k x k,t + n t y t modeled as function of k explanatory variables x 1,t,..., x k,t. Usually, we assume that n t is WN. Now we want to allow n t to be autocorrelated. Example: n t = ARIMA(1,1,1) y t = b 0 + b 1 x 1,t + + b k x k,t + n t where (1 φ 1 B)(1 B)n t = (1 θ 1 B)e t and e t is white noise. Forecasting using R Regression with ARIMA errors 3
8 Residuals and errors Example: n t = ARIMA(1,1,1) where y t = b 0 + b 1 x 1,t + + b k x k,t + n t (1 φ 1 B)(1 B)n t = (1 θ 1 B)e t Be careful in distinguishing n t from e t. n t are the errors and e t are the residuals. In ordinary regression, n t is assumed to be white noise and so n t = e t. After differencing all variables y t = b 1 x 1,t + + b k x k,t + n t. Now a regression with ARMA(1,1) error Forecasting using R Regression with ARIMA errors 4
9 Residuals and errors Example: n t = ARIMA(1,1,1) where y t = b 0 + b 1 x 1,t + + b k x k,t + n t (1 φ 1 B)(1 B)n t = (1 θ 1 B)e t Be careful in distinguishing n t from e t. n t are the errors and e t are the residuals. In ordinary regression, n t is assumed to be white noise and so n t = e t. After differencing all variables y t = b 1 x 1,t + + b k x k,t + n t. Now a regression with ARMA(1,1) error Forecasting using R Regression with ARIMA errors 4
10 Residuals and errors Example: n t = ARIMA(1,1,1) where y t = b 0 + b 1 x 1,t + + b k x k,t + n t (1 φ 1 B)(1 B)n t = (1 θ 1 B)e t Be careful in distinguishing n t from e t. n t are the errors and e t are the residuals. In ordinary regression, n t is assumed to be white noise and so n t = e t. After differencing all variables y t = b 1 x 1,t + + b k x k,t + n t. Now a regression with ARMA(1,1) error Forecasting using R Regression with ARIMA errors 4
11 Residuals and errors Example: n t = ARIMA(1,1,1) where y t = b 0 + b 1 x 1,t + + b k x k,t + n t (1 φ 1 B)(1 B)n t = (1 θ 1 B)e t Be careful in distinguishing n t from e t. n t are the errors and e t are the residuals. In ordinary regression, n t is assumed to be white noise and so n t = e t. After differencing all variables y t = b 1 x 1,t + + b k x k,t + n t. Now a regression with ARMA(1,1) error Forecasting using R Regression with ARIMA errors 4
12 Residuals and errors Example: n t = ARIMA(1,1,1) where y t = b 0 + b 1 x 1,t + + b k x k,t + n t (1 φ 1 B)(1 B)n t = (1 θ 1 B)e t Be careful in distinguishing n t from e t. n t are the errors and e t are the residuals. In ordinary regression, n t is assumed to be white noise and so n t = e t. After differencing all variables y t = b 1 x 1,t + + b k x k,t + n t. Now a regression with ARMA(1,1) error Forecasting using R Regression with ARIMA errors 4
13 Residuals and errors Example: n t = ARIMA(1,1,1) where y t = b 0 + b 1 x 1,t + + b k x k,t + n t (1 φ 1 B)(1 B)n t = (1 θ 1 B)e t Be careful in distinguishing n t from e t. n t are the errors and e t are the residuals. In ordinary regression, n t is assumed to be white noise and so n t = e t. After differencing all variables y t = b 1 x 1,t + + b k x k,t + n t. Now a regression with ARMA(1,1) error Forecasting using R Regression with ARIMA errors 4
14 Regression with ARIMA errors Any regression with an ARIMA error can be rewritten as a regression with an ARMA error by differencing all variables with the same differencing operator as in the ARIMA model. Original data y t = b 0 + b 1 x 1,t + + b k x k,t + n t where φ(b)(1 B) d n t = θ(b)e t After differencing all variables y t = b 1 x 1,t + + b k x k,t + n t. where φ(b)n t = θ(b)e t and y t = (1 B) d y t, etc. Forecasting using R Regression with ARIMA errors 5
15 Regression with ARIMA errors Any regression with an ARIMA error can be rewritten as a regression with an ARMA error by differencing all variables with the same differencing operator as in the ARIMA model. Original data y t = b 0 + b 1 x 1,t + + b k x k,t + n t where φ(b)(1 B) d n t = θ(b)e t After differencing all variables y t = b 1 x 1,t + + b k x k,t + n t. where φ(b)n t = θ(b)e t and y t = (1 B) d y t, etc. Forecasting using R Regression with ARIMA errors 5
16 Regression with ARIMA errors Any regression with an ARIMA error can be rewritten as a regression with an ARMA error by differencing all variables with the same differencing operator as in the ARIMA model. Original data y t = b 0 + b 1 x 1,t + + b k x k,t + n t where φ(b)(1 B) d n t = θ(b)e t After differencing all variables y t = b 1 x 1,t + + b k x k,t + n t. where φ(b)n t = θ(b)e t and y t = (1 B) d y t, etc. Forecasting using R Regression with ARIMA errors 5
17 Modeling procedure Problems with OLS and autocorrelated errors 1 OLS no longer the best way to compute coefficients as it does not take account of timerelationships in data. 2 Standard errors of coefficients are incorrect most likely too small. This invalidates tests and prediction intervals. Second problem more serious because it can lead to misleading results. If standard errors obtained using OLS too small, some explanatory variables may appear to be significant when, in fact, they are not. This is known as spurious regression. Forecasting using R Regression with ARIMA errors 6
18 Modeling procedure Problems with OLS and autocorrelated errors 1 OLS no longer the best way to compute coefficients as it does not take account of timerelationships in data. 2 Standard errors of coefficients are incorrect most likely too small. This invalidates tests and prediction intervals. Second problem more serious because it can lead to misleading results. If standard errors obtained using OLS too small, some explanatory variables may appear to be significant when, in fact, they are not. This is known as spurious regression. Forecasting using R Regression with ARIMA errors 6
19 Modeling procedure Problems with OLS and autocorrelated errors 1 OLS no longer the best way to compute coefficients as it does not take account of timerelationships in data. 2 Standard errors of coefficients are incorrect most likely too small. This invalidates tests and prediction intervals. Second problem more serious because it can lead to misleading results. If standard errors obtained using OLS too small, some explanatory variables may appear to be significant when, in fact, they are not. This is known as spurious regression. Forecasting using R Regression with ARIMA errors 6
20 Modeling procedure Problems with OLS and autocorrelated errors 1 OLS no longer the best way to compute coefficients as it does not take account of timerelationships in data. 2 Standard errors of coefficients are incorrect most likely too small. This invalidates tests and prediction intervals. Second problem more serious because it can lead to misleading results. If standard errors obtained using OLS too small, some explanatory variables may appear to be significant when, in fact, they are not. This is known as spurious regression. Forecasting using R Regression with ARIMA errors 6
21 Modeling procedure Problems with OLS and autocorrelated errors 1 OLS no longer the best way to compute coefficients as it does not take account of timerelationships in data. 2 Standard errors of coefficients are incorrect most likely too small. This invalidates tests and prediction intervals. Second problem more serious because it can lead to misleading results. If standard errors obtained using OLS too small, some explanatory variables may appear to be significant when, in fact, they are not. This is known as spurious regression. Forecasting using R Regression with ARIMA errors 6
22 Modeling procedure Estimation only works when all predictor variables are deterministic or stationary and the errors are stationary. So difference stochastic variables as required until all variables appear stationary. Then fit model with ARMA errors. auto.arima() will handle order selection and differencing (but only checks that errors are stationary). Forecasting using R Regression with ARIMA errors 7
23 Modeling procedure Estimation only works when all predictor variables are deterministic or stationary and the errors are stationary. So difference stochastic variables as required until all variables appear stationary. Then fit model with ARMA errors. auto.arima() will handle order selection and differencing (but only checks that errors are stationary). Forecasting using R Regression with ARIMA errors 7
24 Modeling procedure Estimation only works when all predictor variables are deterministic or stationary and the errors are stationary. So difference stochastic variables as required until all variables appear stationary. Then fit model with ARMA errors. auto.arima() will handle order selection and differencing (but only checks that errors are stationary). Forecasting using R Regression with ARIMA errors 7
25 Outline 1 Regression with ARIMA errors 2 Example: Japanese cars 3 Using Fourier terms for seasonality 4 Example: Sales of petroleum & coal products Forecasting using R Example: Japanese cars 8
26 Example: Japanese cars Japanese motor vehicle production millions Year Forecasting using R Example: Japanese cars 9
27 Example: Japanese cars Japanese motor vehicle production millions Proposed model: linear trend plus correlated errors. y t = a + bt + n t where n t is ARMA process Year Forecasting using R Example: Japanese cars 9
28 Example: Japanese cars Errors from linear trend model ACF PACF Lag Lag Forecasting using R Example: Japanese cars 10
29 Example: Japanese cars 1 We will fit a linear trend model: y t = a + bx t + n t where x t = t auto.arima chooses an AR(1) model for n t. 3 Full model is y t = a + bx t + n t where n t = φ 1 n t 1 + e t and e t is a white noise series. Forecasting using R Example: Japanese cars 11
30 Example: Japanese cars 1 We will fit a linear trend model: y t = a + bx t + n t where x t = t auto.arima chooses an AR(1) model for n t. 3 Full model is y t = a + bx t + n t where n t = φ 1 n t 1 + e t and e t is a white noise series. Forecasting using R Example: Japanese cars 11
31 Example: Japanese cars 1 We will fit a linear trend model: y t = a + bx t + n t where x t = t auto.arima chooses an AR(1) model for n t. 3 Full model is y t = a + bx t + n t where n t = φ 1 n t 1 + e t and e t is a white noise series. Forecasting using R Example: Japanese cars 11
32 Example: Japanese cars Parameter Estimate Standard Error AR(1) φ Intercept a Slope b We need to check that the residuals (e t ) look like white noise. Forecasting using R Example: Japanese cars 12
33 Example: Japanese cars Parameter Estimate Standard Error AR(1) φ Intercept a Slope b We need to check that the residuals (e t ) look like white noise. Forecasting using R Example: Japanese cars 12
34 Example: Japanese cars Residuals from linear trend + AR(1) model ACF PACF Lag Lag Forecasting using R Example: Japanese cars 13
35 Example: Japanese cars Forecasts from linear trend + AR(1) errors millions Forecasting using R Example: Japanese cars 14
36 Example: Japanese cars > fit2 < auto.arima(x) ARIMA(0,1,0) with drift Coefficients: drift s.e sigma^2 estimated as : log likelihood = AIC = AICc = 31.9 BIC = 33.8 Forecasting using R Example: Japanese cars 15
37 Example: Japanese cars Forecasts from ARIMA(0,1,0) with drift millions Forecasting using R Example: Japanese cars 16
38 Example: Japanese cars Forecasts from linear trend + AR(1) errors millions Forecasting using R Example: Japanese cars 16
39 Outline 1 Regression with ARIMA errors 2 Example: Japanese cars 3 Using Fourier terms for seasonality 4 Example: Sales of petroleum & coal products Forecasting using R Using Fourier terms for seasonality 17
40 Fourier series Any periodic function of period m can be approximated using K { ( ) ( )} 2πkt 2πkt sin + cos m m k=1 The approximation can be made exact with large K. Each k represents a harmonic. fourier generates a matrix of Fourier terms. Example fit < auto.arima(y, seasonal=false, xreg=fourier(y, K=3)) Forecasting using R Using Fourier terms for seasonality 18
41 Fourier series Any periodic function of period m can be approximated using K { ( ) ( )} 2πkt 2πkt sin + cos m m k=1 The approximation can be made exact with large K. Each k represents a harmonic. fourier generates a matrix of Fourier terms. Example fit < auto.arima(y, seasonal=false, xreg=fourier(y, K=3)) Forecasting using R Using Fourier terms for seasonality 18
42 Fourier series Any periodic function of period m can be approximated using K { ( ) ( )} 2πkt 2πkt sin + cos m m k=1 The approximation can be made exact with large K. Each k represents a harmonic. fourier generates a matrix of Fourier terms. Example fit < auto.arima(y, seasonal=false, xreg=fourier(y, K=3)) Forecasting using R Using Fourier terms for seasonality 18
43 Fourier series Any periodic function of period m can be approximated using K { ( ) ( )} 2πkt 2πkt sin + cos m m k=1 The approximation can be made exact with large K. Each k represents a harmonic. fourier generates a matrix of Fourier terms. Example fit < auto.arima(y, seasonal=false, xreg=fourier(y, K=3)) Forecasting using R Using Fourier terms for seasonality 18
44 Fourier series Any periodic function of period m can be approximated using K { ( ) ( )} 2πkt 2πkt sin + cos m m k=1 The approximation can be made exact with large K. Each k represents a harmonic. fourier generates a matrix of Fourier terms. Example fit < auto.arima(y, seasonal=false, xreg=fourier(y, K=3)) Forecasting using R Using Fourier terms for seasonality 18
45 Outline 1 Regression with ARIMA errors 2 Example: Japanese cars 3 Using Fourier terms for seasonality 4 Example: Sales of petroleum & coal products Forecasting using R Example: Sales of petroleum & coal products 19
46 Example: Sales of petroleum & coal products Sales: Petroleum and coal products Sales: Chemicals and allied products Bituminous Coal production Sales: Motor Vehicles and parts U.S. monthly sales: Jan 1971 Dec Forecasting using R Example: Sales of petroleum & coal products 20
47 Example: Sales of petroleum & coal products Log Sales: Petroleum & Coal products Log Sales: Chemicals & allied products Log Bituminous Coal production Log Sales: Motor Vehicles and parts Forecasting using R Example: Sales of petroleum & coal products 21
48 Example: Sales of petroleum & coal products Log Sales: Petroleum & Coal products Log Sales: Chemicals & allied products Log Bituminous Coal production Log Sales: Motor Vehicles and parts Series clearly nonstationary, so difference. Forecasting using R Example: Sales of petroleum & coal products 21
49 Example: Sales of petroleum & coal products y t = b 1 x 1,t + b 2 x 2,t + b 3 x 3,t + n t y t = log petroleum sales x 1,t = log chemical sales x 2,t = log coal production x 3,t = log motor vehicle and parts sales. auto.arima selects an ARIMA(0,0,1)(1,0,2) 12 model for n t. Full model is y t = b 1 x 1,t + b 2 x 2,t + b 3 x 3,t + n t (1 Φ 1 B 12 )(1 B)n t = (1+θ 1 B)(1+Θ 1 B 12 +Θ 2 B 24 )e t. Forecasting using R Example: Sales of petroleum & coal products 22
50 Example: Sales of petroleum & coal products y t = b 1 x 1,t + b 2 x 2,t + b 3 x 3,t + n t y t = log petroleum sales x 1,t = log chemical sales x 2,t = log coal production x 3,t = log motor vehicle and parts sales. auto.arima selects an ARIMA(0,0,1)(1,0,2) 12 model for n t. Full model is y t = b 1 x 1,t + b 2 x 2,t + b 3 x 3,t + n t (1 Φ 1 B 12 )(1 B)n t = (1+θ 1 B)(1+Θ 1 B 12 +Θ 2 B 24 )e t. Forecasting using R Example: Sales of petroleum & coal products 22
51 Example: Sales of petroleum & coal products y t = b 1 x 1,t + b 2 x 2,t + b 3 x 3,t + n t y t = log petroleum sales x 1,t = log chemical sales x 2,t = log coal production x 3,t = log motor vehicle and parts sales. auto.arima selects an ARIMA(0,0,1)(1,0,2) 12 model for n t. Full model is y t = b 1 x 1,t + b 2 x 2,t + b 3 x 3,t + n t (1 Φ 1 B 12 )(1 B)n t = (1+θ 1 B)(1+Θ 1 B 12 +Θ 2 B 24 )e t. Forecasting using R Example: Sales of petroleum & coal products 22
52 Example: Sales of petroleum & coal products Parameter Estimate S.E MA(1) θ Seasonal AR(1) Φ Seasonal MA(1) Θ Seasonal MA(2) Θ Log Chemicals b Log Coal b Log Vehicles b AIC = Consider dropping motor vehicles and parts variable: AIC= Forecasting using R Example: Sales of petroleum & coal products 23
53 Example: Sales of petroleum & coal products Parameter Estimate S.E MA(1) θ Seasonal AR(1) Φ Seasonal MA(1) Θ Seasonal MA(2) Θ Log Chemicals b Log Coal b Log Vehicles b AIC = Consider dropping motor vehicles and parts variable: AIC= Forecasting using R Example: Sales of petroleum & coal products 23
54 Forecasting To forecast a regression model with ARIMA errors, we need to forecast the regression part of the model and the ARIMA part of the model and combine the results. When future predictors are unknown, they need to be forecast first. Forecasts of macroeconomic variables may be obtained from the national statistical offices. Separate forecasting models may be needed for other explanatory variables. Some explanatory variable are known into the future (e.g., time, dummies). Forecasting using R Example: Sales of petroleum & coal products 24
55 Forecasting To forecast a regression model with ARIMA errors, we need to forecast the regression part of the model and the ARIMA part of the model and combine the results. When future predictors are unknown, they need to be forecast first. Forecasts of macroeconomic variables may be obtained from the national statistical offices. Separate forecasting models may be needed for other explanatory variables. Some explanatory variable are known into the future (e.g., time, dummies). Forecasting using R Example: Sales of petroleum & coal products 24
56 Forecasting To forecast a regression model with ARIMA errors, we need to forecast the regression part of the model and the ARIMA part of the model and combine the results. When future predictors are unknown, they need to be forecast first. Forecasts of macroeconomic variables may be obtained from the national statistical offices. Separate forecasting models may be needed for other explanatory variables. Some explanatory variable are known into the future (e.g., time, dummies). Forecasting using R Example: Sales of petroleum & coal products 24
57 Forecasting To forecast a regression model with ARIMA errors, we need to forecast the regression part of the model and the ARIMA part of the model and combine the results. When future predictors are unknown, they need to be forecast first. Forecasts of macroeconomic variables may be obtained from the national statistical offices. Separate forecasting models may be needed for other explanatory variables. Some explanatory variable are known into the future (e.g., time, dummies). Forecasting using R Example: Sales of petroleum & coal products 24
58 Forecasting To forecast a regression model with ARIMA errors, we need to forecast the regression part of the model and the ARIMA part of the model and combine the results. When future predictors are unknown, they need to be forecast first. Forecasts of macroeconomic variables may be obtained from the national statistical offices. Separate forecasting models may be needed for other explanatory variables. Some explanatory variable are known into the future (e.g., time, dummies). Forecasting using R Example: Sales of petroleum & coal products 24
TIME SERIES ANALYSIS
TIME SERIES ANALYSIS L.M. BHAR AND V.K.SHARMA Indian Agricultural Statistics Research Institute Library Avenue, New Delhi0 02 lmb@iasri.res.in. Introduction Time series (TS) data refers to observations
More informationTime Series  ARIMA Models. Instructor: G. William Schwert
APS 425 Fall 25 Time Series : ARIMA Models Instructor: G. William Schwert 585275247 schwert@schwert.ssb.rochester.edu Topics Typical time series plot Pattern recognition in auto and partial autocorrelations
More informationChapter 9: Univariate Time Series Analysis
Chapter 9: Univariate Time Series Analysis In the last chapter we discussed models with only lags of explanatory variables. These can be misleading if: 1. The dependent variable Y t depends on lags of
More informationUnivariate and Multivariate Methods PEARSON. Addison Wesley
Time Series Analysis Univariate and Multivariate Methods SECOND EDITION William W. S. Wei Department of Statistics The Fox School of Business and Management Temple University PEARSON Addison Wesley Boston
More informationUnivariate Time Series Analysis; ARIMA Models
Econometrics 2 Spring 25 Univariate Time Series Analysis; ARIMA Models Heino Bohn Nielsen of4 Outline of the Lecture () Introduction to univariate time series analysis. (2) Stationarity. (3) Characterizing
More informationAnalysis of algorithms of time series analysis for forecasting sales
SAINTPETERSBURG STATE UNIVERSITY Mathematics & Mechanics Faculty Chair of Analytical Information Systems Garipov Emil Analysis of algorithms of time series analysis for forecasting sales Course Work Scientific
More informationLuciano Rispoli Department of Economics, Mathematics and Statistics Birkbeck College (University of London)
Luciano Rispoli Department of Economics, Mathematics and Statistics Birkbeck College (University of London) 1 Forecasting: definition Forecasting is the process of making statements about events whose
More informationCOMP6053 lecture: Time series analysis, autocorrelation. jn2@ecs.soton.ac.uk
COMP6053 lecture: Time series analysis, autocorrelation jn2@ecs.soton.ac.uk Time series analysis The basic idea of time series analysis is simple: given an observed sequence, how can we build a model that
More informationTime Series Analysis
Time Series Analysis Identifying possible ARIMA models Andrés M. Alonso Carolina GarcíaMartos Universidad Carlos III de Madrid Universidad Politécnica de Madrid June July, 2012 Alonso and GarcíaMartos
More informationChapter 7 The ARIMA Procedure. Chapter Table of Contents
Chapter 7 Chapter Table of Contents OVERVIEW...193 GETTING STARTED...194 TheThreeStagesofARIMAModeling...194 IdentificationStage...194 Estimation and Diagnostic Checking Stage...... 200 Forecasting Stage...205
More informationADVANCED FORECASTING MODELS USING SAS SOFTWARE
ADVANCED FORECASTING MODELS USING SAS SOFTWARE Girish Kumar Jha IARI, Pusa, New Delhi 110 012 gjha_eco@iari.res.in 1. Transfer Function Model Univariate ARIMA models are useful for analysis and forecasting
More informationTIME SERIES ANALYSIS
TIME SERIES ANALYSIS Ramasubramanian V. I.A.S.R.I., Library Avenue, New Delhi 110 012 ram_stat@yahoo.co.in 1. Introduction A Time Series (TS) is a sequence of observations ordered in time. Mostly these
More informationIntegrated Resource Plan
Integrated Resource Plan March 19, 2004 PREPARED FOR KAUA I ISLAND UTILITY COOPERATIVE LCG Consulting 4962 El Camino Real, Suite 112 Los Altos, CA 94022 6509629670 1 IRP 1 ELECTRIC LOAD FORECASTING 1.1
More informationITSMR Reference Manual
ITSMR Reference Manual George Weigt June 5, 2015 1 Contents 1 Introduction 3 1.1 Time series analysis in a nutshell............................... 3 1.2 White Noise Variance.....................................
More informationA Multiplicative Seasonal BoxJenkins Model to Nigerian Stock Prices
A Multiplicative Seasonal BoxJenkins Model to Nigerian Stock Prices Ette Harrison Etuk Department of Mathematics/Computer Science, Rivers State University of Science and Technology, Nigeria Email: ettetuk@yahoo.com
More informationState Space Time Series Analysis
State Space Time Series Analysis p. 1 State Space Time Series Analysis Siem Jan Koopman http://staff.feweb.vu.nl/koopman Department of Econometrics VU University Amsterdam Tinbergen Institute 2011 State
More informationPITFALLS IN TIME SERIES ANALYSIS. Cliff Hurvich Stern School, NYU
PITFALLS IN TIME SERIES ANALYSIS Cliff Hurvich Stern School, NYU The t Test If x 1,..., x n are independent and identically distributed with mean 0, and n is not too small, then t = x 0 s n has a standard
More informationAdvanced timeseries analysis
UCL DEPARTMENT OF SECURITY AND CRIME SCIENCE Advanced timeseries analysis Lisa Tompson Research Associate UCL Jill Dando Institute of Crime Science l.tompson@ucl.ac.uk Overview Fundamental principles
More informationSome useful concepts in univariate time series analysis
Some useful concepts in univariate time series analysis Autoregressive moving average models Autocorrelation functions Model Estimation Diagnostic measure Model selection Forecasting Assumptions: 1. Nonseasonal
More information9th Russian Summer School in Information Retrieval Big Data Analytics with R
9th Russian Summer School in Information Retrieval Big Data Analytics with R Introduction to Time Series with R A. Karakitsiou A. Migdalas Industrial Logistics, ETS Institute Luleå University of Technology
More informationTime Series Analysis
JUNE 2012 Time Series Analysis CONTENT A time series is a chronological sequence of observations on a particular variable. Usually the observations are taken at regular intervals (days, months, years),
More informationUnivariate Time Series Analysis; ARIMA Models
Econometrics 2 Fall 25 Univariate Time Series Analysis; ARIMA Models Heino Bohn Nielsen of4 Univariate Time Series Analysis We consider a single time series, y,y 2,..., y T. We want to construct simple
More information5. Multiple regression
5. Multiple regression QBUS6840 Predictive Analytics https://www.otexts.org/fpp/5 QBUS6840 Predictive Analytics 5. Multiple regression 2/39 Outline Introduction to multiple linear regression Some useful
More informationTime Series Analysis
Time Series Analysis hm@imm.dtu.dk Informatics and Mathematical Modelling Technical University of Denmark DK2800 Kgs. Lyngby 1 Outline of the lecture Identification of univariate time series models, cont.:
More informationMGT 267 PROJECT. Forecasting the United States Retail Sales of the Pharmacies and Drug Stores. Done by: Shunwei Wang & Mohammad Zainal
MGT 267 PROJECT Forecasting the United States Retail Sales of the Pharmacies and Drug Stores Done by: Shunwei Wang & Mohammad Zainal Dec. 2002 The retail sale (Million) ABSTRACT The present study aims
More informationChapter 27 Using Predictor Variables. Chapter Table of Contents
Chapter 27 Using Predictor Variables Chapter Table of Contents LINEAR TREND...1329 TIME TREND CURVES...1330 REGRESSORS...1332 ADJUSTMENTS...1334 DYNAMIC REGRESSOR...1335 INTERVENTIONS...1339 TheInterventionSpecificationWindow...1339
More information3. Regression & Exponential Smoothing
3. Regression & Exponential Smoothing 3.1 Forecasting a Single Time Series Two main approaches are traditionally used to model a single time series z 1, z 2,..., z n 1. Models the observation z t as a
More informationTime Series Analysis of Aviation Data
Time Series Analysis of Aviation Data Dr. Richard Xie February, 2012 What is a Time Series A time series is a sequence of observations in chorological order, such as Daily closing price of stock MSFT in
More informationTime Series Laboratory
Time Series Laboratory Computing in Weber Classrooms 205206: To log in, make sure that the DOMAIN NAME is set to MATHSTAT. Use the workshop username: primesw The password will be distributed during the
More informationUSE OF ARIMA TIME SERIES AND REGRESSORS TO FORECAST THE SALE OF ELECTRICITY
Paper PO10 USE OF ARIMA TIME SERIES AND REGRESSORS TO FORECAST THE SALE OF ELECTRICITY Beatrice Ugiliweneza, University of Louisville, Louisville, KY ABSTRACT Objectives: To forecast the sales made by
More informationTime Series Analysis: Basic Forecasting.
Time Series Analysis: Basic Forecasting. As published in Benchmarks RSS Matters, April 2015 http://web3.unt.edu/benchmarks/issues/2015/04/rssmatters Jon Starkweather, PhD 1 Jon Starkweather, PhD jonathan.starkweather@unt.edu
More informationTime Series Analysis
Time Series Analysis Autoregressive, MA and ARMA processes Andrés M. Alonso Carolina GarcíaMartos Universidad Carlos III de Madrid Universidad Politécnica de Madrid June July, 212 Alonso and GarcíaMartos
More information4. Simple regression. QBUS6840 Predictive Analytics. https://www.otexts.org/fpp/4
4. Simple regression QBUS6840 Predictive Analytics https://www.otexts.org/fpp/4 Outline The simple linear model Least squares estimation Forecasting with regression Nonlinear functional forms Regression
More informationIntroduction to Time Series Analysis. Lecture 1.
Introduction to Time Series Analysis. Lecture 1. Peter Bartlett 1. Organizational issues. 2. Objectives of time series analysis. Examples. 3. Overview of the course. 4. Time series models. 5. Time series
More informationA Study on the Comparison of Electricity Forecasting Models: Korea and China
Communications for Statistical Applications and Methods 2015, Vol. 22, No. 6, 675 683 DOI: http://dx.doi.org/10.5351/csam.2015.22.6.675 Print ISSN 22877843 / Online ISSN 23834757 A Study on the Comparison
More informationIBM SPSS Forecasting 22
IBM SPSS Forecasting 22 Note Before using this information and the product it supports, read the information in Notices on page 33. Product Information This edition applies to version 22, release 0, modification
More information(More Practice With Trend Forecasts)
Stats for Strategy HOMEWORK 11 (Topic 11 Part 2) (revised Jan. 2016) DIRECTIONS/SUGGESTIONS You may conveniently write answers to Problems A and B within these directions. Some exercises include special
More informationThe SAS Time Series Forecasting System
The SAS Time Series Forecasting System An Overview for Public Health Researchers Charles DiMaggio, PhD College of Physicians and Surgeons Departments of Anesthesiology and Epidemiology Columbia University
More informationAn Introduction to Time Series Regression
An Introduction to Time Series Regression Henry Thompson Auburn University An economic model suggests examining the effect of exogenous x t on endogenous y t with an exogenous control variable z t. In
More informationDiscrete Time Series Analysis with ARMA Models
Discrete Time Series Analysis with ARMA Models Veronica Sitsofe Ahiati (veronica@aims.ac.za) African Institute for Mathematical Sciences (AIMS) Supervised by Tina Marquardt Munich University of Technology,
More informationAnalysis and Computation for Finance Time Series  An Introduction
ECMM703 Analysis and Computation for Finance Time Series  An Introduction Alejandra González Harrison 161 Email: mag208@exeter.ac.uk Time Series  An Introduction A time series is a sequence of observations
More informationSales forecasting # 2
Sales forecasting # 2 Arthur Charpentier arthur.charpentier@univrennes1.fr 1 Agenda Qualitative and quantitative methods, a very general introduction Series decomposition Short versus long term forecasting
More informationTime Series Analysis
Time Series Analysis Forecasting with ARIMA models Andrés M. Alonso Carolina GarcíaMartos Universidad Carlos III de Madrid Universidad Politécnica de Madrid June July, 2012 Alonso and GarcíaMartos (UC3MUPM)
More informationUsing JMP Version 4 for Time Series Analysis Bill Gjertsen, SAS, Cary, NC
Using JMP Version 4 for Time Series Analysis Bill Gjertsen, SAS, Cary, NC Abstract Three examples of time series will be illustrated. One is the classical airline passenger demand data with definite seasonal
More informationLecture 4: Seasonal Time Series, Trend Analysis & Component Model Bus 41910, Time Series Analysis, Mr. R. Tsay
Lecture 4: Seasonal Time Series, Trend Analysis & Component Model Bus 41910, Time Series Analysis, Mr. R. Tsay Business cycle plays an important role in economics. In time series analysis, business cycle
More informationForecasting areas and production of rice in India using ARIMA model
International Journal of Farm Sciences 4(1) :99106, 2014 Forecasting areas and production of rice in India using ARIMA model K PRABAKARAN and C SIVAPRAGASAM* Agricultural College and Research Institute,
More informationForecasting Share Prices of Axis and ICICI Banks by Econometric Modeling
Forecasting Share Prices of Axis and ICICI Banks by Econometric Modeling Monika Saxena Assistant Professor Indus Business Academy Knowledge Park 3, Plot No 44 Greater Noida India Abstract The objective
More informationSales and operations planning (SOP) Demand forecasting
ing, introduction Sales and operations planning (SOP) forecasting To balance supply with demand and synchronize all operational plans Capture demand data forecasting Balancing of supply, demand, and budgets.
More informationTime Series Analysis of Stock Prices Using the Box Jenkins Approach
Georgia Southern University Digital Commons@Georgia Southern Electronic Theses & Dissertations Jack N. Averitt College of Graduate Studies (COGS) Time Series Analysis of Stock Prices Using the Box Jenkins
More informationBooth School of Business, University of Chicago Business 41202, Spring Quarter 2015, Mr. Ruey S. Tsay. Solutions to Midterm
Booth School of Business, University of Chicago Business 41202, Spring Quarter 2015, Mr. Ruey S. Tsay Solutions to Midterm Problem A: (30 pts) Answer briefly the following questions. Each question has
More informationForecasting Thai Gold Prices
1 Forecasting Thai Gold Prices Pravit Khaemasunun This paper addresses forecasting Thai gold price. Two forecasting models, namely, MultipleRegression, and AutoRegressive Integrated Moving Average (ARIMA),
More informationTraffic Safety Facts. Research Note. Time Series Analysis and Forecast of Crash Fatalities during Six Holiday Periods Cejun Liu* and ChouLin Chen
Traffic Safety Facts Research Note March 2004 DOT HS 809 718 Time Series Analysis and Forecast of Crash Fatalities during Six Holiday Periods Cejun Liu* and ChouLin Chen Summary This research note uses
More informationARMA, GARCH and Related Option Pricing Method
ARMA, GARCH and Related Option Pricing Method Author: Yiyang Yang Advisor: Pr. Xiaolin Li, Pr. Zari Rachev Department of Applied Mathematics and Statistics State University of New York at Stony Brook September
More informationPromotional Forecast Demonstration
Exhibit 2: Promotional Forecast Demonstration Consider the problem of forecasting for a proposed promotion that will start in December 1997 and continues beyond the forecast horizon. Assume that the promotion
More informationTime Series Analysis and Forecasting
Time Series Analysis and Forecasting Math 667 Al Nosedal Department of Mathematics Indiana University of Pennsylvania Time Series Analysis and Forecasting p. 1/11 Introduction Many decisionmaking applications
More informationThreshold Autoregressive Models in Finance: A Comparative Approach
University of Wollongong Research Online Applied Statistics Education and Research Collaboration (ASEARC)  Conference Papers Faculty of Informatics 2011 Threshold Autoregressive Models in Finance: A Comparative
More informationTrend and Seasonal Components
Chapter 2 Trend and Seasonal Components If the plot of a TS reveals an increase of the seasonal and noise fluctuations with the level of the process then some transformation may be necessary before doing
More informationForecasting of Paddy Production in Sri Lanka: A Time Series Analysis using ARIMA Model
Tropical Agricultural Research Vol. 24 (): 23 (22) Forecasting of Paddy Production in Sri Lanka: A Time Series Analysis using ARIMA Model V. Sivapathasundaram * and C. Bogahawatte Postgraduate Institute
More informationEstimating an ARMA Process
Statistics 910, #12 1 Overview Estimating an ARMA Process 1. Main ideas 2. Fitting autoregressions 3. Fitting with moving average components 4. Standard errors 5. Examples 6. Appendix: Simple estimators
More informationStudying Achievement
Journal of Business and Economics, ISSN 21557950, USA November 2014, Volume 5, No. 11, pp. 20522056 DOI: 10.15341/jbe(21557950)/11.05.2014/009 Academic Star Publishing Company, 2014 http://www.academicstar.us
More informationBivariate Regression Analysis. The beginning of many types of regression
Bivariate Regression Analysis The beginning of many types of regression TOPICS Beyond Correlation Forecasting Two points to estimate the slope Meeting the BLUE criterion The OLS method Purpose of Regression
More informationIBM SPSS Forecasting 21
IBM SPSS Forecasting 21 Note: Before using this information and the product it supports, read the general information under Notices on p. 107. This edition applies to IBM SPSS Statistics 21 and to all
More informationLecture 2: ARMA(p,q) models (part 3)
Lecture 2: ARMA(p,q) models (part 3) Florian Pelgrin University of Lausanne, École des HEC Department of mathematics (IMEANice) Sept. 2011  Jan. 2012 Florian Pelgrin (HEC) Univariate time series Sept.
More informationTime Series Graphs. Model ACF PACF. White Noise All zeros All zeros. AR(p) Exponential Decay P significant lags before dropping to zero
Time Series Graphs Model ACF PACF White Noise All zeros All zeros AR(p) Exponential Decay P significant lags before dropping to zero MA(q) q significant lags before dropping to zero Exponential Decay ARMA(p,q)
More informationChapter 4: Vector Autoregressive Models
Chapter 4: Vector Autoregressive Models 1 Contents: Lehrstuhl für Department Empirische of Wirtschaftsforschung Empirical Research and und Econometrics Ökonometrie IV.1 Vector Autoregressive Models (VAR)...
More informationProbabilistic Forecasting of MediumTerm Electricity Demand: A Comparison of Time Series Models
Fakultät IV Department Mathematik Probabilistic of MediumTerm Electricity Demand: A Comparison of Time Series Kevin Berk and Alfred Müller SPA 2015, Oxford July 2015 Load forecasting Probabilistic forecasting
More informationARIMA Modeling With Intervention to Forecast and Analyze Chinese Stock Prices
ARIMA Modeling With Intervention to Forecast and Analyze Chinese Stock Prices Research Paper Jeffrey E Jarrett, Ph.D. 1* and Eric Kyper, Ph.D. 2 1 University of Rhode Island (USA) 2 Lynchburg College (USA)
More informationRegression and Time Series Analysis of Petroleum Product Sales in Masters. Energy oil and Gas
Regression and Time Series Analysis of Petroleum Product Sales in Masters Energy oil and Gas 1 Ezeliora Chukwuemeka Daniel 1 Department of Industrial and Production Engineering, Nnamdi Azikiwe University
More informationTime Series Analysis
Time Series 1 April 9, 2013 Time Series Analysis This chapter presents an introduction to the branch of statistics known as time series analysis. Often the data we collect in environmental studies is collected
More informationA RegimeSwitching Model for Electricity Spot Prices. Gero Schindlmayr EnBW Trading GmbH g.schindlmayr@enbw.com
A RegimeSwitching Model for Electricity Spot Prices Gero Schindlmayr EnBW Trading GmbH g.schindlmayr@enbw.com May 31, 25 A RegimeSwitching Model for Electricity Spot Prices Abstract Electricity markets
More informationAdvanced Forecasting Techniques and Models: ARIMA
Advanced Forecasting Techniques and Models: ARIMA Short Examples Series using Risk Simulator For more information please visit: www.realoptionsvaluation.com or contact us at: admin@realoptionsvaluation.com
More information2. What are the theoretical and practical consequences of autocorrelation?
Lecture 10 Serial Correlation In this lecture, you will learn the following: 1. What is the nature of autocorrelation? 2. What are the theoretical and practical consequences of autocorrelation? 3. Since
More informationAgenda. Managing Uncertainty in the Supply Chain. The Economic Order Quantity. Classic inventory theory
Agenda Managing Uncertainty in the Supply Chain TIØ485 Produkjons og nettverksøkonomi Lecture 3 Classic Inventory models Economic Order Quantity (aka Economic Lot Size) The (s,s) Inventory Policy Managing
More informationPrediction of Stock Price usingautoregressiveintegrated Moving AverageFilter Arima P,D,Q
Global Journal of Science Frontier Research Mathematics and Decision Sciences Volume 13 Issue 8 Version 1.0 Year Type : Double Blind Peer Reviewed International Research Journal Publisher: Global Journals
More informationForecasting the US Dollar / Euro Exchange rate Using ARMA Models
Forecasting the US Dollar / Euro Exchange rate Using ARMA Models LIUWEI (9906360)  1  ABSTRACT...3 1. INTRODUCTION...4 2. DATA ANALYSIS...5 2.1 Stationary estimation...5 2.2 DickeyFuller Test...6 3.
More informationSAS Syntax and Output for Data Manipulation:
Psyc 944 Example 5 page 1 Practice with Fixed and Random Effects of Time in Modeling WithinPerson Change The models for this example come from Hoffman (in preparation) chapter 5. We will be examining
More informationForecasting Stock Market Series. with ARIMA Model
Journal of Statistical and Econometric Methods, vol.3, no.3, 2014, 6577 ISSN: 22410384 (print), 22410376 (online) Scienpress Ltd, 2014 Forecasting Stock Market Series with ARIMA Model Fatai Adewole
More informationAUTOMATION OF ENERGY DEMAND FORECASTING. Sanzad Siddique, B.S.
AUTOMATION OF ENERGY DEMAND FORECASTING by Sanzad Siddique, B.S. A Thesis submitted to the Faculty of the Graduate School, Marquette University, in Partial Fulfillment of the Requirements for the Degree
More informationForecasting Using Eviews 2.0: An Overview
Forecasting Using Eviews 2.0: An Overview Some Preliminaries In what follows it will be useful to distinguish between ex post and ex ante forecasting. In terms of time series modeling, both predict values
More informationSales forecasting # 1
Sales forecasting # 1 Arthur Charpentier arthur.charpentier@univrennes1.fr 1 Agenda Qualitative and quantitative methods, a very general introduction Series decomposition Short versus long term forecasting
More informationSimple Linear Regression Inference
Simple Linear Regression Inference 1 Inference requirements The Normality assumption of the stochastic term e is needed for inference even if it is not a OLS requirement. Therefore we have: Interpretation
More informationTime Series Analysis with R  Part I. Walter Zucchini, Oleg Nenadić
Time Series Analysis with R  Part I Walter Zucchini, Oleg Nenadić Contents 1 Getting started 2 1.1 Downloading and Installing R.................... 2 1.2 Data Preparation and Import in R.................
More informationForecasting model of electricity demand in the Nordic countries. Tone Pedersen
Forecasting model of electricity demand in the Nordic countries Tone Pedersen 3/19/2014 Abstract A model implemented in order to describe the electricity demand on hourly basis for the Nordic countries.
More informationAPPLICATION OF THE VARMA MODEL FOR SALES FORECAST: CASE OF URMIA GRAY CEMENT FACTORY
APPLICATION OF THE VARMA MODEL FOR SALES FORECAST: CASE OF URMIA GRAY CEMENT FACTORY DOI: 10.2478/tjeb20140005 Ramin Bashir KHODAPARASTI 1 Samad MOSLEHI 2 To forecast sales as reliably as possible is
More informationSearch Marketing Cannibalization. Analytical Techniques to measure PPC and Organic interaction
Search Marketing Cannibalization Analytical Techniques to measure PPC and Organic interaction 2 Search Overview How People Use Search Engines Navigational Research Health/Medical Directions News Shopping
More informationNonStationary Time Series andunitroottests
Econometrics 2 Fall 2005 NonStationary Time Series andunitroottests Heino Bohn Nielsen 1of25 Introduction Many economic time series are trending. Important to distinguish between two important cases:
More informationChapter 25 Specifying Forecasting Models
Chapter 25 Specifying Forecasting Models Chapter Table of Contents SERIES DIAGNOSTICS...1281 MODELS TO FIT WINDOW...1283 AUTOMATIC MODEL SELECTION...1285 SMOOTHING MODEL SPECIFICATION WINDOW...1287 ARIMA
More informationTIMESERIES ANALYSIS, MODELLING AND FORECASTING USING SAS SOFTWARE
TIMESERIES ANALYSIS, MODELLING AND FORECASTING USING SAS SOFTWARE Ramasubramanian V. IA.S.R.I., Library Avenue, Pusa, New Delhi 110 012 ramsub@iasri.res.in 1. Introduction Time series (TS) data refers
More informationVector Time Series Model Representations and Analysis with XploRe
01 Vector Time Series Model Representations and Analysis with plore Julius Mungo CASE  Center for Applied Statistics and Economics HumboldtUniversität zu Berlin mungo@wiwi.huberlin.de plore MulTi Motivation
More informationPredicting Indian GDP. And its relation with FMCG Sales
Predicting Indian GDP And its relation with FMCG Sales GDP A Broad Measure of Economic Activity Definition The monetary value of all the finished goods and services produced within a country's borders
More informationI. Basic concepts: Buoyancy and Elasticity II. Estimating Tax Elasticity III. From Mechanical Projection to Forecast
Elements of Revenue Forecasting II: the Elasticity Approach and Projections of Revenue Components Fiscal Analysis and Forecasting Workshop Bangkok, Thailand June 16 27, 2014 Joshua Greene Consultant IMFTAOLAM
More informationExam Solutions. X t = µ + βt + A t,
Exam Solutions Please put your answers on these pages. Write very carefully and legibly. HIT Shenzhen Graduate School James E. Gentle, 2015 1. 3 points. There was a transcription error on the registrar
More informationThe VAR models discussed so fare are appropriate for modeling I(0) data, like asset returns or growth rates of macroeconomic time series.
Cointegration The VAR models discussed so fare are appropriate for modeling I(0) data, like asset returns or growth rates of macroeconomic time series. Economic theory, however, often implies equilibrium
More informationGraphical Tools for Exploring and Analyzing Data From ARIMA Time Series Models
Graphical Tools for Exploring and Analyzing Data From ARIMA Time Series Models William Q. Meeker Department of Statistics Iowa State University Ames, IA 50011 January 13, 2001 Abstract Splus is a highly
More informationFORECASTING NORTH DAKOTA FUEL TAX REVENUE AND LICENSE AND REGISTRATION FEE REVENUE
FORECASTING NORTH DAKOTA FUEL TAX REVENUE AND LICENSE AND REGISTRATION FEE REVENUE Mark Berwick Don Malchose Upper Great Plains Transportation Institute North Dakota State University Fargo, North Dakota
More informationIs the Basis of the Stock Index Futures Markets Nonlinear?
University of Wollongong Research Online Applied Statistics Education and Research Collaboration (ASEARC)  Conference Papers Faculty of Engineering and Information Sciences 2011 Is the Basis of the Stock
More informationSection A. Index. Section A. Planning, Budgeting and Forecasting Section A.2 Forecasting techniques... 1. Page 1 of 11. EduPristine CMA  Part I
Index Section A. Planning, Budgeting and Forecasting Section A.2 Forecasting techniques... 1 EduPristine CMA  Part I Page 1 of 11 Section A. Planning, Budgeting and Forecasting Section A.2 Forecasting
More information11. Time series and dynamic linear models
11. Time series and dynamic linear models Objective To introduce the Bayesian approach to the modeling and forecasting of time series. Recommended reading West, M. and Harrison, J. (1997). models, (2 nd
More informationChapter 6: Multivariate Cointegration Analysis
Chapter 6: Multivariate Cointegration Analysis 1 Contents: Lehrstuhl für Department Empirische of Wirtschaftsforschung Empirical Research and und Econometrics Ökonometrie VI. Multivariate Cointegration
More informationTHE UNIVERSITY OF CHICAGO, Booth School of Business Business 41202, Spring Quarter 2014, Mr. Ruey S. Tsay. Solutions to Homework Assignment #2
THE UNIVERSITY OF CHICAGO, Booth School of Business Business 41202, Spring Quarter 2014, Mr. Ruey S. Tsay Solutions to Homework Assignment #2 Assignment: 1. Consumer Sentiment of the University of Michigan.
More information