Download - Topics in Microeconometrics

Transcript
Page 1: Topics in Microeconometrics

Topics in Microeconometrics

William GreeneDepartment of EconomicsStern School of Business

Page 2: Topics in Microeconometrics

Descriptive Statistics and Linear Regression

Page 3: Topics in Microeconometrics

Model Building in Econometrics

• Parameterizing the model• Nonparametric analysis• Semiparametric analysis• Parametric analysis

• Sharpness of inferences follows from the strength of the assumptions

A Model Relating (Log)Wage to Gender and Experience

Page 4: Topics in Microeconometrics

Nonparametric RegressionKernel regression of y on x

Semiparametric Regression: Least absolute deviations regression of y on x

Parametric Regression: Least squares – maximum likelihood – regression of y on x

Application: Is there a relationship between investment and capital stock?

Page 5: Topics in Microeconometrics

Cornwell and Rupert Panel DataCornwell and Rupert Returns to Schooling Data, 595 Individuals, 7 YearsVariables in the file areEXP = work experienceWKS = weeks workedOCC = occupation, 1 if blue collar, IND = 1 if manufacturing industrySOUTH = 1 if resides in southSMSA = 1 if resides in a city (SMSA)MS = 1 if marriedFEM = 1 if femaleUNION = 1 if wage set by union contractED = years of educationBLK = 1 if individual is blackLWAGE = log of wage = dependent variable in regressionsThese data were analyzed in Cornwell, C. and Rupert, P., "Efficient Estimation with Panel Data: An Empirical Comparison of Instrumental Variable Estimators," Journal of Applied Econometrics, 3, 1988, pp. 149-155.  See Baltagi, page 122 for further analysis.  The data were downloaded from the website for Baltagi's text.

Page 6: Topics in Microeconometrics

A First Look at the DataDescriptive Statistics

• Basic Measures of Location and Dispersion

• Graphical Devices• Histogram• Kernel Density Estimator

Page 7: Topics in Microeconometrics
Page 8: Topics in Microeconometrics

Histogram for LWAGE

Page 9: Topics in Microeconometrics

The kernel density estimator is ahistogram (of sorts).

n i mm mi 1

** *x x1 1f̂(x ) K , for a set of points x

n B B

B "bandwidth" chosen by the analystK the kernel function, such as the normal or logistic pdf (or one of several others)x* the point at which the density is approximated.This is essentially a histogram with small bins.

Page 10: Topics in Microeconometrics

Kernel Estimator for LWAGE

Page 11: Topics in Microeconometrics

Kernel Density Estimator

n i mm mi 1

** *x x1 1f̂(x ) K , for a set of points x

n B B

B "bandwidth"K the kernel functionx* the point at which the density is approximated.

f̂(x*) is an estimator of f(x*)1

The curse of dimensionality

nii 1

3/5

Q(x | x*) Q(x*). n

1 1But, Var[Q(x*)] Something. Rather, Var[Q(x*)] * somethingN N

ˆI.e.,f(x*) does not converge to f(x*) at the same rate as a meanconverges to a population mean.

Page 12: Topics in Microeconometrics

Objective: Impact of Education on (log) wage

• Specification: What is the right model to use to analyze this association?

• Estimation• Inference• Analysis

Page 13: Topics in Microeconometrics

Simple Linear RegressionLWAGE = 5.8388 + 0.0652*ED

Page 14: Topics in Microeconometrics

Multiple Regression

Page 15: Topics in Microeconometrics

Specification: Quadratic Effect of Experience

Page 16: Topics in Microeconometrics

Partial Effects

Education: .05544Experience: .04062 – 2*.00068*ExpFEM – .37522

Page 17: Topics in Microeconometrics

Model Implication: Effect of Experience and Male vs. Female

Page 18: Topics in Microeconometrics

Hypothesis Test About Coefficients• Hypothesis

• Null: Restriction on β: Rβ – q = 0• Alternative: Not the null

• Approaches• Fitting Criterion: R2 decrease under the null?• Wald: Rb – q close to 0 under the

alternative?

Page 19: Topics in Microeconometrics

Hypotheses

All Coefficients = 0?R = [ 0 | I ] q = [0]

ED Coefficient = 0?R = 0,1,0,0,0,0,0,0,0,0,0,0q = 0

No Experience effect?R = 0,0,1,0,0,0,0,0,0,0,0,0 0,0,0,1,0,0,0,0,0,0,0,0q = 0 0

Page 20: Topics in Microeconometrics

Hypothesis Test Statistics

2

2 21 0

121 1

Subscript 0 = the model under the null hypothesisSubscript 1 = the model under the alternative hypothesis

1. Based on the Fitting Criterion R

(R -R ) / J F = =F[J,N-K ]

(1-R ) / (N-K )

2. Bas

-12 -1

1 1

ed on the Wald Distance : Note, for linear models, W = JF.

Chi Squared = ( - ) s ( ) ( - )Rb q R X X R Rb q

Page 21: Topics in Microeconometrics

Hypothesis: All Coefficients Equal Zero

All Coefficients = 0?R = [0 | I] q = [0]R1

2 = .42645R0

2 = .00000F = 280.7 with [11,4153]Wald = b2-12[V2-12]-1b2-12

= 3087.83355Note that Wald = JF = 11(280.7)

Page 22: Topics in Microeconometrics

Hypothesis: Education Effect = 0

ED Coefficient = 0?R = 0,1,0,0,0,0,0,0,0,0,0,0q = 0R1

2 = .42645R0

2 = .36355 (not shown)F = 455.396Wald = (.05544-0)2/(.0026)2

= 455.396Note F = t2 and Wald = FFor a single hypothesis about 1 coefficient.

Page 23: Topics in Microeconometrics

Hypothesis: Experience Effect = 0No Experience effect?R = 0,0,1,0,0,0,0,0,0,0,0,0 0,0,0,1,0,0,0,0,0,0,0,0q = 0 0R0

2 = .34101, R12 = .42645

F = 309.33Wald = 618.601 (W* = 5.99)

Page 24: Topics in Microeconometrics

A Robust Covariance Matrix

• What does robustness mean?• Robust to:

• Heteroscedasticty• Not robust to:

• Autocorrelation• Individual heterogeneity• The wrong model specification

• ‘Robust inference’

-1 2 -1i i ii

The White Estimator

Est.Var[ ] = ( ) e ( )b X X x x X X

Page 25: Topics in Microeconometrics

Robust Covariance Matrix

Heteroscedasticity Robust Covariance Matrix