Alastair Hall ECG 752: Econometrics Spring Serial Correlation

Size: px
Start display at page:

Download "Alastair Hall ECG 752: Econometrics Spring Serial Correlation"

Transcription

1 Alastair Hall ECG 752: Econometrics Spring 2005 SAS Handout # 5 Serial Correlation In this handout we consider methods for estimation and inference in regression models with serially correlated errors. All the discussion is in the context of a simple aggregate productions function model of the form: ln(q t ) = β 0,1 + β 0,2ln(L t ) + β 0,3ln(K t ) + u t (1) where Q t equals an index of gross national product in constant dollars in year t, L t equals a labour input index (number of persons adjusted for hours of work and education level), and K t equals a capital input index (capital stock adjusted for rates of utilization). Annual data for the U.S. for the period are contained in the data file proddata that can be downloaded from the course web page The data can be read into SAS as follows: proc import datafile= k:\proddata out=aa dbms=tab; getnames=yes; datarow=2; data bb; set aa; y=log(q); x1=log(l); x2=log(k); Given the time series nature of the data, it is reasonable to be concerned that the error process may be serially correlated. In class, we discussed two approaches to inference based respectively on OLS and GLS estimation. In this handout, we consider how both can be performed in SAS. The output from these procedures is contained in an appendix. (i) OLS based inference: The standard regression procedure, proc reg, does not have an option for calculating robust standard errors in the presence of serial correlation. However, this feature is available within proc model if the model is estimated via Generalized Method of Moments. Instrumental variables is the GMM estimator in which the moment condition is E[z t (y t x β t 0)] = 0, and it can be recalled from ECG751 that OLS is an IV estimator with instrument vector z t = x t. 1

2 proc model is a very general estimation procedure that can handle both linear and nonlinear models via a variety of estimation routines. The following program estimates the model in (1) via OLS and generates robust standard errors calculated using a HAC estimator. proc model data=bb; parms b c d; y= b+(c*x1)+(d*x2); label b= intercept c= coefficient of x1 d= coefficient of x2 ; fit y / gmm kernel=(bart,1,0.2); Two aspects of this code should be noted: Since proc model is a very general procedure, it makes no assumptions about the functional form and so this must be specified. It also makes no assumption about which variables are endogenous and so this must be specified via the fit statement. The kernel= option specifies the use of an HAC estimator to calculate the long run variance. Three kernels are supported: bart, which gives the Bartlett kernel discussed in class; parzen, which gives the Parzen kernel analyzed in Practice problem set # 4; QS, whichgives the quadratic spectral kernel that we have not discussed. The next two numbers in the kernel option specify the bandwidth as follows: kernel=(bart,m,n) meansthatthehaciscalcu- lated with a Bartlett kernel and bandwidth b T = mt n. Notice also that with this formula the bandwidth need not be an integer, and, in fact, there is no reason from the underlying theory why it need be so. However, it is intuitively more appealing to work with integer values for b T with either the Bartlett or Parzen kernels and this is common practice. If you want to fix a specific bandwidth b T = b, say,thenyoumustputm = b and n =0. It should also be noted that proc model actually obtains the estimates via numerical optimization and this explains the layout of the output. In the case here, convergence occurs in one step because the model is linear. As can be seen from the output, the use of a HAC yields different standrad errors than proc reg. The program above yields b T = Compare the results with those obtained with =2or3. b T (ii) GLS based inference: We assume that u t is an AR(1) process, that is u t = θu t 1 + w t w t i.i.d.(0,σ 2 w ) and are concerned with the problem of testing whether θ =0. 2

3 It can be recalled that the basic proc reg output does not contain any diagnostics for serial correlation. However, if we include the option dw then the output includes the Durbin Watson statistic. For our example, the Durbin Watson can be calculated as follows: proc reg data=bb; model y=x1 x2/ dw; Run the program and open the output window. Notice that the Durbin Watson statistic is printed out following the parameter estimates table. For this example, we obtain: d = Recall that the Durbin Watson test is one sided. In our case, the first order residual autocorrelation is 0.554, and so it makes sense to test H 0 : θ =0versusH 1 : θ>0. Recall that the decision rule involves an inconclusive region that is: Reject H 0 if d<d L. Fail to reject H 0 if d>d U. where the upper and lower bounds, d U and d U respectively, for a 5% test are reproduced in Table G.6 on page 958 of W. H. Greene (2003), Econometric Analysis, fifth edition.. Notice that these points depend on T and also the number of regressors excluding the intercept. (Beware: Greene uses k to denote the number of regressors minus the intercept whereas in our class notation k denotes the number of regressors including the intercept.) For our example, d L =1.38 and so the Durbin Watson test indicates positive autocorrelation in the residuals. (Aside: if it is desired to test H 0 against H 1 : θ<0 then the form of the decision rule is the same but the test statistic is 4 d.; see Greene p.270.) While the Durbin Watson test statistic is routinely reported, it is only strictly valid under the Classical assumptions. A more generally applicable test can be obtained by regressing e t on e t 1. Clearly to implement this test, it is necessary to save the residuals from the OLS regression and also create the lagged value of the residual. Therefore, the test can be calculated as follows: proc reg data=bb; model y=x1 x2; output out=resdat r=e data cc; set resdat; lage=lag(e); proc reg data=cc; model e=lage; The test statistic is the regression t statistic from the regression of e t on e t 1, and we denote this 3

4 here by ˆτ 1. The null and alternative hypotheses are H 0 : θ =0andH 1 : θ 0. the decision rule is to reject H 0 at the 100α% significance level if ˆτ 1 >z 1 α/2 where z 1 α/2 is the 100(1 α/2) th percentile of the standard normal distribution. For our example, the p value for this test is and so we reject H 0 at all conventional levels of significance. Therefore, once again the evidence points towards serial correlation in the errors. Three points are worth noting about the previous test: 1. The decision rule is based on the fact that under H 0 ˆτ 1 only asymptotically valid (unlike the Durbin Watson). d N(0, 1) and so the the test is 2. The limiting distribution is valid in the independent stochastic regressor model discussed in class (that is Assumptions ISR1 ISR6) plus some additional mild regularity conditions for the WLLN and CLT. 3. If,inadditiontoISR1 ISR6,u t has a normal distribution then ˆτ 1 is the LM test for H 0 : θ =0versusH 1 : θ 0. In the face of this evidence, it is clearly desirable to re-estimate the model to take account of the serial correlation in the errors. This can be done using proc autoreg. This procedure is designed to estimate a linear regression model with an AR(p) error term of the form: y t = x t β 0 + u t u t = ɛ t p i=1 ɛ t i.i.d.(0, σ 2 ɛ ) φ i u t i where p must be specified by the user. Note that SAS reports estimates of φ and in our notation φ i = θ i. To begin we estimate this model with p = 1. The appropriate code is as follows: proc autoreg data=bb; model y=x1 x2/nlag=1; As you can see, the output from proc autoreg contains four parts: (i) the OLS results ignoring any serial correlation; (ii) the sample autocorrelations of the residuals up to lag p; (iii) estimates of the autoregressive parameters, their standard errors and a t-ratio for the hypothesis that the AR coefficient is zero; (iv) GLS estimates of the model. This output contains a number of statistics that will be discussed in class, and so we leave undefined for now. This procedure also has many of the features of proc reg. Compare the OLS and GLS results. 4

5 It is also possible to estimate the model by unconditional maximum likelihood, i.e. basedonthe unconditional likelihood function. To do this, it is necessary to include a second option in the model statement as follows: proc autoreg data=bb; model y=x1 x2/nlag=1 method=ml; Compare the GLS and ML results. Exercises: 1. Calculate the robust standrad errors of the OLS estimates using the Parzen kernel. Compare your results with those obtained using the Bartlett kernel. 2. Calculate lag(q), lag1(q), lag2(q), lag3(q) and print them out side by side and compare. What happens at the beginning of the series and why? 3. The LM test for H 0 : θ = 0 versus H 1 : θ 0 can be implemented by running the regression of e t on e t 1 with or without the intercept. Under H 0, the two versions are asymptotically equivalent. What difference does this make in the empirical example above? 4. Suppose that u t = θ 1 u t 1 + θ 2 u t 2 + w t, then it is possible to test H 0 : θ 1 = θ 2 = 0 versus H 1 : θ i 0foratleastonei by running a regression of e t on e t 1 and e t 2 and rejecting H 0 at the 100α% levelifthe2f>c α where F is the F-statistic calculated by SAS and c α is the 100(1 α)% percentile of the χ 2 2 distribution. Perform this test for the production function model described above. (In fact, this test generalizes in the obvious way to AR(p) errors as we discuss in class.) 5. If nlag = 1 then t-value for estimate of the AR coefficient is the Wald test for H 0 : θ =0 versus H 1 : θ 0. What is the relationship between the Wald and LM test statistics? Would you expect them to be equal? Does the choice between them have a qualitative effect on the inference in this case? 6. Estimate the model by GLS with p =2,p =3andp = 4. Compare the results. Does the choice of lag length effect the regression coefficient estimates? 7. It is also possible to estimate so called subset AR models in which certain of the AR coefficient are set to zero. For example, if it is desired the AR(4) model with φ i =0for i =1, 2, 3 then this can be done using the option nlag =(4). Run this model and compare the results with those obtained for p = 4 in the previous question. 5

6 8. Now estimate the AR(4) model in which φ i =0fori =2, 3. Compare the results with those obtained above. 6

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

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

SYSTEMS OF REGRESSION EQUATIONS

SYSTEMS OF REGRESSION EQUATIONS SYSTEMS OF REGRESSION EQUATIONS 1. MULTIPLE EQUATIONS y nt = x nt n + u nt, n = 1,...,N, t = 1,...,T, x nt is 1 k, and n is k 1. This is a version of the standard regression model where the observations

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

INDIRECT INFERENCE (prepared for: The New Palgrave Dictionary of Economics, Second Edition)

INDIRECT INFERENCE (prepared for: The New Palgrave Dictionary of Economics, Second Edition) INDIRECT INFERENCE (prepared for: The New Palgrave Dictionary of Economics, Second Edition) Abstract Indirect inference is a simulation-based method for estimating the parameters of economic models. Its

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

Online Appendices to the Corporate Propensity to Save

Online Appendices to the Corporate Propensity to Save Online Appendices to the Corporate Propensity to Save Appendix A: Monte Carlo Experiments In order to allay skepticism of empirical results that have been produced by unusual estimators on fairly small

More information

What s New in Econometrics? Lecture 8 Cluster and Stratified Sampling

What s New in Econometrics? Lecture 8 Cluster and Stratified Sampling What s New in Econometrics? Lecture 8 Cluster and Stratified Sampling Jeff Wooldridge NBER Summer Institute, 2007 1. The Linear Model with Cluster Effects 2. Estimation with a Small Number of Groups and

More information

Solución del Examen Tipo: 1

Solución del Examen Tipo: 1 Solución del Examen Tipo: 1 Universidad Carlos III de Madrid ECONOMETRICS Academic year 2009/10 FINAL EXAM May 17, 2010 DURATION: 2 HOURS 1. Assume that model (III) verifies the assumptions of the classical

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

TEMPORAL CAUSAL RELATIONSHIP BETWEEN STOCK MARKET CAPITALIZATION, TRADE OPENNESS AND REAL GDP: EVIDENCE FROM THAILAND

TEMPORAL CAUSAL RELATIONSHIP BETWEEN STOCK MARKET CAPITALIZATION, TRADE OPENNESS AND REAL GDP: EVIDENCE FROM THAILAND I J A B E R, Vol. 13, No. 4, (2015): 1525-1534 TEMPORAL CAUSAL RELATIONSHIP BETWEEN STOCK MARKET CAPITALIZATION, TRADE OPENNESS AND REAL GDP: EVIDENCE FROM THAILAND Komain Jiranyakul * Abstract: This study

More information

1 Teaching notes on GMM 1.

1 Teaching notes on GMM 1. Bent E. Sørensen January 23, 2007 1 Teaching notes on GMM 1. Generalized Method of Moment (GMM) estimation is one of two developments in econometrics in the 80ies that revolutionized empirical work in

More information

Predictability of Non-Linear Trading Rules in the US Stock Market Chong & Lam 2010

Predictability of Non-Linear Trading Rules in the US Stock Market Chong & Lam 2010 Department of Mathematics QF505 Topics in quantitative finance Group Project Report Predictability of on-linear Trading Rules in the US Stock Market Chong & Lam 010 ame: Liu Min Qi Yichen Zhang Fengtian

More information

Please follow the directions once you locate the Stata software in your computer. Room 114 (Business Lab) has computers with Stata software

Please follow the directions once you locate the Stata software in your computer. Room 114 (Business Lab) has computers with Stata software STATA Tutorial Professor Erdinç Please follow the directions once you locate the Stata software in your computer. Room 114 (Business Lab) has computers with Stata software 1.Wald Test Wald Test is used

More information

Simulation Models for Business Planning and Economic Forecasting. Donald Erdman, SAS Institute Inc., Cary, NC

Simulation Models for Business Planning and Economic Forecasting. Donald Erdman, SAS Institute Inc., Cary, NC Simulation Models for Business Planning and Economic Forecasting Donald Erdman, SAS Institute Inc., Cary, NC ABSTRACT Simulation models are useful in many diverse fields. This paper illustrates the use

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

Chapter 1. Vector autoregressions. 1.1 VARs and the identi cation problem

Chapter 1. Vector autoregressions. 1.1 VARs and the identi cation problem Chapter Vector autoregressions We begin by taking a look at the data of macroeconomics. A way to summarize the dynamics of macroeconomic data is to make use of vector autoregressions. VAR models have become

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

MULTIPLE REGRESSION AND ISSUES IN REGRESSION ANALYSIS

MULTIPLE REGRESSION AND ISSUES IN REGRESSION ANALYSIS MULTIPLE REGRESSION AND ISSUES IN REGRESSION ANALYSIS MSR = Mean Regression Sum of Squares MSE = Mean Squared Error RSS = Regression Sum of Squares SSE = Sum of Squared Errors/Residuals α = Level of Significance

More information

From the help desk: Bootstrapped standard errors

From the help desk: Bootstrapped standard errors The Stata Journal (2003) 3, Number 1, pp. 71 80 From the help desk: Bootstrapped standard errors Weihua Guan Stata Corporation Abstract. Bootstrapping is a nonparametric approach for evaluating the distribution

More information

1 Short Introduction to Time Series

1 Short Introduction to Time Series ECONOMICS 7344, Spring 202 Bent E. Sørensen January 24, 202 Short Introduction to Time Series A time series is a collection of stochastic variables x,.., x t,.., x T indexed by an integer value t. The

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

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

FULLY MODIFIED OLS FOR HETEROGENEOUS COINTEGRATED PANELS

FULLY MODIFIED OLS FOR HETEROGENEOUS COINTEGRATED PANELS FULLY MODIFIED OLS FOR HEEROGENEOUS COINEGRAED PANELS Peter Pedroni ABSRAC his chapter uses fully modified OLS principles to develop new methods for estimating and testing hypotheses for cointegrating

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 against a Change from Short to Long Memory

Testing against a Change from Short to Long Memory Testing against a Change from Short to Long Memory Uwe Hassler and Jan Scheithauer Goethe-University Frankfurt This version: January 2, 2008 Abstract This paper studies some well-known tests for the null

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

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

Using R for Linear Regression

Using R for Linear Regression Using R for Linear Regression In the following handout words and symbols in bold are R functions and words and symbols in italics are entries supplied by the user; underlined words and symbols are optional

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

Introduction to General and Generalized Linear Models

Introduction to General and Generalized Linear Models Introduction to General and Generalized Linear Models General Linear Models - part I Henrik Madsen Poul Thyregod Informatics and Mathematical Modelling Technical University of Denmark DK-2800 Kgs. Lyngby

More information

THE IMPACT OF EXCHANGE RATE VOLATILITY ON BRAZILIAN MANUFACTURED EXPORTS

THE IMPACT OF EXCHANGE RATE VOLATILITY ON BRAZILIAN MANUFACTURED EXPORTS THE IMPACT OF EXCHANGE RATE VOLATILITY ON BRAZILIAN MANUFACTURED EXPORTS ANTONIO AGUIRRE UFMG / Department of Economics CEPE (Centre for Research in International Economics) Rua Curitiba, 832 Belo Horizonte

More information

Assessing the Relative Power of Structural Break Tests Using a Framework Based on the Approximate Bahadur Slope

Assessing the Relative Power of Structural Break Tests Using a Framework Based on the Approximate Bahadur Slope Assessing the Relative Power of Structural Break Tests Using a Framework Based on the Approximate Bahadur Slope Dukpa Kim Boston University Pierre Perron Boston University December 4, 2006 THE TESTING

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

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

Least Squares Estimation

Least Squares Estimation Least Squares Estimation SARA A VAN DE GEER Volume 2, pp 1041 1045 in Encyclopedia of Statistics in Behavioral Science ISBN-13: 978-0-470-86080-9 ISBN-10: 0-470-86080-4 Editors Brian S Everitt & David

More information

Nonlinear Regression Functions. SW Ch 8 1/54/

Nonlinear Regression Functions. SW Ch 8 1/54/ Nonlinear Regression Functions SW Ch 8 1/54/ The TestScore STR relation looks linear (maybe) SW Ch 8 2/54/ But the TestScore Income relation looks nonlinear... SW Ch 8 3/54/ Nonlinear Regression General

More information

The Use of Event Studies in Finance and Economics. Fall 2001. Gerald P. Dwyer, Jr.

The Use of Event Studies in Finance and Economics. Fall 2001. Gerald P. Dwyer, Jr. The Use of Event Studies in Finance and Economics University of Rome at Tor Vergata Fall 2001 Gerald P. Dwyer, Jr. Any views are the author s and not necessarily those of the Federal Reserve Bank of Atlanta

More information

Does Mutual Fund Performance Vary over the Business Cycle?

Does Mutual Fund Performance Vary over the Business Cycle? Does Mutual Fund Performance Vary over the Business Cycle? Anthony W. Lynch New York University and NBER Jessica Wachter New York University and NBER Walter Boudry New York University First Version: 15

More information

Simple Regression Theory II 2010 Samuel L. Baker

Simple Regression Theory II 2010 Samuel L. Baker SIMPLE REGRESSION THEORY II 1 Simple Regression Theory II 2010 Samuel L. Baker Assessing how good the regression equation is likely to be Assignment 1A gets into drawing inferences about how close the

More information

Econometric Modelling for Revenue Projections

Econometric Modelling for Revenue Projections Econometric Modelling for Revenue Projections Annex E 1. An econometric modelling exercise has been undertaken to calibrate the quantitative relationship between the five major items of government revenue

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

Note 2 to Computer class: Standard mis-specification tests

Note 2 to Computer class: Standard mis-specification tests Note 2 to Computer class: Standard mis-specification tests Ragnar Nymoen September 2, 2013 1 Why mis-specification testing of econometric models? As econometricians we must relate to the fact that the

More information

Department of Economics

Department of Economics Department of Economics Working Paper Do Stock Market Risk Premium Respond to Consumer Confidence? By Abdur Chowdhury Working Paper 2011 06 College of Business Administration Do Stock Market Risk Premium

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

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

Centre for Central Banking Studies

Centre for Central Banking Studies Centre for Central Banking Studies Technical Handbook No. 4 Applied Bayesian econometrics for central bankers Andrew Blake and Haroon Mumtaz CCBS Technical Handbook No. 4 Applied Bayesian econometrics

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

Testing against a Change from Short to Long Memory

Testing against a Change from Short to Long Memory Testing against a Change from Short to Long Memory Uwe Hassler and Jan Scheithauer Goethe-University Frankfurt This version: December 9, 2007 Abstract This paper studies some well-known tests for the null

More information

Sales forecasting # 2

Sales forecasting # 2 Sales forecasting # 2 Arthur Charpentier arthur.charpentier@univ-rennes1.fr 1 Agenda Qualitative and quantitative methods, a very general introduction Series decomposition Short versus long term forecasting

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

Forecasting of Economic Quantities using Fuzzy Autoregressive Model and Fuzzy Neural Network

Forecasting of Economic Quantities using Fuzzy Autoregressive Model and Fuzzy Neural Network Forecasting of Economic Quantities using Fuzzy Autoregressive Model and Fuzzy Neural Network Dušan Marček 1 Abstract Most models for the time series of stock prices have centered on autoregressive (AR)

More information

Unit root properties of natural gas spot and futures prices: The relevance of heteroskedasticity in high frequency data

Unit root properties of natural gas spot and futures prices: The relevance of heteroskedasticity in high frequency data DEPARTMENT OF ECONOMICS ISSN 1441-5429 DISCUSSION PAPER 20/14 Unit root properties of natural gas spot and futures prices: The relevance of heteroskedasticity in high frequency data Vinod Mishra and Russell

More information

A Unified Approach to Structural Change Tests Based on ML Scores, F Statistics, and OLS Residuals

A Unified Approach to Structural Change Tests Based on ML Scores, F Statistics, and OLS Residuals A Unified Approach to Structural Change Tests Based on ML Scores, F Statistics, and OLS Residuals Achim Zeileis Wirtschaftsuniversität Wien Abstract Three classes of structural change tests (or tests for

More information

Regression step-by-step using Microsoft Excel

Regression step-by-step using Microsoft Excel Step 1: Regression step-by-step using Microsoft Excel Notes prepared by Pamela Peterson Drake, James Madison University Type the data into the spreadsheet The example used throughout this How to is a regression

More information

Mortgage Loan Approvals and Government Intervention Policy

Mortgage Loan Approvals and Government Intervention Policy Mortgage Loan Approvals and Government Intervention Policy Dr. William Chow 18 March, 214 Executive Summary This paper introduces an empirical framework to explore the impact of the government s various

More information

16 : Demand Forecasting

16 : Demand Forecasting 16 : Demand Forecasting 1 Session Outline Demand Forecasting Subjective methods can be used only when past data is not available. When past data is available, it is advisable that firms should use statistical

More information

Alternative Tests for Time Series Dependence Based on Autocorrelation Coefficients

Alternative Tests for Time Series Dependence Based on Autocorrelation Coefficients Alternative Tests for Time Series Dependence Based on Autocorrelation Coefficients Richard M. Levich and Rosario C. Rizzo * Current Draft: December 1998 Abstract: When autocorrelation is small, existing

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

Testing The Quantity Theory of Money in Greece: A Note

Testing The Quantity Theory of Money in Greece: A Note ERC Working Paper in Economic 03/10 November 2003 Testing The Quantity Theory of Money in Greece: A Note Erdal Özmen Department of Economics Middle East Technical University Ankara 06531, Turkey ozmen@metu.edu.tr

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

ECON 523 Applied Econometrics I /Masters Level American University, Spring 2008. Description of the course

ECON 523 Applied Econometrics I /Masters Level American University, Spring 2008. Description of the course ECON 523 Applied Econometrics I /Masters Level American University, Spring 2008 Instructor: Maria Heracleous Lectures: M 8:10-10:40 p.m. WARD 202 Office: 221 Roper Phone: 202-885-3758 Office Hours: M W

More information

Introduction to Fixed Effects Methods

Introduction to Fixed Effects Methods Introduction to Fixed Effects Methods 1 1.1 The Promise of Fixed Effects for Nonexperimental Research... 1 1.2 The Paired-Comparisons t-test as a Fixed Effects Method... 2 1.3 Costs and Benefits of Fixed

More information

Module 5: Multiple Regression Analysis

Module 5: Multiple Regression Analysis Using Statistical Data Using to Make Statistical Decisions: Data Multiple to Make Regression Decisions Analysis Page 1 Module 5: Multiple Regression Analysis Tom Ilvento, University of Delaware, College

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

Stepwise Regression. Chapter 311. Introduction. Variable Selection Procedures. Forward (Step-Up) Selection

Stepwise Regression. Chapter 311. Introduction. Variable Selection Procedures. Forward (Step-Up) Selection Chapter 311 Introduction Often, theory and experience give only general direction as to which of a pool of candidate variables (including transformed variables) should be included in the regression model.

More information

We extended the additive model in two variables to the interaction model by adding a third term to the equation.

We extended the additive model in two variables to the interaction model by adding a third term to the equation. Quadratic Models We extended the additive model in two variables to the interaction model by adding a third term to the equation. Similarly, we can extend the linear model in one variable to the quadratic

More information

Econometrics Simple Linear Regression

Econometrics Simple Linear Regression Econometrics Simple Linear Regression Burcu Eke UC3M Linear equations with one variable Recall what a linear equation is: y = b 0 + b 1 x is a linear equation with one variable, or equivalently, a straight

More information

Correlated Random Effects Panel Data Models

Correlated Random Effects Panel Data Models INTRODUCTION AND LINEAR MODELS Correlated Random Effects Panel Data Models IZA Summer School in Labor Economics May 13-19, 2013 Jeffrey M. Wooldridge Michigan State University 1. Introduction 2. The Linear

More information

Chapter 2. Dynamic panel data models

Chapter 2. Dynamic panel data models Chapter 2. Dynamic panel data models Master of Science in Economics - University of Geneva Christophe Hurlin, Université d Orléans Université d Orléans April 2010 Introduction De nition We now consider

More information

Applied Statistics. J. Blanchet and J. Wadsworth. Institute of Mathematics, Analysis, and Applications EPF Lausanne

Applied Statistics. J. Blanchet and J. Wadsworth. Institute of Mathematics, Analysis, and Applications EPF Lausanne Applied Statistics J. Blanchet and J. Wadsworth Institute of Mathematics, Analysis, and Applications EPF Lausanne An MSc Course for Applied Mathematicians, Fall 2012 Outline 1 Model Comparison 2 Model

More information

Chapter 5: Bivariate Cointegration Analysis

Chapter 5: Bivariate Cointegration Analysis Chapter 5: Bivariate Cointegration Analysis 1 Contents: Lehrstuhl für Department Empirische of Wirtschaftsforschung Empirical Research and und Econometrics Ökonometrie V. Bivariate Cointegration Analysis...

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

Multiple Linear Regression

Multiple Linear Regression Multiple Linear Regression A regression with two or more explanatory variables is called a multiple regression. Rather than modeling the mean response as a straight line, as in simple regression, it is

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

Data Mining and Data Warehousing. Henryk Maciejewski. Data Mining Predictive modelling: regression

Data Mining and Data Warehousing. Henryk Maciejewski. Data Mining Predictive modelling: regression Data Mining and Data Warehousing Henryk Maciejewski Data Mining Predictive modelling: regression Algorithms for Predictive Modelling Contents Regression Classification Auxiliary topics: Estimation of prediction

More information

Using instrumental variables techniques in economics and finance

Using instrumental variables techniques in economics and finance Using instrumental variables techniques in economics and finance Christopher F Baum 1 Boston College and DIW Berlin German Stata Users Group Meeting, Berlin, June 2008 1 Thanks to Mark Schaffer for a number

More information

Premaster Statistics Tutorial 4 Full solutions

Premaster Statistics Tutorial 4 Full solutions Premaster Statistics Tutorial 4 Full solutions Regression analysis Q1 (based on Doane & Seward, 4/E, 12.7) a. Interpret the slope of the fitted regression = 125,000 + 150. b. What is the prediction for

More information

EFFECT OF INVENTORY MANAGEMENT EFFICIENCY ON PROFITABILITY: CURRENT EVIDENCE FROM THE U.S. MANUFACTURING INDUSTRY

EFFECT OF INVENTORY MANAGEMENT EFFICIENCY ON PROFITABILITY: CURRENT EVIDENCE FROM THE U.S. MANUFACTURING INDUSTRY EFFECT OF INVENTORY MANAGEMENT EFFICIENCY ON PROFITABILITY: CURRENT EVIDENCE FROM THE U.S. MANUFACTURING INDUSTRY Seungjae Shin, Mississippi State University Kevin L. Ennis, Mississippi State University

More information

Appendix 1: Time series analysis of peak-rate years and synchrony testing.

Appendix 1: Time series analysis of peak-rate years and synchrony testing. Appendix 1: Time series analysis of peak-rate years and synchrony testing. Overview The raw data are accessible at Figshare ( Time series of global resources, DOI 10.6084/m9.figshare.929619), sources are

More information

Good luck! BUSINESS STATISTICS FINAL EXAM INSTRUCTIONS. Name:

Good luck! BUSINESS STATISTICS FINAL EXAM INSTRUCTIONS. Name: Glo bal Leadership M BA BUSINESS STATISTICS FINAL EXAM Name: INSTRUCTIONS 1. Do not open this exam until instructed to do so. 2. Be sure to fill in your name before starting the exam. 3. You have two hours

More information

How Far is too Far? Statistical Outlier Detection

How Far is too Far? Statistical Outlier Detection How Far is too Far? Statistical Outlier Detection Steven Walfish President, Statistical Outsourcing Services steven@statisticaloutsourcingservices.com 30-325-329 Outline What is an Outlier, and Why are

More information

Data analysis and regression in Stata

Data analysis and regression in Stata Data analysis and regression in Stata This handout shows how the weekly beer sales series might be analyzed with Stata (the software package now used for teaching stats at Kellogg), for purposes of comparing

More information

Tests of Changes in the Elasticity of the Demand for M2 and Policy Implications: The Case of Four Asian Countries

Tests of Changes in the Elasticity of the Demand for M2 and Policy Implications: The Case of Four Asian Countries Volume 23, Number 2, December 1998 Tests of Changes in the Elasticity of the Demand for M2 and Policy Implications: The Case of Four Asian Countries Yu Hsing * 1 This paper examines the demand for real

More information

Testing, Monitoring, and Dating Structural Changes in Exchange Rate Regimes

Testing, Monitoring, and Dating Structural Changes in Exchange Rate Regimes Testing, Monitoring, and Dating Structural Changes in Exchange Rate Regimes Achim Zeileis http://eeecon.uibk.ac.at/~zeileis/ Overview Motivation Exchange rate regimes Exchange rate regression What is the

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

Does Mutual Fund Performance Vary over the Business Cycle?

Does Mutual Fund Performance Vary over the Business Cycle? Does Mutual Fund Performance Vary over the Business Cycle? Anthony W. Lynch New York University and NBER Jessica A. Wachter University of Pennsylvania and NBER First Version: 15 November 2002 Current Version:

More information

Elements of statistics (MATH0487-1)

Elements of statistics (MATH0487-1) Elements of statistics (MATH0487-1) Prof. Dr. Dr. K. Van Steen University of Liège, Belgium December 10, 2012 Introduction to Statistics Basic Probability Revisited Sampling Exploratory Data Analysis -

More information

Mgmt 469. Regression Basics. You have all had some training in statistics and regression analysis. Still, it is useful to review

Mgmt 469. Regression Basics. You have all had some training in statistics and regression analysis. Still, it is useful to review Mgmt 469 Regression Basics You have all had some training in statistics and regression analysis. Still, it is useful to review some basic stuff. In this note I cover the following material: What is a regression

More information

Tutorial 5: Hypothesis Testing

Tutorial 5: Hypothesis Testing Tutorial 5: Hypothesis Testing Rob Nicholls nicholls@mrc-lmb.cam.ac.uk MRC LMB Statistics Course 2014 Contents 1 Introduction................................ 1 2 Testing distributional assumptions....................

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

NCSS Statistical Software Principal Components Regression. In ordinary least squares, the regression coefficients are estimated using the formula ( )

NCSS Statistical Software Principal Components Regression. In ordinary least squares, the regression coefficients are estimated using the formula ( ) Chapter 340 Principal Components Regression Introduction is a technique for analyzing multiple regression data that suffer from multicollinearity. When multicollinearity occurs, least squares estimates

More information

Linear Mixed-Effects Modeling in SPSS: An Introduction to the MIXED Procedure

Linear Mixed-Effects Modeling in SPSS: An Introduction to the MIXED Procedure Technical report Linear Mixed-Effects Modeling in SPSS: An Introduction to the MIXED Procedure Table of contents Introduction................................................................ 1 Data preparation

More information

SAS Software to Fit the Generalized Linear Model

SAS Software to Fit the Generalized Linear Model SAS Software to Fit the Generalized Linear Model Gordon Johnston, SAS Institute Inc., Cary, NC Abstract In recent years, the class of generalized linear models has gained popularity as a statistical modeling

More information

Causes of Inflation in the Iranian Economy

Causes of Inflation in the Iranian Economy Causes of Inflation in the Iranian Economy Hamed Armesh* and Abas Alavi Rad** It is clear that in the nearly last four decades inflation is one of the important problems of Iranian economy. In this study,

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

Standard errors of marginal effects in the heteroskedastic probit model

Standard errors of marginal effects in the heteroskedastic probit model Standard errors of marginal effects in the heteroskedastic probit model Thomas Cornelißen Discussion Paper No. 320 August 2005 ISSN: 0949 9962 Abstract In non-linear regression models, such as the heteroskedastic

More information

Interaction between quantitative predictors

Interaction between quantitative predictors Interaction between quantitative predictors In a first-order model like the ones we have discussed, the association between E(y) and a predictor x j does not depend on the value of the other predictors

More information

Part 2: Analysis of Relationship Between Two Variables

Part 2: Analysis of Relationship Between Two Variables Part 2: Analysis of Relationship Between Two Variables Linear Regression Linear correlation Significance Tests Multiple regression Linear Regression Y = a X + b Dependent Variable Independent Variable

More information

Weak instruments: An overview and new techniques

Weak instruments: An overview and new techniques Weak instruments: An overview and new techniques July 24, 2006 Overview of IV IV Methods and Formulae IV Assumptions and Problems Why Use IV? Instrumental variables, often abbreviated IV, refers to an

More information