Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "Spatial Econometric Analysis Using GAUSS 8 Kuan-Pin Lin Portland State University."— Presentation transcript:

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

2 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

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

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

5 Panel Data Analysis A Review Notations

6 Pooled (Constant Effects) Model

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

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

9 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

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

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

12 Fixed Effects Model Estimation Within Model Representation

13 Fixed Effects Model Estimation Model Assumptions

14 Fixed Effects Model Estimation: OLS Within Estimator: OLS

15 Fixed Effects Model Estimation: ML Normality Assumption

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

17 Fixed Effects Model Estimation: ML ML Estimator

18 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

19 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)

20 Random Effects Model Estimation: GLS The Model

21 Random Effects Model Estimation: GLS GLS

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

23 Random Effects Model Estimation: ML Log-Likelihood Function

24 Random Effects Model Estimation: ML where

25 Random Effects Model Estimation: ML ML Estimator

26 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:

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

28 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

29 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

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

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

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

33 Random Effects Model Hypothesis Testing Heteroscedasticity (Cont.)

34 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, 401-417.

35 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, 133-151.

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

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

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

39 Panel Data Analysis An Example: U. S. Productivity Productivity Data 48 Continental U.S. States, 17 Years:1970-1986 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

40 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  -0.0260.0290.0030.024  0.2920.0250.3100.020 33 0.7680.0300.7310.026 44 -0.0050.001-0.0060.001 00 2.1440.137 F(47,764) =75.82LM(1) = 4135 Hausman LM(4) = 905.1

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

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


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

Similar presentations


Ads by Google