Quantile Regression for Panel/Longitudinal Data

Similar documents
Quantile Regression for Longitudinal Data

ECAS Summer Course. Quantile Regression for Longitudinal Data. Roger Koenker University of Illinois at Urbana-Champaign

IV Quantile Regression for Group-level Treatments, with an Application to the Distributional Effects of Trade

Quantile Regression for Dynamic Panel Data

Quantile Regression for Panel Data Models with Fixed Effects and Small T : Identification and Estimation

Unconditional Quantile Regression for Panel Data with Exogenous or Endogenous Regressors

City, University of London Institutional Repository

Economics 536 Lecture 21 Counts, Tobit, Sample Selection, and Truncation

What s New in Econometrics? Lecture 14 Quantile Methods

WORKING P A P E R. Unconditional Quantile Treatment Effects in the Presence of Covariates DAVID POWELL WR-816. December 2010

Supplemental appendix to A Quantile Correlated Random Coefficients Panel Data Model

Lasso Maximum Likelihood Estimation of Parametric Models with Singular Information Matrices

Linear regression methods

Smoothed quantile regression for panel data

Non-linear panel data modeling

New Developments in Econometrics Lecture 16: Quantile Estimation

A Blockwise Descent Algorithm for Group-penalized Multiresponse and Multinomial Regression

Regression, Ridge Regression, Lasso

Penalized Quantile Regression with Semiparametric Correlated Effects: An Application with Heterogeneous Preferences

The risk of machine learning

NBER WORKING PAPER SERIES QUANTILE REGRESSION WITH PANEL DATA. Bryan S. Graham Jinyong Hahn Alexandre Poirier James L. Powell

INFERENCE APPROACHES FOR INSTRUMENTAL VARIABLE QUANTILE REGRESSION. 1. Introduction

Quantile Regression with Nonadditive Fixed Effects

Regression Shrinkage and Selection via the Lasso

Bayesian linear regression

Spring 2017 Econ 574 Roger Koenker. Lecture 14 GEE-GMM

Quantile methods. Class Notes Manuel Arellano December 1, Let F (r) =Pr(Y r). Forτ (0, 1), theτth population quantile of Y is defined to be

Econometrics of Panel Data

Comments on: Panel Data Analysis Advantages and Challenges. Manuel Arellano CEMFI, Madrid November 2006

High-dimensional regression with unknown variance

Estimation of Censored Quantile Regression for Panel Data with Fixed Effects

Econ 2148, fall 2017 Gaussian process priors, reproducing kernel Hilbert spaces, and Splines

Flexible Estimation of Treatment Effect Parameters

Problem Set 3: Bootstrap, Quantile Regression and MCMC Methods. MIT , Fall Due: Wednesday, 07 November 2007, 5:00 PM

WORKING P A P E R. Unconditional Quantile Regression for Panel Data with Exogenous or Endogenous Regressors DAVID POWELL WR

Multivariate Survival Analysis

Program Evaluation with High-Dimensional Data

Nonparametric Quantile Regression

Modeling conditional distributions with mixture models: Applications in finance and financial decision-making

Machine learning, shrinkage estimation, and economic theory

Economics 536 Lecture 7. Introduction to Specification Testing in Dynamic Econometric Models

Econ 5150: Applied Econometrics Dynamic Demand Model Model Selection. Sung Y. Park CUHK

High-dimensional regression

Interquantile Shrinkage in Regression Models

Statistics 203: Introduction to Regression and Analysis of Variance Penalized models

Finite Sample Performance of A Minimum Distance Estimator Under Weak Instruments

Improving linear quantile regression for

Sparse Linear Models (10/7/13)

Quantile regression and heteroskedasticity

Habilitationsvortrag: Machine learning, shrinkage estimation, and economic theory

Default Priors and Effcient Posterior Computation in Bayesian

By Koen Jochmans and Taisuke Otsu University of Cambridge and London School of Economics

CALCULATION METHOD FOR NONLINEAR DYNAMIC LEAST-ABSOLUTE DEVIATIONS ESTIMATOR

Jinyong Hahn. Department of Economics Tel: (310) Bunche Hall Fax: (310) Professional Positions

Informational Content in Static and Dynamic Discrete Response Panel Data Models

Nonlinear panel data estimation via quantile regressions

Data Mining Stat 588

NUCLEAR NORM PENALIZED ESTIMATION OF INTERACTIVE FIXED EFFECT MODELS. Incomplete and Work in Progress. 1. Introduction

Short Questions (Do two out of three) 15 points each

Nonlinear Panel Data Analysis

Under Appropriate Regularity Conditions: And Without Loss of Generality

An Encompassing Test for Non-Nested Quantile Regression Models

UNIVERSITY OF CALIFORNIA Spring Economics 241A Econometrics

Lecture 14: Shrinkage

Bayesian spatial quantile regression

Econometrics of Panel Data

Bayesian Indirect Inference and the ABC of GMM

Penalty Methods for Bivariate Smoothing and Chicago Land Values

Uniform Post Selection Inference for LAD Regression and Other Z-estimation problems. ArXiv: Alexandre Belloni (Duke) + Kengo Kato (Tokyo)

Consistent high-dimensional Bayesian variable selection via penalized credible regions

STA414/2104 Statistical Methods for Machine Learning II

Nonconcave Penalized Likelihood with A Diverging Number of Parameters

Review of Classical Least Squares. James L. Powell Department of Economics University of California, Berkeley

Stat 5100 Handout #26: Variations on OLS Linear Regression (Ch. 11, 13)

COMPARISON OF GMM WITH SECOND-ORDER LEAST SQUARES ESTIMATION IN NONLINEAR MODELS. Abstract

Smoothly Clipped Absolute Deviation (SCAD) for Correlated Variables

Ultra High Dimensional Variable Selection with Endogenous Variables

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

Linear model selection and regularization

Unobserved Heterogeneity in Longitudinal Data An Empirical Bayes Perspective

ECO 2403 TOPICS IN ECONOMETRICS

ORTHOGONALITY TESTS IN LINEAR MODELS SEUNG CHAN AHN ARIZONA STATE UNIVERSITY ABSTRACT

ECAS Summer Course. Fundamentals of Quantile Regression Roger Koenker University of Illinois at Urbana-Champaign

Generalized Elastic Net Regression

Technical Vignette 5: Understanding intrinsic Gaussian Markov random field spatial models, including intrinsic conditional autoregressive models

Empirical Bayes Quantile-Prediction aka E-B Prediction under Check-loss;

Econometrics of Panel Data

A Quantile Correlated Random Coefficients Panel Data Model

Regularization Parameter Selection for a Bayesian Multi-Level Group Lasso Regression Model with Application to Imaging Genomics

Modeling Real Estate Data using Quantile Regression

Ph.D. Qualifying Exam Friday Saturday, January 6 7, 2017

Unobserved Heterogeneity in Income Dynamics: An Empirical Bayes Perspective

Variable Selection for Highly Correlated Predictors

Quantile Regression Methods for Reference Growth Charts

WEIGHTED QUANTILE REGRESSION THEORY AND ITS APPLICATION. Abstract

gamboostlss: boosting generalized additive models for location, scale and shape

Moment and IV Selection Approaches: A Comparative Simulation Study

Estimation of Censored Quantile Regression for Panel Data with Fixed Effects

Locally Robust Semiparametric Estimation

Identification of Panel Data Models with Endogenous Censoring

Transcription:

Quantile Regression for Panel/Longitudinal Data Roger Koenker University of Illinois, Urbana-Champaign University of Minho 12-14 June 2017 y it 0 5 10 15 20 25 i = 1 i = 2 i = 3 0 2 4 6 8 Roger Koenker (UIUC) Panel Data x it Braga 12-14.6.2017 1 / 15

Classical Linear Fixed/Random Effects Model Consider the model, or y ij = x ij β + α i + u ij j = 1,...m i, i = 1,..., n, y = Xβ + Zα + u. The matrix Z represents an incidence matrix that identifies the n distinct individuals in the sample. If u and α are independent Gaussian vectors with u N(0, R) and α N(0, Q). Observing that v = Zα + u has covariance matrix Evv = R + ZQZ, we can immediately deduce that the minimum variance unbiased estimator of β is, ˆβ = (X (R + ZQZ ) 1 X) 1 X (R + ZQZ ) 1 y. Roger Koenker (UIUC) Panel Data Braga 12-14.6.2017 2 / 15

A Penalty Interpretation of ˆβ Proposition. ˆβ solves min (α,β) y Xβ Zα 2 R 1 + α 2 Q 1, where x 2 A = x Ax. Proof. Differentiating we obtain the normal equations, X R 1 Xˆβ + X R 1 Zˆα = X R 1 y Z R 1 Xˆβ + (Z R 1 Z + Q 1 )ˆα = Z R 1 y Solving, we have ˆβ = (X Ω 1 X) 1 X Ω 1 y where Ω 1 = R 1 R 1 Z(Z R 1 Z + Q 1 ) 1 Z R 1. But Ω = R + ZQZ, see e.g. Rao(1973, p 33.). This result has a long history: Henderson(1950), Goldberger(1962), Lindley and Smith (1972), penalty as Gaussian prior on α. Roger Koenker (UIUC) Panel Data Braga 12-14.6.2017 3 / 15

Quantile Regression with Fixed Effects Suppose that the conditional quantile functions of the response of the jth observation on the ith individual y ij takes the form: Q yij (τ x ij ) = α i + x ij β(τ) j = 1,...m i, i = 1,..., n. In this formulation the α s have a pure location shift effect on the conditional quantiles of the response. The effects of the covariates, x ij are permitted to depend upon the quantile, τ, of interest, but the α s do not. To estimate the model for several quantiles simultaneously, we propose solving, q n m i min w k ρ τk (y ij α i x ij β(τ k)) (α,β) k=1 j=1 i=1 Note that the usual between/within transformations are not helpful here due to the nonlinearity of the estimator. Differences in quantiles are NOT quantiles of differences. Roger Koenker (UIUC) Panel Data Braga 12-14.6.2017 4 / 15

Penalized Quantile Regression with Fixed Effects y it 0 5 10 15 20 25 i = 1 i = 2 i = 3 0 2 4 6 8 Time invariant, individual specific intercepts x it are quantile independent; slopes are quantile dependent. Roger Koenker (UIUC) Panel Data Braga 12-14.6.2017 5 / 15

Penalized Quantile Regression with Fixed Effects When n is large relative to the m i s shrinkage may be advantageous in controlling the variability introduced by the large number of estimated α parameters. We will consider estimators solving the penalized version, min q (α,β) k=1 j=1 i=1 n m i n w k ρ τk (y ij α i x ij β(τ k)) + λ α i. For λ 0 we obtain the fixed effects estimator described above, while as λ the ˆα i 0 for all i = 1, 2,..., n and we obtain an estimate of the model purged of the fixed effects. In moderately large samples this requires sparse linear algebra. Example R code is available from my webpages. Penalty does not have to be interpreted as a prior, but it may be so interpreted. i=1 Roger Koenker (UIUC) Panel Data Braga 12-14.6.2017 6 / 15

Shrinkage of the Fixed Effects α 2 0 2 4 6 8 10 α 4 0 2 4 6 8 0 1 2 3 4 5 λ 0 1 2 3 4 5 λ Shrinkage of the fixed effect parameter estimates, ˆα i. The left panel illustrates an example of the l 1 (lasso) shrinkage effect. The right panel illustrates an example of the l 2 (ridge) shrinkage effect. Roger Koenker (UIUC) Panel Data Braga 12-14.6.2017 7 / 15

Selection of the Penalty Parameter There are many ways to skin the λ selection cat: Stein unbiased risk criterion, Cross validation, and its offspring, AIC, SIC and related effective dimension methods Desirable to balance variability of the (in)fidelity term and the variability of the penalty term. See Lamarche (2010) and the vast, related literature on lasso λ selection. Roger Koenker (UIUC) Panel Data Braga 12-14.6.2017 8 / 15

A Half-Baked Empirical Bayes Proposal Shrinking all the α i s toward zero seems a bit extreme, a more plausible idea would be to shrink them toward a set of common group values, as in recent work by Manresa and Bonhomme (2015), who use k-means clustering. An alternative approach would be to employ the Kiefer-Wolfowitz (1956) NPMLE for mixture models: 1 Estimate initial unrestricted α s 2 Treating the ˆα i s as a sample from a Gaussian mixture model, estimate the mixing distribution, F, using the Kiefer-Wolfowitz NPMLE, produces discrete mixing distribution, 3 Using the mixture density as a (prior) penalty function reestimate the α s shrinking them toward their nearest group center 4 Iterate Roger Koenker (UIUC) Panel Data Braga 12-14.6.2017 9 / 15

Dynamic Panel Models and IV Estimation Galvao (2010) considers dynamic panel models of the form: Q yit (τ y i,t 1, x it ) = α i + γ(τ)y i,t 1 + x it β(τ) t = 1,...T i, i = 1,..., n. In short panels estimation suffers from the same bias problems seen in least squares estimators as noted by Nickel (1981) Hsiao and Anderson (1981) and others. Using the QRIV approach of Chernozhukov and Hansen (2004), Galvao shows that this bias can be reduced. Roger Koenker (UIUC) Panel Data Braga 12-14.6.2017 10 / 15

Correlated Random Effects Abrevaya and Dahl (2008) and Bache, Dahl and Kristensen (2013) adapt the Chamberlain (1982) correlated random effects model and estimate a model of birthweights for panel data. The R package rqpd (K and Bache) implements both this method and the penalized fixed effect approach. Available from R-Forge with the command: install.packages("rqpd", repos="http://r-forge.r-project.org") This is a challenging, but very important problem, and there has been considerable recent attention devoted to it by prominent researchers. Roger Koenker (UIUC) Panel Data Braga 12-14.6.2017 11 / 15

Recent Developments There is an extensive recent literature including: Arellano and Bonhomme, (2016) Nonlinear Panel Data Estimation via Quantile Regression, Econometrics Journal. Graham, B., J. Hahn, A. Poirier, and J. Powell (2015): Quantile Regression with Panel Data, NBER Working Paper 21034. Galvao, A. F., K. Kato and G. Montes-Rojas (2012): Asymptotics for quantile regression models with individual effects, Journal of Econometrics, 170, 7691. Chernozhukov, V., I. Fernández-Val, S. Hoderlein, H. Holzmann, and W. Newey (2015) Nonparametric Identification in Panels using Quantiles,Journal of Econometrics,forthcoming. Canay, I. A. (2011) A Simple Approach to Quantile Regression for Panel Data, Econometrics Journal, 14 (3), 368386. Arellano, M., and M. Weidner (2015): Instrumental Variable Quantile Regressions in Large Panels with Fixed Effects, UCL Technical report. Chetverikov, Denis, Bradley Larsen, and Christopher Palmer, (2016), IV Quantile Regression for group-level treatments, with an application to the effects of trade on the distribution of wages, Econometrica, 84, 809 834. Roger Koenker (UIUC) Panel Data Braga 12-14.6.2017 12 / 15

Arellano-Bonhomme Model Arellano-Bonhomme view the individual specific effects as latent covariates, Q Yit (τ x it, η i ) = x it β(τ) + η iγ(τ) or in random coefficient form, y it = x it β(u it) + η i γ(u it ) w it (η i ) θ(u it ), for iid u it U[0, 1], so θ = (β, γ) viewed as random coefficients are comonotonic. In the spirit of Chamberlain (1982) the η i s are assumed to arise from (what else??) another quantile regression model, Q ηi (τ x i ) = z i δ(τ) where z i = ϕ(x i ), some basis expansion of the x i. Roger Koenker (UIUC) Panel Data Braga 12-14.6.2017 13 / 15

Arellano-Bonhomme Estimation The parameters, θ(τ), δ(τ)) can obviously be estimated on a grid of τ values on (0, 1), except (oops!) we don t observe the η i s. A Stochastic EM algorithm is proposed: 1 Initialize (θ, δ) on τ (0, 1) grid, 2 Generate T i values for each of the η i s from the estimated density, f(η y, x, θ, δ) = Ti t=1 f Y t X t,η(y t x t, η, θ)f η X (η x, δ) Ti t=1 f Y t X t,η(y t x t, η, θ)f η X ( η x, δ)d η 3 Re-estimate (θ, δ) after plugging in the generated η s, 4 Iterate The density estimation step is facilitated by the recent addition of the density prediction option in the quantreg package. The algorithm combines features of the traditional EM algorithm, MCMC, and a large helping of standard quantile regression optimization. Roger Koenker (UIUC) Panel Data Braga 12-14.6.2017 14 / 15

Conclusions Quantile regression methods for panel data is still a very active research area and it would be premature to draw any definitive conclusions, nevertheless: Shrinkage methods for fixed effect models still have some appeal and offer interesting avenues for development, Under special circumstances the simple Hausman-Taylor approach of Chetverikov, Larson and Palmer (2016) can be quite effective and expedient, In my view, the most promising general approach is that of Arellano and Bonhomme because Conditioning on latent effects avoids conceptual difficulties with various other random effect formulations, Conditional density estimation opens the way to various other local likelihood methods for other problems such as sample selection and errors in variables that are currently under development. Roger Koenker (UIUC) Panel Data Braga 12-14.6.2017 15 / 15