Partial effects in fixed effects models

Similar documents
Ninth ARTNeT Capacity Building Workshop for Trade Research "Trade Flows and Trade Policy Analysis"

Robust covariance estimation for quantile regression

Non-linear panel data modeling

Limited Dependent Variables and Panel Data

Recent Advances in the Field of Trade Theory and Policy Analysis Using Micro-Level Data

Further simulation evidence on the performance of the Poisson pseudo-maximum likelihood estimator

Quantile regression and heteroskedasticity

Econometrics I Lecture 7: Dummy Variables

poisson: Some convergence issues

Lecture: Simultaneous Equation Model (Wooldridge s Book Chapter 16)

A dynamic model for binary panel data with unobserved heterogeneity admitting a n-consistent conditional estimator

xtseqreg: Sequential (two-stage) estimation of linear panel data models

Applied Microeconometrics (L5): Panel Data-Basics

Workshop for empirical trade analysis. December 2015 Bangkok, Thailand

Econometric Analysis of Cross Section and Panel Data

A Course in Applied Econometrics Lecture 18: Missing Data. Jeff Wooldridge IRP Lectures, UW Madison, August Linear model with IVs: y i x i u i,

5. Let W follow a normal distribution with mean of μ and the variance of 1. Then, the pdf of W is

Econometrics of Panel Data

Applied Health Economics (for B.Sc.)

GMM Estimation in Stata

Econometrics of Panel Data

Understanding the multinomial-poisson transformation

Generalized method of moments estimation in Stata 11

Applied Economics. Regression with a Binary Dependent Variable. Department of Economics Universidad Carlos III de Madrid

Homework Solutions Applied Logistic Regression

Week 7: Binary Outcomes (Scott Long Chapter 3 Part 2)

-redprob- A Stata program for the Heckman estimator of the random effects dynamic probit model

4. Nonlinear regression functions

Economics 671: Applied Econometrics Department of Economics, Finance and Legal Studies University of Alabama

Topic 7: Heteroskedasticity

Rewrap ECON November 18, () Rewrap ECON 4135 November 18, / 35

Short T Panels - Review

DEEP, University of Lausanne Lectures on Econometric Analysis of Count Data Pravin K. Trivedi May 2005

Chapter 9 Regression with a Binary Dependent Variable. Multiple Choice. 1) The binary dependent variable model is an example of a

Max. Likelihood Estimation. Outline. Econometrics II. Ricardo Mora. Notes. Notes

INTRODUCTION TO BASIC LINEAR REGRESSION MODEL

Lecture 3.1 Basic Logistic LDA

Lecture 9: Panel Data Model (Chapter 14, Wooldridge Textbook)

Robustness of Logit Analysis: Unobserved Heterogeneity and Misspecified Disturbances

Wooldridge, Introductory Econometrics, 4th ed. Chapter 15: Instrumental variables and two stage least squares

ECON 594: Lecture #6

Group comparisons in logit and probit using predicted probabilities 1

ECON 5350 Class Notes Functional Form and Structural Change

Poisson Regression. Ryan Godwin. ECON University of Manitoba

CRE METHODS FOR UNBALANCED PANELS Correlated Random Effects Panel Data Models IZA Summer School in Labor Economics May 13-19, 2013 Jeffrey M.

Non-maximum likelihood estimation and statistical inference for linear and nonlinear mixed models

Limited Dependent Variables and Panel Data

Applied Econometrics Lecture 1

Probit Estimation in gretl

Statistics II. Management Degree Management Statistics IIDegree. Statistics II. 2 nd Sem. 2013/2014. Management Degree. Simple Linear Regression

xtdpdqml: Quasi-maximum likelihood estimation of linear dynamic short-t panel data models

Logistic regression: Why we often can do what we think we can do. Maarten Buis 19 th UK Stata Users Group meeting, 10 Sept. 2015

Panel Data Models. James L. Powell Department of Economics University of California, Berkeley

Increasing the Power of Specification Tests. November 18, 2018

Testing for time-invariant unobserved heterogeneity in nonlinear panel-data models

Estimation in the Fixed Effects Ordered Logit Model. Chris Muris (SFU)

Panel Data. March 2, () Applied Economoetrics: Topic 6 March 2, / 43

Notes on Panel Data and Fixed Effects models

Lab 3: Two levels Poisson models (taken from Multilevel and Longitudinal Modeling Using Stata, p )

2. We care about proportion for categorical variable, but average for numerical one.

Binary Choice Models Probit & Logit. = 0 with Pr = 0 = 1. decision-making purchase of durable consumer products unemployment

Econometric Analysis of Panel Data. Final Examination: Spring 2013

When Should We Use Linear Fixed Effects Regression Models for Causal Inference with Panel Data?

Density estimation Nonparametric conditional mean estimation Semiparametric conditional mean estimation. Nonparametrics. Gabriel Montes-Rojas

Topic 10: Panel Data Analysis

Jeffrey M. Wooldridge Michigan State University

Very simple marginal effects in some discrete choice models *

Panel Data Seminar. Discrete Response Models. Crest-Insee. 11 April 2008

Review of Panel Data Model Types Next Steps. Panel GLMs. Department of Political Science and Government Aarhus University.

DOCUMENTS DE TRAVAIL CEMOI / CEMOI WORKING PAPERS

ERSA Training Workshop Lecture 5: Estimation of Binary Choice Models with Panel Data

Linear Regression With Special Variables

Lecture 8 Panel Data

Regression with Qualitative Information. Part VI. Regression with Qualitative Information

The regression model with one fixed regressor cont d

Ordinary Least Squares Regression

Econometrics II. Seppo Pynnönen. Spring Department of Mathematics and Statistics, University of Vaasa, Finland

An overview of applied econometrics

A Course in Applied Econometrics Lecture 7: Cluster Sampling. Jeff Wooldridge IRP Lectures, UW Madison, August 2008

Maximum Likelihood and. Limited Dependent Variable Models

Marginal and Interaction Effects in Ordered Response Models

A Course in Applied Econometrics Lecture 14: Control Functions and Related Methods. Jeff Wooldridge IRP Lectures, UW Madison, August 2008

Econometrics I KS. Module 2: Multivariate Linear Regression. Alexander Ahammer. This version: April 16, 2018

Econometrics of Panel Data

Final Exam. Economics 835: Econometrics. Fall 2010

What s New in Econometrics? Lecture 14 Quantile Methods

Economics 582 Random Effects Estimation

When Should We Use Linear Fixed Effects Regression Models for Causal Inference with Longitudinal Data?

EC327: Advanced Econometrics, Spring 2007

Control Function and Related Methods: Nonlinear Models

Dynamic Panel of Count Data with Initial Conditions and Correlated Random Effects. : Application for Health Data. Sungjoo Yoon

Using EViews Vox Principles of Econometrics, Third Edition

Lecture 4: Linear panel models

Marginal effects and extending the Blinder-Oaxaca. decomposition to nonlinear models. Tamás Bartus

Panel data methods for policy analysis

Dealing With Endogeneity

Modeling Binary Outcomes: Logit and Probit Models

Environmental Econometrics

New Developments in Econometrics Lecture 16: Quantile Estimation

The Simple Regression Model. Part II. The Simple Regression Model

Transcription:

1 Partial effects in fixed effects models J.M.C. Santos Silva School of Economics, University of Surrey Gordon C.R. Kemp Department of Economics, University of Essex 22 nd London Stata Users Group Meeting 8 September 2016

2 1. Introduction Models for panel data are attractive because they may make it possible to account for time-invariant unobserved individual characteristics, the so-called fixed effects. Consistent estimation of the fixed effects is only possible if T is allowed to pass to infinity. With fixed T it is not possible to perform valid inference about quantities that require estimates of the fixed effects. This is particularly problematic in non-linear models where often the parameter estimates have little meaning and it is more interesting to evaluate partial effects or elasticities.

3 2. The linear regression model Consider a standard linear panel data model of the form E [y it x it, α i ] = α i + βx it, i = 1,..., n, t = 1,..., T. β (but not α i ) can be consistently estimated with fixed T. β gives the partial effect of x it on E [y it x it, α i ]. What if we are interested in the semi-elasticity of E [y it x it, α i ] with respect to x it? For individual i this semi-elasticity is ln E [y it x it, α i ] x it = β α i + βx it, and therefore it cannot be consistently estimated without a consistent estimate of α i.

4 3. Logit regression Let y it be a binary variable such that E [y it x it, α i ] = Pr [y it = 1 x it, α i ] = exp (α i + βx it ) 1 + exp (α i + βx it ). It is well known that under suitable regularity conditions (Andersen, 1970, and Chamberlain, 1980) it is possible to estimate β consistently with fixed T. β is not particularly meaningful, at least for economists. It can be seen as the partial effect of x it on the log odds ratio (Cramer, 2003, p. 13, Buis, 2010). It is also related to the partial effect on probabilities computed conditionally on T i =1 y it (Cameron and Trivedi, 2005, p. 797).

5 Some practitioners opt for reporting the partial effects and semi-elasticities evaluated at an arbitrary value α i = c Pr [y it = 1 x it, α i = c] exp (βx it + c) = β x it (1 + exp (βx it + c)) 2, ln Pr [y it = 1 x it, α i = c] 1 = β x it 1 + exp (βx it + c) often setting α i = 0. These, of course, is not meaningful because the choice of where to evaluate the individual effect is completely arbitrary.

Wooldridge (2010, p. 622-3) considers an example where labour force participation of married women depends on the number of kids less than 18, on the log of husband s income, and time dummies. 6

Setting α i = 0, the average elasticity of Pr [y it = 1 x it, α i = 0] with respect to husband s income can be computed using margins. 7

To illustrate how meaningless this result is, let s repeat the exercise defining husband s income in thousands of dollars. 8

Using again margins to estimate the average elasticity of Pr [y it = 1 x it, α i = 0] with respect to husband s income we now get a different result. 9

The problem, of course, is that changing the scale in which income is measured only changes the values of the fixed effects, which are not estimated. Therefore, Pr [y it = 1 x it, α i = 0] is evaluated at exactly the same parameters, but using different regressors. Therefore, partial effects and elasticities evaluated at α i = 0 are not only meaningless, but their value will depend on how the regressors are measured. However, the average elasticity of Pr [y it = 1 x it, α i ] with respect to the husband s income can be estimated consistently.

11 Let x it = ln (X it ) where X it is the husband s income. We want to estimate the average of e it = ln Pr [y it = 1 x it, α i ] x it 1 = β 1 + exp (βx it + α i ) e it obviously depends on α i and therefore cannot be consistently estimated with fixed T. However, to estimate E [e it ] we do not actually need to compute e it because E [e it ] = β (1 E [y it ]) which can be consistently estimated by ˆβ (1 ȳ), where ȳ = 1 nt n i=1 T i=1 y it. This results was first obtained by Yoshitsugu Kitazawa (2012).

12 In short When x it = ln (X it ), E [e it ] is the average elasticity with respect to X it. Otherwise, E [e it ] is the average semi-elasticity with respect to x it. If x it is discrete, for small β, E [e it ] is approximately the percentage change of Pr (y it = 1 x it, α i ) resulting from a unit change in x it. Unfortunately, the trick does not apply to the partial effects: The partial effects have the form β Var [y it x it, α i ]; Var [y it x it, α i ] cannot be estimated without an estimate of α i, but can be bounded; It is not clear that having bounds on the partial effects is interesting.

13 To perform inference about E [e it ] we need to be able to estimate its variance. The computation of such variance is greatly simplified by the fact that ˆβ and ȳ are uncorrelated. Indeed, conditionally on the value of the regressors, changes in ȳ are absorbed by the fixed effects; therefore ˆβ is uncorrelated with ȳ because β is estimated by maximizing the conditional likelihood, which does not depend on α i. Hence: Var [ ˆβ (1 ȳ) ] = Var [ ˆβ ] (1 ȳ) 2 + Var [ȳ] ˆβ 2.

14 4. The aextlogit command aextlogit is a wrapper for xtlogit which estimates the fixed effects logit and reports estimates of the average (semi-) elasticity of Pr (y it = 1 x it, α i ), and the corresponding standard errors and t-statistics. Syntax is standard: aextlogit depvar [indepvars] [if] [in] [iweight] [, options] betas: displays the logit estimates nolog: suppress the display of the iteration log

15

16

17 5. Concluding remarks A similar results applies to the partial effects in the exponential regression model (Poisson): E [y it x it, α i ] = exp (α i + βx it ), i = 1,..., n, t = 1,..., T. [ ] E [yit x it, α i ] E = βe [exp (α i + βx it )] = βe [y it ] x it which can be consistently estimated by ˆβȳ. Maybe margins should be disabled after xtlogit and xtpoisson when the fe option is used?

18 References Andersen, E.B. (1970). Asymptotic properties of conditional maximum likelihood estimators, Journal of the Royal Statistical Society, Series B, 32, 283-301. Buis, M.L. (2010). Stata tip 87: Interpretation of interactions in non-linear models, The Stata Journal, 10, 305-308. Chamberlain, G. (1980). Analysis of covariance with qualitative data, Review of Economic Studies, 47, 225 238. Cramer, J.S. (2003). Logit Models from Economics and Other Fields. Cambridge: CUP. Kitazawa, Y. (2012). Hyperbolic transformation and average elasticity in the framework of the fixed effects logit model, Theoretical Economics Letters, 2, 192-199. Wooldridge, J.M. (2010). Econometric Analysis of Cross Section and Panel Data. 2nd ed. Cambridge, MA: MIT Press.