Presentation is loading. Please wait.

Presentation is loading. Please wait.

Microeconometric Modeling

Similar presentations


Presentation on theme: "Microeconometric Modeling"— Presentation transcript:

1 Microeconometric Modeling
William Greene Stern School of Business New York University New York NY USA 1.1 Descriptive Statistics and Linear Regression

2 Linear Regression Model
Data Description Linear Regression Model Basic Statistics Tables Histogram Box Plot Kernel Density Estimator Linear Model Specification & Estimation Nonlinearities Interactions Inference - Testing Wald F LM Prediction and Model Fit Endogeneity 2SLS Control Function Hausman Test

3 Cornwell and Rupert Panel Data
Cornwell and Rupert Returns to Schooling Data, 595 Individuals, 7 Years Variables in the file are EXP = work experience WKS = weeks worked OCC = occupation, 1 if blue collar, IND = 1 if manufacturing industry SOUTH = 1 if resides in south SMSA = 1 if resides in a city (SMSA) MS = 1 if married FEM = 1 if female UNION = 1 if wage set by union contract ED = years of education LWAGE = log of wage = dependent variable in regressions These 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 3

4

5 Application: Is there a relationship between (log) Wage and Education?
Regression: Least squares

6 A First Look at the Data Descriptive Statistics
Basic Measures of Location and Dispersion Graphical Devices Box Plots Histogram Kernel Density Estimator

7

8 Histogram for LWAGE

9 Shows trend in median log wage
Box Plots Shows trend in median log wage

10

11

12 From Jones and Schurer (2011)
Stylized Box Plot

13 Kernel Density Estimator

14 The kernel density estimator is a histogram (of sorts).

15 From Jones and Schurer (2011)

16 Objective: Impact of Education on (log) Wage
Specification: What is the right model to use to analyze this association? Estimation Inference Analysis

17 Simple Linear Regression
LWAGE = *ED

18 Multiple Regression

19 Nonlinear Specification: Quadratic Effect of Experience

20 A Model Relating (Log)Wage to Gender and Education & Experience

21 Partial Effects Coefficients do not tell the story
Education: Experience *.00068*Exp FEM

22 Effect of Experience = .04045 - 2*.00068*Exp
Positive from 1 to 30, negative after.

23 Interaction Effect Gender Difference in Partial Effects

24 Partial Effect of a Year of Education E[logWage]/ED=ED + ED. FEM
Partial Effect of a Year of Education E[logWage]/ED=ED + ED*FEM *FEM Note, the effect is positive. Effect is larger for women.

25 The Gender Effect Varies by Years of Education

26 Hypothesis Tests About Coefficients
Nested Models: Model A: A theory about the world (Alternative) Model 0: A restriction on model A (Null) Model 0 is contained in (nested in) Model A. Hypothesis (for now) 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? LM: Does the null model appear to be inadequate

27 Model Fit Predict the outcome and assess how well the predictions match the actual. R2 = squared corr.

28 Endogeneity y = X+ε, Definition: E[ε|x]≠0
Why not? The most common reasons: Omitted variables Unobserved heterogeneity (equivalent to omitted variables) Measurement error on the RHS (equivalent to omitted variables) Endogenous sampling and attrition

29 Instrumental Variable Estimation
One “problem” variable – the “last” one yi = 1x1i + 2x2i + … + KxKi + εi E[εi|xKi] ≠ 0. (0 for all others) There exists a variable zi such that [RELEVANCE] E[xKi| x1i, x2i,…, xK-1,i,zi] = g(x1i, x2i,…, xK-1,i,zi) In the presence of the other variables, zi “explains” xKi [EXOGENEITY] E[εi| x1i, x2i,…, xK-1,i,zi] = 0 In the presence of the other variables, zi and εi are uncorrelated. A projection interpretation: In the projection xKi = θ1x1i,+ θ2x2i + … + θK-1xK-1,i + θK zi, θK ≠ 0.

30 The Effect of Education on LWAGE

31 An Exogenous Influence

32 Instrumental Variables
Structure LWAGE (ED,EXP,EXPSQ,WKS,OCC, SOUTH,SMSA,UNION) ED (MS, FEM) Reduced Form: LWAGE[ ED (MS, FEM), EXP,EXPSQ,WKS,OCC, SOUTH,SMSA,UNION ]

33 Two Stage Least Squares Strategy
Reduced Form: LWAGE[ ED (MS, FEM,X), EXP,EXPSQ,WKS,OCC, SOUTH,SMSA,UNION ] Strategy (1) Purge ED of the influence of everything but MS, FEM (and the other variables). Predict ED using all exogenous information in the sample (X and Z). (2) Regress LWAGE on this prediction of ED and everything else. Standard errors must be adjusted for the predicted ED

34 OLS

35 The extreme result for the coefficient on ED is probably due to the fact that the instruments, MS and FEM are dummy variables. There is not enough variation in these variables.

36 Source of Endogeneity LWAGE = f(ED, EXP,EXPSQ,WKS,OCC, SOUTH,SMSA,UNION) +  ED = f(MS,FEM, EXP,EXPSQ,WKS,OCC, SOUTH,SMSA,UNION) + u

37 Remove the Endogeneity by Using a Control Function
LWAGE = f(ED, EXP,EXPSQ,WKS,OCC, SOUTH,SMSA,UNION) + u +  LWAGE = f(ED, EXP,EXPSQ,WKS,OCC, SOUTH,SMSA,UNION) + u +  Problem: ED is correlated with (u+) so it is endogenous Strategy Estimate u Add u to the equation. ED is uncorrelated with  when u is in the equation.

38 Auxiliary Regression for ED to Obtain Residuals

39 OLS with Residual (Control Function) Added
2SLS

40 A Warning About Control Functions
Sum of squares is not computed correctly because U is in the regression. A general result. Control function estimators usually require a fix to the estimated covariance matrix for the estimator.

41 Endogeneity Test: Wu Considerable complication in Hausman test Simplification: Wu test. Regress y on X and estimated for the endogenous part of X. Then use an ordinary Wald test. Variable addition test

42 Wu Test

43 A Regression Based Endogeneity Test

44 Testing Endogeneity of WKS
(1) Regress WKS on 1,EXP,EXPSQ,OCC,SOUTH,SMSA,MS. U=residual, WKSHAT=prediction (2) Regress LWAGE on 1,EXP,EXPSQ,OCC,SOUTH,SMSA,WKS, U or WKSHAT |Variable | Coefficient | Standard Error |b/St.Er.|P[|Z|>z] | Mean of X| Constant EXP EXPSQ D D OCC SOUTH SMSA WKS U D-14 WKS WKSHAT


Download ppt "Microeconometric Modeling"

Similar presentations


Ads by Google