Open the usa.dta data set (1984q1-2009q4), create the dates and declare it as a time series. Save the data so you won t have to do this step again.

Size: px
Start display at page:

Download "Open the usa.dta data set (1984q1-2009q4), create the dates and declare it as a time series. Save the data so you won t have to do this step again."

Transcription

1 US GDP Open the usa.dta data set (1984q1-2009q4), create the dates and declare it as a time series. Save the data so you won t have to do this step again. open usa logs gdp scatters gdp diff(gdp) l_gdp diff(l_gdp) --output=display Looks like there is a trend in the level (perhaps exponential). The difference (upper right) may show a slight upward trend until the bottom dropped out in late Still, I see no reason to use logs, so I won t. Others might disagree. Now test for unit roots using the ADF-GLS test. I chose the constant and trend version, setting the maximum lag to 12 and testing down.

2 adf 12 gdp --test-down gls ct The results are: Augmented Dickey-Fuller (GLS) test for gdp including 11 lags of (1-L)gdp (max was 12) sample size 92 unit-root null hypothesis: a = 1 with constant and trend model: (1-L)y = b0 + b1*t + (a-1)*y(-1) e 1st-order autocorrelation coeff. for e: lagged differences: F(11, 80) = [0.0000] estimated value of (a - 1): test statistic: tau = % 5% 2.5% 1% Critical values: Notice that the test statistic is and is clearly not significant at even 10%. This looks nonstationary. Repeat the analysis on the differenced data. It is possible to remove the trend from the test since differencing should remove any deterministic (linear) trend from the series. Augmented Dickey-Fuller (GLS) test for d_gdp including 10 lags of (1-L)d_gdp (max was 12) sample size 92 unit-root null hypothesis: a = 1 test with constant model: (1-L)y = b0 + (a-1)*y(-1) e 1st-order autocorrelation coeff. for e: lagged differences: F(10, 81) = [0.0633] estimated value of (a - 1): test statistic: tau = asymptotic p-value This is better. The series is stationary in differences. AUTOREGRESSIONS Run the autoregressions using the stationary transformations. You will need to search for the appropriate number of lags to use. For forecasting, I ll use the SC criterion. Test the residuals for candidate model for autocorrelation using LMF or the usual Breusch-Godfrey test. ols d_gdp(0 to -1) const modtest 1 --autocorr

3 ols d_gdp(0 to -2) const modtest 1 --autocorr Model 4: OLS, using observations 1984:3-2009:4 (T = 102) Dependent variable: d_gdp coefficient std. error t-ratio p-value const e-05 *** d_gdp_ e-010 *** Mean dependent var S.D. dependent var Sum squared resid S.E. of regression R-squared Adjusted R-squared F(1, 100) P-value(F) 4.32e-10 Log-likelihood Akaike criterion Schwarz criterion Hannan-Quinn rho Durbin's h ? modtest 1 --autocorr --quiet Breusch-Godfrey test for first-order autocorrelation Test statistic: LMF = , with p-value = P(F(1,99) > ) = Alternative statistic: TR^2 = , with p-value = P(Chi-square(1) > ) = Ljung-Box Q' = , with p-value = P(Chi-square(1) > ) = 0.454? ols d_gdp(0 to -2) const Model 5: OLS, using observations 1984:4-2009:4 (T = 101) Dependent variable: d_gdp coefficient std. error t-ratio p-value const *** d_gdp_ e-06 *** d_gdp_ Mean dependent var S.D. dependent var Sum squared resid S.E. of regression R-squared Adjusted R-squared F(2, 98) P-value(F) 1.98e-09 Log-likelihood Akaike criterion Schwarz criterion Hannan-Quinn

4 rho Durbin-Watson ? modtest 1 --autocorr --quiet Breusch-Godfrey test for first-order autocorrelation Test statistic: LMF = , with p-value = P(F(1,97) > ) = Alternative statistic: TR^2 = , with p-value = P(Chi-square(1) > ) = 0.52 Ljung-Box Q' = , with p-value = P(Chi-square(1) > ) = The AR(2) has the smaller SC criterion. Also, it s LMF test for serial correlation in the residuals is not significant at 10%. ARIMA SPECIFICATION The arima command is very convenient. It can be used to take differences, add autoregressive terms, add other regressors and their lags, and add autocorrelated errors to the model (called moving average). Here is the syntax: arima Arguments: p d q [ ; P D Q ] ; depvar [ indepvars ] Options: --verbose (print details of iterations) --vcv (print covariance matrix) --hessian (see below) --opg (see below) --nc (do not include a constant) --conditional (use conditional maximum likelihood) --x-12-arima (use X-12-ARIMA for estimation) --lbfgs (use L-BFGS-B maximizer) --y-diff-only (ARIMAX special, see below) --save-ehat (see below) Examples: arima ; y arima ; y 0 x1 x2 --verbose arima ; ; y --nc If no indepvars list is given, estimates a univariate ARIMA (Autoregressive, Integrated, Moving Average) model. The values p, d and q represent the autoregressive (AR) order, the differencing order, and the moving average (MA) order respectively. These values may be given in numerical form, or as the names of pre-existing scalar variables. A d value of 1, for instance, means that the first difference of the dependent variable should be taken before estimating the ARMA parameters.

5 If you wish to include only specific AR or MA lags in the model (as opposed to all lags up to a given order) you can substitute for p and/or q either (a) the name of a pre-defined matrix containing a set of integer values or (b) an expression such as {1 4}; that is, a set of lags separated by spaces and enclosed in braces. The optional integer values P, D and Q represent the seasonal AR, order for seasonal differencing and seasonal MA order respectively. These are applicable only if the data have a frequency greater than 1 (for example, quarterly or monthly data). These orders must be given in numerical form or as scalar variables. There are actually four ways to get the same result: 1) ols regression of d_gdp onto 2 lags and a constant, 2) an unconditional arima(1,1,0) of gdp, 3) a conditional ARMAX(0,1,0) of gdp with 2 lags of the differences and a constant as regressors, and 4) a conditional arima(2,1,0) of gdp with a constant. The first option is estimated above. The second, arima 0 1 0; gdp(0 to -2) const yields Model 23: ARMAX, using observations 1984:4-2009:4 (T = 101) Estimated using least squares (= MLE) Dependent variable: (1-L) gdp coefficient std. error z p-value const *** gdp_ e-07 *** gdp_ Mean dependent var S.D. dependent var Mean of innovations -6.31e-15 S.D. of innovations Log-likelihood Akaike criterion Schwarz criterion Hannan-Quinn The third arima 0 1 0; gdp d_gdp(-1 to -2) const conditional yields Model 24: ARMAX, using observations 1984:4-2009:4 (T = 101) Estimated using least squares (conditional ML) Dependent variable: (1-L) gdp coefficient std. error z p-value

6 const *** d_gdp_ e-07 *** d_gdp_ Mean dependent var S.D. dependent var Mean of innovations -6.82e-15 S.D. of innovations Log-likelihood Akaike criterion Schwarz criterion Hannan-Quinn which is exactly the same as what we got above. Admittedly, this is a very clumsy way to estimate this model. I ve used zero AR and MA terms and merely used the arima command to take the difference of gdp. Notice that I also had to add the lagged differences manually. The conditional switch ensures that the estimation is carried out using least squares rather than maximum likelihood. Now, take fuller advantage of the arima command by removing the lagged differences in the regressors and using 2 AR terms in the arima. The respecified model is: arima 2 1 0; gdp const conditional Model 25: ARIMA, using observations 1984:4-2009:4 (T = 101) Estimated using least squares (conditional ML) Dependent variable: (1-L) gdp coefficient std. error z p-value const *** phi_ e-07 *** phi_ Mean dependent var S.D. dependent var Mean of innovations -6.82e-15 S.D. of innovations Log-likelihood Akaike criterion Schwarz criterion Hannan-Quinn Real Imaginary Modulus Frequency AR Root Root The results are identical to those above. The advantage to this approach is that you can now see that the model is stable via the root analysis produced by gretl. The moduli are both roots are greater than 1. So, in practice using the last formulation pays some dividends. Also, you can forego the conditional estimation in favor of the possibly more efficient maximum likelihood estimator.

7 FORECASTING There are several types of forecast that you might want to explore. Dynamic and static. Static forecasts are 1-step ahead forecasts based on observed observations that precede the forecasted period. Obviously, one cannot forecast further into the future than a single period (unless you reserve a hold-out sample at the end). Dynamic forecasts take the estimated model and project the estimated relationship into the future, taking forecasts to generate subsequent ones. To generate a series of 1-step ahead static forecasts, try: fcast fit1 smpl gnuplot gdp fit1 --with-lines --time-series --output=display The first line uses the fcast command to compute the forecasts and puts them into a series called fit1. Then I limit the sample from to and plot the actual and forecasted values. The two should track well. Generally, you cannot generate static forecasts beyond without making some assumptions about what the future will be. To forecast this point, add 4 observations to the sample and use fcast again.

8 smpl full dataset addobs 3 arima 2 1 0; gdp const --conditional fcast fit2 --static gdp prediction 2006: : : : : : : : : : : : : : : : : :2 2010:3 The fcast command with the static switch no computes a static forecast for but cannot do so for later periods because the realized value of gdp in is not available. To forecast farther into the future you need to compute dynamic forecasts. First, the plot of the static forecast: smpl gnuplot gdp fit2 --with-lines --time-series --output=display

9 You can see that at there is a 1-step ahead forecast that shows a slight increase in growth. Dynamic forecasting allows us to forecast out-of-sample. Add 6 more observations to the sample and forecast using the dynamic switch. For 95% confidence intervals, z(0.025) = 1.96 gdp prediction std. error 95% interval 2009: : : : : : : : : Forecast evaluation statistics Mean Error Mean Squared Error e+005 Root Mean Squared Error Mean Absolute Error 579 Mean Percentage Error

10 Mean Absolute Percentage Error Theil's U Bias proportion, UM Regression proportion, UR Disturbance proportion, UD The dynamic forecasts appear to be linear (and based on a linear AR model, they should be). SCRIPT open usa logs gdp diff gdp l_gdp scatters gdp diff(gdp) l_gdp diff(l_gdp) --output=display adf 12 gdp --test-down --gls --ct adf 12 diff(gdp) --test-down --gls --c ols d_gdp(0 to -1) const modtest 1 --autocorr --quiet ols d_gdp(0 to -2) const modtest 1 --autocorr --quiet ols d_gdp(0 to -2) const arima 0 1 0; gdp(0 to -2) const

11 arima 0 1 0; gdp d_gdp(-1 to -2) const --conditional arima 2 1 0; gdp const --conditional fcast fit1 smpl gnuplot gdp fit1 --with-lines --time-series --output=display open usa dataset addobs 5 arima 2 1 0; gdp const --conditional fcast --static fcast fit2 --static smpl gnuplot gdp fit2 --with-lines --time-series --output=display open usa arima 2 1 0; gdp const --conditional dataset addobs 6 fcast --dynamic fcast fit3 --dynamic smpl gnuplot gdp fit3 --with-lines --time-series --output=display

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

Forecasting the US Dollar / Euro Exchange rate Using ARMA Models

Forecasting 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 Dickey-Fuller Test...6 3.

More information

Advanced Forecasting Techniques and Models: ARIMA

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

Forecasting Using Eviews 2.0: An Overview

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

Time Series Analysis

Time Series Analysis Time Series Analysis Identifying possible ARIMA models Andrés M. Alonso Carolina García-Martos Universidad Carlos III de Madrid Universidad Politécnica de Madrid June July, 2012 Alonso and García-Martos

More information

Time Series Analysis

Time Series Analysis Time Series Analysis Forecasting with ARIMA models Andrés M. Alonso Carolina García-Martos Universidad Carlos III de Madrid Universidad Politécnica de Madrid June July, 2012 Alonso and García-Martos (UC3M-UPM)

More information

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

Rob J Hyndman. Forecasting using. 11. Dynamic regression OTexts.com/fpp/9/1/ Forecasting using R 1 Rob J Hyndman Forecasting using 11. Dynamic regression OTexts.com/fpp/9/1/ Forecasting using R 1 Outline 1 Regression with ARIMA errors 2 Example: Japanese cars 3 Using Fourier terms for seasonality 4

More information

3.1 Stationary Processes and Mean Reversion

3.1 Stationary Processes and Mean Reversion 3. Univariate Time Series Models 3.1 Stationary Processes and Mean Reversion Definition 3.1: A time series y t, t = 1,..., T is called (covariance) stationary if (1) E[y t ] = µ, for all t Cov[y t, y t

More information

IBM SPSS Forecasting 22

IBM 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

Performing Unit Root Tests in EViews. Unit Root Testing

Performing Unit Root Tests in EViews. Unit Root Testing Página 1 de 12 Unit Root Testing The theory behind ARMA estimation is based on stationary time series. A series is said to be (weakly or covariance) stationary if the mean and autocovariances of the series

More information

ITSM-R Reference Manual

ITSM-R Reference Manual ITSM-R 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 information

Time Series Analysis

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

The relationship between stock market parameters and interbank lending market: an empirical evidence

The relationship between stock market parameters and interbank lending market: an empirical evidence Magomet Yandiev Associate Professor, Department of Economics, Lomonosov Moscow State University mag2097@mail.ru Alexander Pakhalov, PG student, Department of Economics, Lomonosov Moscow State University

More information

Air passenger departures forecast models A technical note

Air passenger departures forecast models A technical note Ministry of Transport Air passenger departures forecast models A technical note By Haobo Wang Financial, Economic and Statistical Analysis Page 1 of 15 1. Introduction Sine 1999, the Ministry of Business,

More information

Chapter 9: Univariate Time Series Analysis

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

Testing for Granger causality between stock prices and economic growth

Testing for Granger causality between stock prices and economic growth MPRA Munich Personal RePEc Archive Testing for Granger causality between stock prices and economic growth Pasquale Foresti 2006 Online at http://mpra.ub.uni-muenchen.de/2962/ MPRA Paper No. 2962, posted

More information

Univariate Time Series Analysis; ARIMA Models

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

Wooldridge, Introductory Econometrics, 3d ed. Chapter 12: Serial correlation and heteroskedasticity in time series regressions

Wooldridge, Introductory Econometrics, 3d ed. Chapter 12: Serial correlation and heteroskedasticity in time series regressions Wooldridge, Introductory Econometrics, 3d ed. Chapter 12: Serial correlation and heteroskedasticity in time series regressions What will happen if we violate the assumption that the errors are not serially

More information

Vector Time Series Model Representations and Analysis with XploRe

Vector Time Series Model Representations and Analysis with XploRe 0-1 Vector Time Series Model Representations and Analysis with plore Julius Mungo CASE - Center for Applied Statistics and Economics Humboldt-Universität zu Berlin mungo@wiwi.hu-berlin.de plore MulTi Motivation

More information

Introduction to Regression and Data Analysis

Introduction to Regression and Data Analysis Statlab Workshop Introduction to Regression and Data Analysis with Dan Campbell and Sherlock Campbell October 28, 2008 I. The basics A. Types of variables Your variables may take several forms, and it

More information

TIME SERIES ANALYSIS

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

USE OF ARIMA TIME SERIES AND REGRESSORS TO FORECAST THE SALE OF ELECTRICITY

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

Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model

Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model Overview of Violations of the Basic Assumptions in the Classical Normal Linear Regression Model 1 September 004 A. Introduction and assumptions The classical normal linear regression model can be written

More information

Chapter 6: Multivariate Cointegration Analysis

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

Promotional Forecast Demonstration

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

Time Series Analysis: Basic Forecasting.

Time 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/rss-matters Jon Starkweather, PhD 1 Jon Starkweather, PhD jonathan.starkweather@unt.edu

More information

Analysis and Computation for Finance Time Series - An Introduction

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

IBM SPSS Forecasting 21

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

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

PITFALLS IN TIME SERIES ANALYSIS. Cliff Hurvich Stern School, NYU

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

Univariate and Multivariate Methods PEARSON. Addison Wesley

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

Integrated Resource Plan

Integrated 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 650-962-9670 1 IRP 1 ELECTRIC LOAD FORECASTING 1.1

More information

TIME SERIES ANALYSIS

TIME SERIES ANALYSIS TIME SERIES ANALYSIS L.M. BHAR AND V.K.SHARMA Indian Agricultural Statistics Research Institute Library Avenue, New Delhi-0 02 lmb@iasri.res.in. Introduction Time series (TS) data refers to observations

More information

2. Linear regression with multiple regressors

2. Linear regression with multiple regressors 2. Linear regression with multiple regressors Aim of this section: Introduction of the multiple regression model OLS estimation in multiple regression Measures-of-fit in multiple regression Assumptions

More information

How To Model A Series With Sas

How To Model A Series With Sas 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 information

Forecasting Stock Market Series. with ARIMA Model

Forecasting Stock Market Series. with ARIMA Model Journal of Statistical and Econometric Methods, vol.3, no.3, 2014, 65-77 ISSN: 2241-0384 (print), 2241-0376 (online) Scienpress Ltd, 2014 Forecasting Stock Market Series with ARIMA Model Fatai Adewole

More information

Time Series Analysis

Time Series Analysis Time Series Analysis hm@imm.dtu.dk Informatics and Mathematical Modelling Technical University of Denmark DK-2800 Kgs. Lyngby 1 Outline of the lecture Identification of univariate time series models, cont.:

More information

Econometrics I: Econometric Methods

Econometrics I: Econometric Methods Econometrics I: Econometric Methods Jürgen Meinecke Research School of Economics, Australian National University 24 May, 2016 Housekeeping Assignment 2 is now history The ps tute this week will go through

More information

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

Powerful new tools for time series analysis

Powerful new tools for time series analysis Christopher F Baum Boston College & DIW August 2007 hristopher F Baum ( Boston College & DIW) NASUG2007 1 / 26 Introduction This presentation discusses two recent developments in time series analysis by

More information

Univariate Time Series Analysis; ARIMA Models

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

Is the Forward Exchange Rate a Useful Indicator of the Future Exchange Rate?

Is the Forward Exchange Rate a Useful Indicator of the Future Exchange Rate? Is the Forward Exchange Rate a Useful Indicator of the Future Exchange Rate? Emily Polito, Trinity College In the past two decades, there have been many empirical studies both in support of and opposing

More information

Turkey s Energy Demand

Turkey s Energy Demand Current Research Journal of Social Sciences 1(3): 123-128, 2009 ISSN: 2041-3246 Maxwell Scientific Organization, 2009 Submitted Date: September 28, 2009 Accepted Date: October 12, 2009 Published Date:

More information

Forecasting in STATA: Tools and Tricks

Forecasting in STATA: Tools and Tricks Forecasting in STATA: Tools and Tricks Introduction This manual is intended to be a reference guide for time series forecasting in STATA. It will be updated periodically during the semester, and will be

More information

Sacred Heart University John F. Welch College of Business

Sacred Heart University John F. Welch College of Business Sacred Heart University John F. Welch College of Business CONNECTICUT ECONOMIC OUTLOOK for 2013-2015: A Perspective from Sacred Heart University Students in Business Economics Final Research Project for

More information

Graphical Tools for Exploring and Analyzing Data From ARIMA Time Series Models

Graphical 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 S-plus is a highly

More information

European Journal of Business and Management ISSN 2222-1905 (Paper) ISSN 2222-2839 (Online) Vol.5, No.30, 2013

European Journal of Business and Management ISSN 2222-1905 (Paper) ISSN 2222-2839 (Online) Vol.5, No.30, 2013 The Impact of Stock Market Liquidity on Economic Growth in Jordan Shatha Abdul-Khaliq Assistant Professor,AlBlqa Applied University, Jordan * E-mail of the corresponding author: yshatha@gmail.com Abstract

More information

Forecasting of Paddy Production in Sri Lanka: A Time Series Analysis using ARIMA Model

Forecasting of Paddy Production in Sri Lanka: A Time Series Analysis using ARIMA Model Tropical Agricultural Research Vol. 24 (): 2-3 (22) Forecasting of Paddy Production in Sri Lanka: A Time Series Analysis using ARIMA Model V. Sivapathasundaram * and C. Bogahawatte Postgraduate Institute

More information

Modeling and forecasting regional GDP in Sweden. using autoregressive models

Modeling and forecasting regional GDP in Sweden. using autoregressive models MASTER THESIS IN MICRODATA ANALYSIS Modeling and forecasting regional GDP in Sweden using autoregressive models Author: Haonan Zhang Supervisor: Niklas Rudholm 2013 Business Intelligence Program School

More information

Forecasting Natural Gas Price - Time Series and Nonparametric Approach

Forecasting Natural Gas Price - Time Series and Nonparametric Approach Forecasting Natural Gas Price - Time Series and Nonparametric Approach Prerna Mishra Abstract Globally there is a spur in demand of natural gas and business entities are interested to realize natural gas

More information

FORECASTING DEPOSIT GROWTH: Forecasting BIF and SAIF Assessable and Insured Deposits

FORECASTING DEPOSIT GROWTH: Forecasting BIF and SAIF Assessable and Insured Deposits Technical Paper Series Congressional Budget Office Washington, DC FORECASTING DEPOSIT GROWTH: Forecasting BIF and SAIF Assessable and Insured Deposits Albert D. Metz Microeconomic and Financial Studies

More information

MISSING DATA TECHNIQUES WITH SAS. IDRE Statistical Consulting Group

MISSING DATA TECHNIQUES WITH SAS. IDRE Statistical Consulting Group MISSING DATA TECHNIQUES WITH SAS IDRE Statistical Consulting Group ROAD MAP FOR TODAY To discuss: 1. Commonly used techniques for handling missing data, focusing on multiple imputation 2. Issues that could

More information

Price volatility in the silver spot market: An empirical study using Garch applications

Price volatility in the silver spot market: An empirical study using Garch applications Price volatility in the silver spot market: An empirical study using Garch applications ABSTRACT Alan Harper, South University Zhenhu Jin Valparaiso University Raufu Sokunle UBS Investment Bank Manish

More information

Statistics in Retail Finance. Chapter 6: Behavioural models

Statistics in Retail Finance. Chapter 6: Behavioural models Statistics in Retail Finance 1 Overview > So far we have focussed mainly on application scorecards. In this chapter we shall look at behavioural models. We shall cover the following topics:- Behavioural

More information

Lecture 2: ARMA(p,q) models (part 3)

Lecture 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 (IMEA-Nice) Sept. 2011 - Jan. 2012 Florian Pelgrin (HEC) Univariate time series Sept.

More information

Time Series Analysis

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

(I)rationality of Investors on Croatian Stock Market Explaining the Impact of American Indices on Croatian Stock Market

(I)rationality of Investors on Croatian Stock Market Explaining the Impact of American Indices on Croatian Stock Market Trg J. F. Kennedya 6 10000 Zagreb, Croatia Tel +385(0)1 238 3333 http://www.efzg.hr/wps wps@efzg.hr WORKING PAPER SERIES Paper No. 09-01 Domagoj Sajter Tomislav Ćorić (I)rationality of Investors on Croatian

More information

Threshold Autoregressive Models in Finance: A Comparative Approach

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

Detecting Stock Calendar Effects in U.S. Census Bureau Inventory Series

Detecting Stock Calendar Effects in U.S. Census Bureau Inventory Series Detecting Stock Calendar Effects in U.S. Census Bureau Inventory Series Natalya Titova Brian Monsell Abstract U.S. Census Bureau retail, wholesale, and manufacturing inventory series are evaluated for

More information

Regression Analysis (Spring, 2000)

Regression Analysis (Spring, 2000) Regression Analysis (Spring, 2000) By Wonjae Purposes: a. Explaining the relationship between Y and X variables with a model (Explain a variable Y in terms of Xs) b. Estimating and testing the intensity

More information

STAFF WORKING PAPER. The Relationship between Sustainable Growth and the Riskfree Rate: Evidence from UK Government Gilts. Staff Working Paper 2012.

STAFF WORKING PAPER. The Relationship between Sustainable Growth and the Riskfree Rate: Evidence from UK Government Gilts. Staff Working Paper 2012. STAFF WORKING PAPER The Relationship between Sustainable Growth and the Riskfree Rate: Evidence from UK Government Gilts Staff Working Paper 2012.1 Andrew Lilico & Stefano Ficco January 2012 FOREWORD Europe

More information

The VAR models discussed so fare are appropriate for modeling I(0) data, like asset returns or growth rates of macroeconomic time series.

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

Time-Series Regression and Generalized Least Squares in R

Time-Series Regression and Generalized Least Squares in R Time-Series Regression and Generalized Least Squares in R An Appendix to An R Companion to Applied Regression, Second Edition John Fox & Sanford Weisberg last revision: 11 November 2010 Abstract Generalized

More information

Lab 5 Linear Regression with Within-subject Correlation. Goals: Data: Use the pig data which is in wide format:

Lab 5 Linear Regression with Within-subject Correlation. Goals: Data: Use the pig data which is in wide format: Lab 5 Linear Regression with Within-subject Correlation Goals: Data: Fit linear regression models that account for within-subject correlation using Stata. Compare weighted least square, GEE, and random

More information

The following postestimation commands for time series are available for regress:

The following postestimation commands for time series are available for regress: Title stata.com regress postestimation time series Postestimation tools for regress with time series Description Syntax for estat archlm Options for estat archlm Syntax for estat bgodfrey Options for estat

More information

Time Series Analysis of Aviation Data

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

Week TSX Index 1 8480 2 8470 3 8475 4 8510 5 8500 6 8480

Week TSX Index 1 8480 2 8470 3 8475 4 8510 5 8500 6 8480 1) The S & P/TSX Composite Index is based on common stock prices of a group of Canadian stocks. The weekly close level of the TSX for 6 weeks are shown: Week TSX Index 1 8480 2 8470 3 8475 4 8510 5 8500

More information

Promotional Analysis and Forecasting for Demand Planning: A Practical Time Series Approach Michael Leonard, SAS Institute Inc.

Promotional Analysis and Forecasting for Demand Planning: A Practical Time Series Approach Michael Leonard, SAS Institute Inc. Promotional Analysis and Forecasting for Demand Planning: A Practical Time Series Approach Michael Leonard, SAS Institute Inc. Cary, NC, USA Abstract Many businesses use sales promotions to increase the

More information

Some useful concepts in univariate time series analysis

Some 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. Non-seasonal

More information

TROPICAL DEFORESTATION AND ECONOMIC DEVELOPMENT: EVIDENCE FROM BRAZIL

TROPICAL DEFORESTATION AND ECONOMIC DEVELOPMENT: EVIDENCE FROM BRAZIL TROPICAL DEFORESTATION AND ECONOMIC DEVELOPMENT: EVIDENCE FROM BRAZIL ADEDOLAPO AKINDE Environment Department, The University of York, Heslington, York, YO10 5DD, United Kingdom. (email: dolly22p@yahoo.com,

More information

9th Russian Summer School in Information Retrieval Big Data Analytics with R

9th 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 information

JOHANNES TSHEPISO TSOKU NONOFO PHOKONTSI DANIEL METSILENG FORECASTING SOUTH AFRICAN GOLD SALES: THE BOX-JENKINS METHODOLOGY

JOHANNES TSHEPISO TSOKU NONOFO PHOKONTSI DANIEL METSILENG FORECASTING SOUTH AFRICAN GOLD SALES: THE BOX-JENKINS METHODOLOGY DOI: 0.20472/IAC.205.08.3 JOHANNES TSHEPISO TSOKU North West University, South Africa NONOFO PHOKONTSI North West University, South Africa DANIEL METSILENG Department of Health, South Africa FORECASTING

More information

Integrating Financial Statement Modeling and Sales Forecasting

Integrating Financial Statement Modeling and Sales Forecasting Integrating Financial Statement Modeling and Sales Forecasting John T. Cuddington, Colorado School of Mines Irina Khindanova, University of Denver ABSTRACT This paper shows how to integrate financial statement

More information

IIMK/WPS/155/ECO/2014/13. Kausik Gangopadhyay 1 Abhishek Jangir 2 Rudra Sensarma 3

IIMK/WPS/155/ECO/2014/13. Kausik Gangopadhyay 1 Abhishek Jangir 2 Rudra Sensarma 3 IIMK/WPS/155/ECO/2014/13 FORECASTING THE PRICE OF GOLD: AN ERROR CORRECTION APPROACH Kausik Gangopadhyay 1 Abhishek Jangir 2 Rudra Sensarma 3 1 Assistant Professor, Indian Institute of Management Kozhikode,

More information

Luciano 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) 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 information

Chapter 4: Vector Autoregressive Models

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

The SAS Time Series Forecasting System

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

Source engine marketing: A preliminary empirical analysis of web search data

Source engine marketing: A preliminary empirical analysis of web search data Source engine marketing: A preliminary empirical analysis of web search data ABSTRACT Bruce Q. Budd Alfaisal University The purpose of this paper is to empirically investigate a website performance and

More information

What drove Irish Government bond yields during the crisis?

What drove Irish Government bond yields during the crisis? What drove Irish Government bond yields during the crisis? David Purdue and Rossa White, September 2014 1. Introduction The Irish Government bond market has been exceptionally volatile in the seven years

More information

STATISTICA Formula Guide: Logistic Regression. Table of Contents

STATISTICA Formula Guide: Logistic Regression. Table of Contents : Table of Contents... 1 Overview of Model... 1 Dispersion... 2 Parameterization... 3 Sigma-Restricted Model... 3 Overparameterized Model... 4 Reference Coding... 4 Model Summary (Summary Tab)... 5 Summary

More information

Simple Linear Regression Inference

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

Non-Stationary Time Series andunitroottests

Non-Stationary Time Series andunitroottests Econometrics 2 Fall 2005 Non-Stationary Time Series andunitroottests Heino Bohn Nielsen 1of25 Introduction Many economic time series are trending. Important to distinguish between two important cases:

More information

On the Degree of Openness of an Open Economy Carlos Alfredo Rodriguez, Universidad del CEMA Buenos Aires, Argentina

On the Degree of Openness of an Open Economy Carlos Alfredo Rodriguez, Universidad del CEMA Buenos Aires, Argentina On the Degree of Openness of an Open Economy Carlos Alfredo Rodriguez, Universidad del CEMA Buenos Aires, Argentina car@cema.edu.ar www.cema.edu.ar\~car Version1-February 14,2000 All data can be consulted

More information

Corporate Defaults and Large Macroeconomic Shocks

Corporate Defaults and Large Macroeconomic Shocks Corporate Defaults and Large Macroeconomic Shocks Mathias Drehmann Bank of England Andrew Patton London School of Economics and Bank of England Steffen Sorensen Bank of England The presentation expresses

More information

IS THERE A LONG-RUN RELATIONSHIP

IS THERE A LONG-RUN RELATIONSHIP 7. IS THERE A LONG-RUN RELATIONSHIP BETWEEN TAXATION AND GROWTH: THE CASE OF TURKEY Salih Turan KATIRCIOGLU Abstract This paper empirically investigates long-run equilibrium relationship between economic

More information

2. What is the general linear model to be used to model linear trend? (Write out the model) = + + + or

2. What is the general linear model to be used to model linear trend? (Write out the model) = + + + or Simple and Multiple Regression Analysis Example: Explore the relationships among Month, Adv.$ and Sales $: 1. Prepare a scatter plot of these data. The scatter plots for Adv.$ versus Sales, and Month versus

More information

Time Series - ARIMA Models. Instructor: G. William Schwert

Time Series - ARIMA Models. Instructor: G. William Schwert APS 425 Fall 25 Time Series : ARIMA Models Instructor: G. William Schwert 585-275-247 schwert@schwert.ssb.rochester.edu Topics Typical time series plot Pattern recognition in auto and partial autocorrelations

More information

GRETL. (Gnu Regression, Econometrics and. Time-series Library)

GRETL. (Gnu Regression, Econometrics and. Time-series Library) 1 GRETL (Gnu Regression, Econometrics and Time-series Library) 2 In this project you should analyze generated and real data. Analysis of each set of data should contain: a) Descriptive statistics. b) Time

More information

Chapter 9: Serial Correlation

Chapter 9: Serial Correlation Chapter 9: Serial Correlation In this chapter: 1. Creating a residual series from a regression model 2. Plotting the error term to detect serial correlation (UE, pp. 313-315) 3. Using regression to estimate

More information

FORECAST MODEL USING ARIMA FOR STOCK PRICES OF AUTOMOBILE SECTOR. Aloysius Edward. 1, JyothiManoj. 2

FORECAST MODEL USING ARIMA FOR STOCK PRICES OF AUTOMOBILE SECTOR. Aloysius Edward. 1, JyothiManoj. 2 FORECAST MODEL USING ARIMA FOR STOCK PRICES OF AUTOMOBILE SECTOR Aloysius Edward. 1, JyothiManoj. 2 Faculty, Kristu Jayanti College, Autonomous, Bengaluru. Abstract There has been a growing interest in

More information

Chapter 25 Specifying Forecasting Models

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

ADVANCED FORECASTING MODELS USING SAS SOFTWARE

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

DEMAND FORECAST WITH BUSINESS CLIMATE INDEX FOR A STEEL AND IRON INDUSTRY REPRESENTATIVE

DEMAND FORECAST WITH BUSINESS CLIMATE INDEX FOR A STEEL AND IRON INDUSTRY REPRESENTATIVE QUANTITATIVE METHODS IN ECONOMICS Vol. XV, No. 2, 2014, pp. 27 36 DEMAND FORECAST WITH BUSINESS CLIMATE INDEX FOR A STEEL AND IRON INDUSTRY REPRESENTATIVE Magdalena Barska Collegium of Economic Analysis

More information

Is the Basis of the Stock Index Futures Markets Nonlinear?

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

Time Series Analysis 1. Lecture 8: Time Series Analysis. Time Series Analysis MIT 18.S096. Dr. Kempthorne. Fall 2013 MIT 18.S096

Time Series Analysis 1. Lecture 8: Time Series Analysis. Time Series Analysis MIT 18.S096. Dr. Kempthorne. Fall 2013 MIT 18.S096 Lecture 8: Time Series Analysis MIT 18.S096 Dr. Kempthorne Fall 2013 MIT 18.S096 Time Series Analysis 1 Outline Time Series Analysis 1 Time Series Analysis MIT 18.S096 Time Series Analysis 2 A stochastic

More information

Assessing the Relationship Between Online Job Postings and Total Hires and Education Levels in Arizona Aruna Murthy Dan Bache Benjamin Fa anunu

Assessing the Relationship Between Online Job Postings and Total Hires and Education Levels in Arizona Aruna Murthy Dan Bache Benjamin Fa anunu Assessing the Relationship Between Online Job Postings and Total Hires and Education Levels in Arizona Aruna Murthy Dan Bache Benjamin Fa anunu Help Wanted Online (HWOL) HWOL data series from the Conference

More information

I. Introduction. II. Background. KEY WORDS: Time series forecasting, Structural Models, CPS

I. Introduction. II. Background. KEY WORDS: Time series forecasting, Structural Models, CPS Predicting the National Unemployment Rate that the "Old" CPS Would Have Produced Richard Tiller and Michael Welch, Bureau of Labor Statistics Richard Tiller, Bureau of Labor Statistics, Room 4985, 2 Mass.

More information

ANALYSIS OF THE LIFE INSURANCE MARKET IN THE REPUBLIC OF MACEDONIA

ANALYSIS OF THE LIFE INSURANCE MARKET IN THE REPUBLIC OF MACEDONIA ECONOMIC ANNALS, Volume LVII, No. 194 / July September 2012 UDC: 3.33 ISSN: 0013-3264 DOI:10.2298/EKA1294107A Cvetko Andreeski* Bratislav Milošević** Vladimir Njegomir*** ANALYSIS OF THE LIFE INSURANCE

More information

UNIT ROOT TESTING TO HELP MODEL BUILDING. Lavan Mahadeva & Paul Robinson

UNIT ROOT TESTING TO HELP MODEL BUILDING. Lavan Mahadeva & Paul Robinson Handbooks in Central Banking No. 22 UNIT ROOT TESTING TO HELP MODEL BUILDING Lavan Mahadeva & Paul Robinson Series editors: Andrew Blake & Gill Hammond Issued by the Centre for Central Banking Studies,

More information

Forecasting the PhDs-Output of the Higher Education System of Pakistan

Forecasting the PhDs-Output of the Higher Education System of Pakistan Forecasting the PhDs-Output of the Higher Education System of Pakistan Ghani ur Rehman, Dr. Muhammad Khalil Shahid, Dr. Bakhtiar Khan Khattak and Syed Fiaz Ahmed Center for Emerging Sciences, Engineering

More information