Spatial Econometric Analysis Using GAUSS 8 Kuan-Pin Lin Portland State University.

Slides:



Advertisements
Similar presentations
Introduction Describe what panel data is and the reasons for using it in this format Assess the importance of fixed and random effects Examine the Hausman.
Advertisements

Econometric Analysis of Panel Data Panel Data Analysis – Random Effects Assumptions GLS Estimator Panel-Robust Variance-Covariance Matrix ML Estimator.
Econometric Analysis of Panel Data Panel Data Analysis: Extension –Generalized Random Effects Model Seemingly Unrelated Regression –Cross Section Correlation.
David Bell University of Stirling
Econometric Analysis of Panel Data
PANEL DATA 1. Dummy Variable Regression 2. LSDV Estimator
Panel Data Models Prepared by Vera Tabakova, East Carolina University.
Data organization.
Econometric Analysis of Panel Data
Unbalanced Panel Data … and Stata Kuan-Pin Lin Portland State University and WISE, Xiamen University.
Econometric Analysis of Panel Data Random Regressors –Pooled (Constant Effects) Model Instrumental Variables –Fixed Effects Model –Random Effects Model.
Spatial Econometric Analysis Using GAUSS 9 Kuan-Pin Lin Portland State University.
The Generalized IV Estimator IV estimation with a single endogenous regressor and a single instrument can be naturally generalized. Suppose that there.
8.4 Weighted Least Squares Estimation Before the existence of heteroskedasticity-robust statistics, one needed to know the form of heteroskedasticity -Het.
Economics Prof. Buckles1 Time Series Data y t =  0 +  1 x t  k x tk + u t 1. Basic Analysis.
CHAPTER 3 ECONOMETRICS x x x x x Chapter 2: Estimating the parameters of a linear regression model. Y i = b 1 + b 2 X i + e i Using OLS Chapter 3: Testing.
Economics 20 - Prof. Anderson1 Multiple Regression Analysis y =  0 +  1 x 1 +  2 x  k x k + u 6. Heteroskedasticity.
1Prof. Dr. Rainer Stachuletz Multiple Regression Analysis y =  0 +  1 x 1 +  2 x  k x k + u 6. Heteroskedasticity.
Econometric Analysis of Panel Data Panel Data Analysis –Fixed Effects Dummy Variable Estimator Between and Within Estimator First-Difference Estimator.
Generalized Regression Model Based on Greene’s Note 15 (Chapter 8)
Advanced Panel Data Methods1 Econometrics 2 Advanced Panel Data Methods II.
Econometric Analysis of Panel Data
Chapter 15 Panel Data Analysis.
Economics 20 - Prof. Anderson
Part 7: Regression Extensions [ 1/59] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.
Economics Prof. Buckles
Econometric Analysis of Panel Data Fixed Effects and Random Effects: Extensions – Time-invariant Variables – Two-way Effects – Nested Random Effects.
Part 14: Generalized Regression 14-1/46 Econometrics I Professor William Greene Stern School of Business Department of Economics.
12 Autocorrelation Serial Correlation exists when errors are correlated across periods -One source of serial correlation is misspecification of the model.
Inference issues in OLS
Spatial Econometric Analysis Using GAUSS 4 Kuan-Pin Lin Portland State University.
Part 5: Random Effects [ 1/54] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.
Spatial Econometric Analysis Using GAUSS 1 Kuan-Pin Lin Portland State University.
Random Regressors and Moment Based Estimation Prepared by Vera Tabakova, East Carolina University.
Panel Data Analysis Introduction
Panel Data Models ECON 6002 Econometrics I Memorial University of Newfoundland Adapted from Vera Tabakova’s notes.
1/68: Topic 1.3 – Linear Panel Data Regression Microeconometric Modeling William Greene Stern School of Business New York University New York NY USA William.
MODELS FOR PANEL DATA. PANEL DATA REGRESSION Double subscript on variables (observations) i… households, individuals, firms, countries t… period (time-series.
Panel Data Models ECON 6002 Econometrics Memorial University of Newfoundland Adapted from Vera Tabakova’s notes.
Panel Data Analysis Using GAUSS
Chapter 15 Panel Data Models Walter R. Paczkowski Rutgers University.
Spatial Econometric Analysis Using GAUSS 10 Kuan-Pin Lin Portland State University.
M.Sc. in Economics Econometrics Module I Topic 4: Maximum Likelihood Estimation Carol Newman.
Panel Data Analysis Using GAUSS 2 Kuan-Pin Lin Portland State University.
Econometric Analysis of Panel Data Panel Data Analysis – Linear Model One-Way Effects Two-Way Effects – Pooled Regression Classical Model Extensions.
Part 4A: GMM-MDE[ 1/33] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.
Panel Data Analysis Using GAUSS 3 Kuan-Pin Lin Portland State University.
Financial Econometrics Lecture Notes 5
Heteroscedasticity Chapter 8
Vera Tabakova, East Carolina University
REGRESSION DIAGNOSTIC III: AUTOCORRELATION
Vera Tabakova, East Carolina University
Spatial Econometric Analysis Using GAUSS
Pooling Cross Sections across Time: Simple Panel Data Methods
David Bell University of Stirling
PANEL DATA REGRESSION MODELS
Kakhramon Yusupov June 15th, :30pm – 3:00pm Session 3
REGRESSION DIAGNOSTIC II: HETEROSCEDASTICITY
THE LINEAR REGRESSION MODEL: AN OVERVIEW
Chapter 15 Panel Data Analysis.
Panel Data Analysis Using GAUSS
Spatial Econometric Analysis
Serial Correlation and Heteroscedasticity in
Econometric Analysis of Panel Data
Microeconometric Modeling
Microeconometric Modeling
Serial Correlation and Heteroscedasticity in
Advanced Panel Data Methods
Econometrics I Professor William Greene Stern School of Business
Presentation transcript:

Spatial Econometric Analysis Using GAUSS 8 Kuan-Pin Lin Portland State University

Panel Data Analysis A Review Model Representation N-first or T-first representation Pooled Model Fixed Effects Model Random Effects Model Asymptotic Theory N→∞, or T→∞ N→∞, T→∞ Panel-Robust Inference

Panel Data Analysis A Review The Model One-Way (Individual) Effects: Unobserved Heterogeneity Cross Section and Time Series Correlation

Panel Data Analysis A Review N-first Representation Dummy Variables Representation T-first Representation

Panel Data Analysis A Review Notations

Pooled (Constant Effects) Model

Fixed Effects Model u i is fixed, independent of e it, and may be correlated with x it.

Fixed Effects Model Classical Assumptions Strict Exogeneity: Homoschedasticity: No cross section and time series correlation: Extensions: Panel Robust Variance-Covariance Matrix

Random Effects Model Error Components u i is random, independent of e it and x it. Define the error components as  it = u i + e it

Random Effects Model Classical Assumptions Strict Exogeneity  X includes a constant term, otherwise E(u i |X)=u. Homoschedasticity Constant Auto-covariance (within panels)

Random Effects Model Classical Assumptions (Continued) Cross Section Independence Extensions: Panel Robust Variance-Covariance Matrix

Fixed Effects Model Estimation Within Model Representation

Fixed Effects Model Estimation Model Assumptions

Fixed Effects Model Estimation: OLS Within Estimator: OLS

Fixed Effects Model Estimation: ML Normality Assumption

Fixed Effects Model Estimation: ML Log-Likelihood Function Since Q is singular and |Q|=0, we maximize

Fixed Effects Model Estimation: ML ML Estimator

Fixed Effects Model Hypothesis Testing Pool or Not Pool F-Test based on dummy variable model: constant or zero coefficients for D w.r.t F(N-1,NT-N-K) F-test based on fixed effects (unrestricted) model vs. pooled (restricted) model

Fixed Effects Model Hypothesis Testing Based on estimated residuals of the fixed effects model: Heteroscedasticity Breusch and Pagan (1980) Autocorrelation: AR(1) Breusch and Godfrey (1981)

Random Effects Model Estimation: GLS The Model

Random Effects Model Estimation: GLS GLS

Random Effects Model Estimation: GLS Feasible GLS Based on estimated residuals of fixed effects model

Random Effects Model Estimation: ML Log-Likelihood Function

Random Effects Model Estimation: ML where

Random Effects Model Estimation: ML ML Estimator

Random Effects Model Hypothesis Testing Pool or Not Pool Test for Var(u i ) = 0, that is For balanced panel data, the Lagrange-multiplier test statistic (Breusch-Pagan, 1980) is:

Random Effects Model Hypothesis Testing Pool or Not Pool (Cont.)

Random Effects Model Hypothesis Testing Fixed Effects vs. Random Effects EstimatorRandom Effects E(u i |X i ) = 0 Fixed Effects E(u i |X i ) =/= 0 GLS or RE-OLS (Random Effects) Consistent and Efficient Inconsistent LSDV or FE-OLS (Fixed Effects) Consistent Inefficient Consistent Possibly Efficient

Random Effects Model Hypothesis Testing Fixed effects estimator is consistent under H 0 and H 1 ; Random effects estimator is efficient under H 0, but it is inconsistent under H 1. Hausman Test Statistic

Random Effects Model Hypothesis Testing Alternative Hausman Test Estimate the random effects model F Test that  = 0

Random Effects Model Hypothesis Testing Heteroscedasticity H 0 : θ 2 =0 | θ 1 =0 H 0 : θ 1 =0 | θ 2 =0 H 0 : θ 2 =0, θ 1 =0

Random Effects Model Hypothesis Testing Heteroscedasticity (Cont.) Based on random effects model with homoscedasticity:

Random Effects Model Hypothesis Testing Heteroscedasticity (Cont.)

Random Effects Model Hypothesis Testing Heteroscedasticity (Cont.) Baltagi, B., Bresson, G., Pirotte, A. (2006) Joint LM test for homoscedasticity in a one-way error component model. Journal of Econometrics, 134,

Random Effects Model Hypothesis Testing Autocorrelation: AR(1) Based on random effects model with no autocorrelation: LM test statistic is tedious, see Baltagi, B., Li, Q. (1995) Testing AR(1) against MA(1) disturbances in an error component model. Journal of Econometrics, 68,

Random Effects Model Hypothesis Testing Joint Test for AR(1) and Random Effects Based on OLS residuals: Marginal Test for AR(1) & Random Effects

Random Effects Model Hypothesis Testing Robust LM Tests for AR(1) and Random Effects Because

Panel Data Analysis An Example: U. S. Productivity The Model (Munnell [1988]):

Panel Data Analysis An Example: U. S. Productivity Productivity Data 48 Continental U.S. States, 17 Years: STATE = State name, ST_ABB = State abbreviation, YR = Year, 1970,...,1986, PCAP = Public capital, HWY = Highway capital, WATER = Water utility capital, UTIL = Utility capital, PC = Private capital, GSP = Gross state product, EMP = Employment, UNEMP = Unemployment rate

U. S. Productivity Baltagi (2008) [munnell.1, munnell.2]munnell.1munnell.2 Panel Data Model ln(GSP) =   +   ln(Public) +  2 ln(Private) +  3 ln(Labor) +  4 (Unemp) +  Fixed Effectss.e Random Effectss.e   3 4 0 F(47,764) =75.82LM(1) = 4135 Hausman LM(4) = 905.1

Panel Data Analysis Another Example: China Provincial Productivity Cobb-Douglass Production Function ln(GDP) =  +  ln(L) +  ln(K) +  Fixed Effectss.e. Random Effectss.e    F(29,298) = LM(1) = Hausman LM(2) = 48.4

References B. H. Baltagi, Econometric Analysis of Panel Data, 4th ed., John Wiley, New York, W. H. Greene, Econometric Analysis, 6th ed., Chapter 9: Models for Panel Data, Prentice Hall, C. Hsiao, Analysis of Panel Data, 2nd ed., Cambridge University Press, J. M. Wooldridge, Econometric Analysis of Cross Section and Panel Data, The MIT Press, 2002.