EconBase
← Back to paper

A Simple Estimator for Quantile Panel Data Models Using Smoothed Quantile Regressions

Extracted main text — title through conclusion, appendix excluded. This is what our citation measures are computed over, published so the extraction can be checked by eye.

45,734 characters · 11 sections · 87 citation commands

Rendered from LaTeX for readability, not typeset faithfully. Citation keys are highlighted; maths is left as source; figures, tables and equation environments are summarised rather than reproduced; unrecognised commands are greyed out so nothing is silently dropped. Email addresses are removed.

A Simple Estimator For Quantile Panel Data Models Using Smoothed Quantile Regressions

\affil[1]{School of Economics, Shanghai University of Finance and Economics}

\thispagestyle{empty}

abstractCanay (2011)'s two-step estimator of quantile panel data models, due to its simple intuition and low computational cost, has been widely used in empirical studies in recent years. In this paper, we revisit the estimator of Canay (2011) and point out that in his asymptotic analysis the bias of his estimator due to the estimation of the fixed effects is mistakenly omitted, and that such omission will lead to invalid inference on the coefficients. To solve this problem, we propose a similar easy-to-implement estimator based on smoothed quantile regressions. The asymptotic distribution of the new estimator is established and the analytical expression of its asymptotic bias is derived. Based on these results, we show how to make asymptotically valid inference based on both analytical and split-panel jackknife bias corrections. Finally, finite sample simulations are used to support our theoretical analysis and to illustrate the importance of bias correction in quantile regressions for panel data. \noindentKeywords: Panel data, quantile regression, bias correction, jackknife. \noindentJEL codes: C31, C33, C38.

Introduction

Starting with koenker2004quantile, the last decade has seen a rapid growth of the literature on quantile regressions for panel data models. abrevaya2008effects, rosen2012set, arellano2016nonlinear and graham2018quantile considered the identification and estimation of quantile effects with fixed $T$\footnote{Throughout the paper we use $N$ and $T$ to denote the number of cross-sectional ovbservations and the number of time-series observations respectively.}; lamarche2010robust and galvao2010penalized proposed penalized quantile regressions for panel data models with large $T$; galvao2011quantile considered quantile regressions of dynamic panels with large $T$; kato2012asymptotics and galvao2016smoothed focused on the asymptotic distributions of quantile regressions and smoothed quantile regressions; galvao2013estimation studied censored quantile regressions for panel data; quantile panel models with interactive fixed effects were considered by harding2014estimating, and more recently by ando2019quantile and chen2019twostep.

Among these methods, the estimation approach of canay2011simple is one of the most widely used in empirical studies. According to 10.1093/ectj/utz012, canay2011simple was cited by 120 papers, 81 of which employed its estimator. We refer to 10.1093/ectj/utz012 for an excellent summary of these empirical studies.

The model considered by canay2011simple is a standard panel data model with individual fixed effects, where the unobserved idiosyncratic errors are subject to conditional quantile restrictions. The estimation method proposed by canay2011simple consists of two steps: in the first step, the individual effects are estimated using the standard fixed effects estimator for linear panel data models; in the second step, the coefficients of the regressors are estimated using standard quantile regressions, treating the estimated individual effects from the first step as given. The intuition behind this two-step estimator is simple, and the its implementation in practice is very easy --- this explains its popularity among empirical researchers.

However, simplicity comes at costs. First, the consistency of canay2011simple's two-step estimator requires certain moments of the idiosyncratic errors to exist, thus the robustness of quantile regressions against heavy-tailed distributions is sacrificed. In comparison, galvao2016smoothed estimate the coefficients and the individual effects jointly, and they only require the density functions of the idiosyncratic errors to exist. Second, the validity of canay2011simple's asymptotic analysis was called into question recently by 10.1093/ectj/utz012, who discussed two potential errors in canay2011simple's theoretical results: (i) the assumption that $N/T^s\rightarrow 0$ for some $s>1$ is not enough to ignore the asymptotic bias of the estimated coefficients, and (ii) the asymptotic variance of the estimated coefficients derived by canay2011simple is not correct.

While the second problem raised by 10.1093/ectj/utz012 can be easily solved by deriving the correct asymptotic variance that takes into account both cross-sectional and serial correlations of the within-transformed regressors (see the exact definition below), the first problem is related to a fundamental issue in fixed effects estimator of nonlinear panel data models. To facilitate the discussion, let $\{Y_{it},X_{it}\}_{1\leq i\leq N,1\leq t\leq T}$ be a panel of observed variables, and let $\{\alpha_i\}_{1\leq i\leq N}$ be the unobserved individual effects. Let $\mathcal{L}$ be a smooth function where the true coefficients is defined by $\beta_0 = \operatorname*{arg\min} \mathbb{E}\left[ \mathcal{L}( Y_{it},\beta'X_{it} +\alpha_i ) | \alpha_i\right]$, so the fixed effects estimator is given by \[ (\hat{\beta}^{FE},\hat{\alpha}_{1}^{FE},\ldots,\hat{\alpha}^{FE}_N) =\operatorname*{arg\min}_{\beta,\alpha_1,\ldots,\alpha_N} \frac{1}{NT}\sum_{i=1}^{N}\sum_{t=1}^{T} \mathcal{L}( Y_{it},\beta'X_{it} +\alpha_i ). \] Under some regularity conditions, hahn2004jackknife showed that \[ \hat{\beta}^{FE} -\beta_0 = \frac{1}{\sqrt{NT}}\cdot \mathcal{N}(0,\mathbf{V}) + \frac{b}{T} +o_P(T^{-1}),\] where $\mathcal{N}(0,\mathbf{V}) $ denotes a vector of normal random variables with means 0 and covariance matrix $\mathbf{V}$, and $b$ is a bias term due to the estimation errors $\hat{\alpha}_{1}^{FE},\ldots,\hat{\alpha}^{FE}_N$. Thus, under the assumption that $N/T\rightarrow \kappa^2>0$, it follows that $ \sqrt{NT} (\hat{\beta}^{FE} -\beta_0 ) \overset{d}{\rightarrow} \mathcal{N}(\kappa b,\mathbf{V})$. The presence of $\kappa b$ in the asymptotic distribution of $\hat{\beta}^{FE}$ means that the standard inference on $\beta_0$ using a consistent estimator $\hat{\mathbf{V}}$ of $\mathbf{V}$ is not valid. For example, let $\beta_j$ denote the $j$th element of $\beta$ and let $\mathbf{V}_{jj}$ denote the $j$th diagonal element of $\mathbf{V}$, then the coverage probability of the confidence interval \[ \left[ \hat{\beta}^{FE}_j -1.96 \sqrt{ \hat{\mathbf{V}}_{jj}/NT }, \hat{\beta}^{FE}_j +1.96 \sqrt{ \hat{\mathbf{V}}_{jj}/NT } \right] \] will not converge to $95\%$ (the nominal level) as $N,T$ go to infinity unless $b=0$. To solve this problem, one can use either analytical bias correction (see hahn2004jackknife) or split-panel jackknife (see dhaene2015split) to alleviate the term $b/T$. Alternatively, in applications where $T$ is much larger than $N$, the asymptotic bias can be simply ignored because $\kappa$ is close to 0. However, for the fixed effects estimator of quantile panel data models where $\mathcal{L}( Y_{it},\beta'X_{it} +\alpha_i ) = \rho_{\tau}(Y_{it} - \beta'X_{it}-\alpha_i)$ and $\rho_{\tau}(u)= (\mathbf{1}\{u\leq 0\}-\tau) u$ is the check function, kato2012asymptotics showed that due to the non-smoothness of the check function, \[ \hat{\beta}^{FE} -\beta_0 \approx \frac{1}{\sqrt{NT}}\cdot \mathcal{N}(0,\mathbf{V}) + O_P\left( \frac{1}{T^{3/4}} \right) ,\] thus the condition $N^2/T\rightarrow 0$ is required to ignore the asymptotic bias\footnote{In fact, kato2012asymptotics explains why it is in general very difficult to derive the analytical expression of the $O_P(T^{-3/4})$ term. Thus, it is unknown whether this term is a bias or a variance term.}. Based on the analysis of kato2012asymptotics, we first decompose the stochastic expansion of canay2011simple's two-step estimator, point out an error in canay2011simple's proof that leads to the omission of the asymptotic bias, and argue that $N^2/T\rightarrow 0$ is needed to ignore the asymptotic bias --- this is in contrast to 10.1093/ectj/utz012's claim that $N/T\rightarrow 0$ is the required condition for the asymptotic bias to disappear. As discussed above, ignoring the asymptotic bias could result in series problems in the inference on the true coefficients. In one of the simulated model, we find that the coverage rates of the confidence intervals (with $95\%$ nominal level) based on canay2011simple's estimator is lower than $3\%$ when $N=1000$ and $T=20$.

That being said, the main goal of our paper is to provide an alternative easy-to-implement estimator for quantile panel data models. Therefore, our paper can be viewed as both an complement and an extension of canay2011simple and 10.1093/ectj/utz012\footnote{10.1093/ectj/utz012 also proposed an alternative estimator to reduce the bias, but the asymptotic analysis was not provided.}. The new estimator consists of two steps, where the first step is identical to the first step of canay2011simple's estimation approach, and in the second step we use smoothed quantile regressions instead of standard quantile regressions to estimate the coefficients of the regressors, treating the estimated fixed effects from the first step as given. Thus, for the many empirical researchers who find canay2011simple's method attractive because of its computational convenience, the cost of learning the new estimator is very low. More importantly, this new estimator allows us to derive the analytical expression of its asymptotic bias. Given the analytical expression of bias, we show that it is fairly easy to constructed bias-corrected estimators and to make valid inference on the true coefficients.

The rest of the paper is organized as follows: In Section 2 we revisit canay2011simple's estimator and point out the main error in his asymptotic analysis. Section 3 introduces an alternative two-step estimator for quantile panel data models, and establishes its asymptotic distribution. We also discuss how to do bias corrections and how to make valid inference based on the bias-corrected estimators. Section 4 provides finite sample simulation results to support our theoretical analysis and to illustrate the importance of bias correction. Finally, Section 5 concludes.

Revisiting Canay (2011)'s Estimator

The Model and Estimator

Following canay2011simple, we consider the following panel data model:

equation[equation omitted — 68 chars of source]

where $W_{it}=[1,X_{it}']'$, $ X_{it}\in\mathbb{R}^{d}$, $\beta(\cdot): [0,1] \mapsto \mathbb{R}^{d+1}$, $U_{it}\sim \mathcal{U}[0,1]| (X_{it},\alpha_i)$, and $\alpha_i$ represents the time-invariant individual effect. Note that $\beta_1(U_{it})$, the first element of $\beta(U_{it})$, can not be separately identified from $\alpha_i$. Thus, the normalization $\mathbb{E}[\beta_1(U_{it}) ]=0$ is imposed throughout the paper. Assuming that the mapping $\tau: \mapsto \beta(\tau)'W_{it}$ is strictly increasing for all $W_{it}$, then we have \[ P[Y_{it}\leq \beta(\tau)'W_{it}+\alpha_i | X_{it},\alpha_i ] =\tau,\] or

equation[equation omitted — 88 chars of source]

Suppose that there is a panel of observed variables $(Y_{it},W_{it})$ for $i=1,\ldots, N$ and $t=1,\ldots,T$. The main object of interest is the partial quantile effect: $\beta(\tau) = \partial \mathsf{Q}_{Y_{it}}[\tau|X_{it},\alpha_{i}] /\partial W_{it}$. The two-step estimator for $\beta(\tau)$ of canay2011simple can be defined as follows. First, let

equation*[equation* omitted — 70 chars of source]

where $\bar{Y}_i =T^{-1}\sum_{t=1}^{T}Y_{it}$, $\bar{X}_i =T^{-1}\sum_{t=1}^{T}X_{it}$, and $\hat{\theta}$ is the standard fixed effect estimator, i.e., \[ \hat{\theta} = \left( \sum_{i=1}^{N}\sum_{t=1}^{T} \ddot{X}_{it}\ddot{X}_{it}' \right)^{-1}\left( \sum_{i=1}^{N}\sum_{t=1}^{T} \ddot{X}_{it}\ddot{Y}_{it} \right) , \] where $\ddot{X}_{it} =X_{it} -\bar{X}_i$ and $\ddot{Y}_{it} =X_{it} -\bar{Y}_i$ are the within-transformed regressors and dependent variables. In the second step, $\beta(\tau)$ is simply estimated by: \[ \tilde{\beta}(\tau) = \operatorname*{arg\min}_{\beta} \sum_{i=1}^{N}\sum_{t=1}^{T}\rho_{\tau} \left( Y_{it} -\beta'W_{it}-\hat{\alpha}_i \right).\]

Expansion of $ \tilde{\beta}(\tau) -\beta(\tau)$

To simply the notations, let $\{\alpha_{01}, \ldots, \alpha_{0N}\} $ be the realized values of the individual effects, and our analysis in this paper are conditional on them.

Note that by defining $\lambda_0 =[0,\theta_0']' = \mathbb{E}[ \beta(U_{it})]$, model (ref) can be written as (conditional on $\alpha_{01},\ldots,\alpha_{0N}$) \[ Y_{it} =\lambda_0'W_{it}+\alpha_{0i} +\epsilon_{it} =\theta_0'X_{it}+\alpha_{0i}+\epsilon_{it},\text{ where } \epsilon_{it} = \left( \beta(U_{it}) -\lambda_0\right) 'W_{it}, \] and $\mathbb{E}[\epsilon_{it}|X_{it}]=0$. In other words, model (ref) can be transformed into a standard linear panel data model where $\alpha_{01},\ldots,\alpha_{0N}$ can be consistently estimated using the fixed effects estimator in the first step.

Define $\psi(u) = \tau - \mathbf{1}\{u\leq 0\}$, and expanding $\mathbb{E}[ \psi( Y_{it} -\tilde{\beta}(\tau)'W_{it}-\hat{\alpha}_i )W_{it} ]$ around $(\beta(\tau),\alpha_{0i})$ gives

multline[multline omitted — 478 chars of source]

where \[u_{it} = \left( \beta(U_{it}) -\beta(\tau)\right) 'W_{it} =Y_{it} - \beta(\tau)'W_{it}-\alpha_{0i}, \] $\mathsf{f}_{it}$ is the density function of $u_{it}$, and $\mathsf{f}_{it}^{(j)}(u) =\partial^j \mathsf{f}(u)/\partial u^j $. Next, assume stationarity and define \[\Sigma = \lim_{N\rightarrow\infty} \frac{1}{N}\sum_{i=1}^{N} \mathbb{E} \left[ \mathsf{f}_{it}(0|X_{it}) W_{it}W_{it}' \right], \quad \gamma_i=\mathbb{E}[ \mathsf{f}_{it}(0|X_{it})W_{it} ], \quad \eta_i = \mathbb{E}[ \mathsf{f}^{(1)}_{it}(0|X_{it})W_{it} ], \] \[ \mathbb{V}_{NT} (\beta,\alpha_1,\ldots,\alpha_N) =\frac{1}{\sqrt{NT}}\sum_{i=1}^{N}\sum_{t=1}^{T}\{ \psi( Y_{it} -\beta'W_{it}-\alpha_i )W_{it} - \mathbb{E}[ \psi( Y_{it} -\beta'W_{it}-\alpha_i )W_{it}]\}. \] By the computational properties of the quantile regressions and equation (ref), we have the following stochastic expansion for $\tilde{\beta}(\tau) -\beta(\tau)$:

multline[multline omitted — 523 chars of source]

Similar to the proof Theorem 2 below, it can be shown that \[ \frac{1}{NT} \sum_{i=1}^{N}\sum_{t=1}^{T}\psi( u_{it} )W_{it}-\frac{1}{N} \sum_{i=1}^{N}\gamma_i\cdot(\hat{\alpha}_i -\alpha_{0i} ) + 0.5\frac{1}{N} \sum_{i=1}^{N}\eta_i\cdot(\hat{\alpha}_i -\alpha_{0i} )^2= \frac{1}{\sqrt{NT}}\cdot \mathcal{N}(0, \Omega) + \frac{c}{T} + o_P(T^{-1}) \] where $\Omega$ is a covariance matrix which will be defined in Theorem 2 (also see Remark 4 for a mistake in canay2011simple's expression for the variance matrix) and $c$ is a nonzero constant vector. The key step in canay2011simple's analysis is to show that

equation[equation omitted — 180 chars of source]

which was proved in Lemma A.1 of canay2011simple. Inspecting the proof of the above result in canay2011simple, it is clear that the following inequality was assumed to be true:

multline[multline omitted — 469 chars of source]

where \[\mathbb{U}_{NT} (\beta,\alpha) =\frac{1}{\sqrt{NT}}\sum_{i=1}^{N}\sum_{t=1}^{T}\{ \psi( Y_{it} -\beta'W_{it}-\alpha )W_{it} - \mathbb{E}[ \psi( Y_{it} -\beta'W_{it}-\alpha )W_{it}]. \] By the consistency of $\tilde{\beta}$ and the uniform consistency of $\hat{\alpha}_i$, the right-hand side of (ref) can be shown to be $o_P(1)$ because the empirical process $\mathbb{U}_{NT}$ is stochastically equicontinous.

However, it not difficult to see that inequality (ref) does not hold in general, and thus the proof of (ref) in canay2011simple is not correct. In fact, using the arguments of kato2012asymptotics, one can show that \[ \frac{1}{\sqrt{NT}} \left( \mathbb{V}_{NT} (\beta(\tau),\alpha_{01},\ldots,\alpha_{0N}) -\mathbb{V}_{NT} (\tilde{\beta}(\tau),\hat{\alpha}_{1},\ldots,\hat{\alpha}_{N}) \right) \approx O_P\left( \frac{1}{T^{3/4}} \right).\] Therefore, under the assumption that $N/T\rightarrow \kappa^2>0$, we have \[ \sqrt{NT}( \tilde{\beta}(\tau) -\beta(\tau)) \approx \mathcal{N}(\kappa \cdot \Sigma^{-1} c , \Sigma^{-1}\Omega\Sigma^{-1} ) +O_P\left( \frac{\sqrt{N}}{ T^{1/4}}\right) +o_P(1). \] Thus, similar to kato2012asymptotics, the condition on $N,T$ to ignore the asymptotic bias of the estimator is that $N^2/T\rightarrow 0$, which is different from canay2011simple's assumption that $N/T^s\rightarrow 0$ for some $s>1$ and 10.1093/ectj/utz012's claim that $N/T\rightarrow 0$ is required.

Moreover, even if (ref) is right and the $O_P(\sqrt{N}/T^{1/4})$ term can be dropped from the above equation, canay2011simple still made two mistakes in deriving the asymptotic distribution of his estimator: the asymptotic bias $\kappa \cdot \Sigma^{-1} c$ is omitted and the expression of $\Omega$ is not correct (see Remark 4 below).

The consequence of ignoring the asymptotic bias of canay2011simple's estimator when $T$ is small compared to $N$ is illustrated using Monte Carlo simulations in Section 4, where we show that the common practice of constructing confidence intervals using canay2011simple's estimator could result in coverage rates that are much lower than the nominal level.

A New Estimator Based on Smoothed Quantile Regressions

The New Estimator

In this paper, to solve canay2011simple's problem discussed in the previous section, we propose a new two-step estimator based on smoothed quantile regression (SQR hereafter). The first step of our estimation method is the same as the first step of canay2011simple's two-step estimator, i.e., the individual effects are estimated using the standard fixed effects estimators for linear panel data models: $\hat{\alpha}_i = \bar{Y}_i - \hat{\theta}'\bar{X}_i$, where $\hat{\theta}$ is defined in Section 2.

In the second step, inspired by galvao2016smoothed, we propose to estimate $\beta(\tau)$ using the following SQR:

equation[equation omitted — 241 chars of source]

where $K(z) =1- \int_{-\infty}^{z}k(u)du $, $k(\cdot)$ is a continuous function with support $[-1,1]$ and symmetric around 0, and $h$ is a bandwidth parameter.

{Remark 1: }As pointed out by kato2012asymptotics, the main difficulty in deriving the analytical expression for the bias of canay2011simple's estimator originates from the non-smoothness of the check function. The main motivation of using SQR in the second step of the new estimator is to approximate the indicator function by a smooth function. Similar ideas has been explored by amemiya1982two and horowitz1998bootstrap, but for different objectives. The main purpose of using SQR in our estimator is that it allows us to work out the analytical expression of the asymptotic bias of the estimator, which provides the theoretical basis of using analytical and split-panel jackknife bias corrections. \qed

{Remark 2: }In terms of computational cost, the new estimator is slightly more complicated than the estimator of canay2011simple, because in the second step the new estimator has to solve a nonlinear minimization problem, while the standard quantile regression in the second step of canay2011simple's estimator can be efficiently solved by linear programming. However, since it only estimate $d+1$ parameters in the second step, the new estimator is still much simpler than the estimator of galvao2016smoothed which estimate $d+1+N$ parameters in a nonlinear minimization problem. Moreover, to reduce the computational cost, we can use canay2011simple's estimator (which is consistent) as the initial value in our second step. \qed

Consistency

To prove the consistency of the new estimator, we impose the following conditions:

assLet $C, \underline{\rho}$ be positive constants and $\mu_i=\mathbb{E}[X_{it}]$, \\ (i) $(u_{it},X_{it})$ is independent of $(u_{js},X_{js})$ for any $i\neq j$. For each $i$, the distributions of $(u_{i1},X_{i1})$,\ldots, $(u_{iT},X_{iT})$ are identical.\\ (ii) $\rho_{\text{min}} \left( \mathbb{E} \left[ \mathsf{f}_{it}(0|X_{it}) W_{it}W_{it}' \right] \right) \geq \underline{\rho}$ for all $i,t$. \\ (iii) $\mathbb{E} \left[ \|X_{it}\|^4\right]\leq C$, and $\mathbb{E}[|u_{it}|^4 ]\leq C$ for all $i,t$.\\ (iv) $h\rightarrow0$ as $N,T\rightarrow\infty$.\\ (v) $ \sup_{\tau\in(0,1)} \| \beta(\tau) \| \leq C $. \\ (vi) Let $\tilde{X}_{it}=X_{it} -\mu_i$. Then $\mathbf{B} = \lim_{N\rightarrow\infty}N^{-1}\sum_{i=1}^{N} \mathbb{E}[\tilde{X}_{it}\tilde{X}_{it}']$ is positive definite.

Assumption 1(i), which is also imposed by canay2011simple, is admittedly strong, but it can be relaxed at the expense of much lengthier proofs to allow for serially dependence such as $\beta$-mixing. Assumption 1(ii) is the standard identification condition in quantile regressions, and it is widely used in the literature.

Unlike kato2012asymptotics and galvao2016smoothed that only require the density of $u_{it}$ to exist, the consistency our estimator needs the fourth moments of $u_{it}$ to be finite. The lost of robustness against heavy-tailed distributions (such as Cauchy distribution) is the price one has to pay for employing the simpler two-step approaches. Note that by definition, $\epsilon_{it}$ is related to $u_{it}$ by

equation[equation omitted — 131 chars of source]

Thus, Assumptions 1(i) and 1(iii) imply that $\mathbb{E}[ |\epsilon_{it}|^4] < \infty$ and that $\epsilon_{it}$ is independent of $\epsilon_{js}$ for any $i\neq j $ or $t\neq s$.

Last but not least, for consistency, $h$ is required to converge to 0 in the limit, but different from kato2012asymptotics and galvao2016smoothed, we don't impose any restrictions on the relative sizes of $N$ and $T$ as long as they both diverge to infinity.

Then, we can show that:

thmSuppose that Assumption 1 holds, then $\|\hat{\beta}(\tau) -\beta(\tau)\| =o_P(1)$.

{Remark 3: }Assumption 4.2 of canay2011simple assumes that

equation[equation omitted — 135 chars of source]

where $\delta_{it}$ is an i.i.d sequence of zero-mean random vectors such that $\sqrt{NT} ( \hat{\theta} -\theta_0 ) \overset{d}{\rightarrow}\mathcal{N}(0,\mathbf{V})$ with \[ \mathbf{V} = \lim_{N,T\rightarrow\infty}\frac{1}{NT} \sum_{i=1}^{N}\sum_{t=1}^{T} \mathbb{E}[ \delta_{it}\delta_{it}' ]. \] However, as pointed out by 10.1093/ectj/utz012, (ref) is unlikely to hold. Instead, in Lemma 1 of the Appendix, we provide a rigorous proof that \[ \sqrt{NT}( \hat{\theta} -\theta_0) = \mathcal{N}(0, \mathbf{B}^{-1} \Sigma_\theta \mathbf{B}^{-1}) +o_P\left( \sqrt{N}/\sqrt{T}\right),\] where \[\Sigma_{\theta} = \lim_{N\rightarrow\infty} \frac{1}{N}\sum_{i=1}^{N} \mathbb{E}[ \epsilon_{it}^2 \tilde{X}_{it}\tilde{X}_{it}'] .\] \qed

Asymptotic Distribution

To establish the asymptotic distribution of the new estimator, the following conditions are imposed:

ass(i) $X_{it}\in\mathcal{X}$ for all $i,t$ and $\mathcal{X}$ is compact.\\ (ii) Let $q\geq 4$, and let $\mathsf{f}_{it}^{(j)}(c) = \partial \mathsf{f}_{it}^{(j)}(c)/\partial c$, $\mathsf{f}_{it}^{(j)}(c|X_{it}) = \partial \mathsf{f}_{it}^{(j)}(c|X_{it})/\partial c$ $j=1,\ldots,q$. Then for each $j$, $|\mathsf{f}_{it}^{(j)}(c) |$ and $ |\mathsf{f}_{it}^{(j)}(c|X_{it})|$ are uniformly bounded for all $i,t$.\\ (iii) For $q\geq 4$, $\int_{-1}^{1}k(u)du=1$, $\int_{-1}^{1}k(u)u^jdu=0$ for $j=1,\ldots,q-1$ and $\int_{-1}^{1}k(u)u^qdu \neq 0$.\\ (iv) $N/T \rightarrow \kappa^2>0$ as $N,T\rightarrow \infty$. $h\asymp T^{-c}$ and $1/q < c< 1/3$.

The above assumptions are identical to Assumptions (A2), (A5), (A6) and (A7) of galvao2016smoothed. We refer to galvao2016smoothed for the details of these assumptions. The following theorem gives the asymptotic distribution of the new estimator.

thmUnder Assumptions 1 and 2, as $N,T\rightarrow\infty$, \[ \sqrt{NT}(\hat{\beta}(\tau) -\beta(\tau)) \overset{d}{\rightarrow} \mathcal{N}\left( \kappa b, \Sigma^{-1}\Omega\Sigma^{-1} \right),\] where \[b= [\lambda_0 -\beta(\tau) ]+ 0.5 \Sigma^{-1} \cdot \lim_{N\rightarrow\infty} N^{-1}\sum_{i=1}^{N}\eta_i \mathbb{E}[\epsilon_{it}^2] ,\] \begin{multline*} \Omega = \tau(1-\tau)\cdot \lim_{N\rightarrow\infty}\frac{1}{N}\sum_{i=1}^{N} \mathbb{E}[ W_{it}W_{it}'] + \lim_{N\rightarrow\infty}\frac{1}{N}\sum_{i=1}^{N}\gamma_i \gamma_i' \cdot \mathbb{E}\left[\epsilon_{it}^2 \right] +\mathbf{A}\mathbf{B}^{-1} \mathbf{A}'\\ -2 \lim_{N\rightarrow\infty}\frac{1}{N}\sum_{i=1}^{N} \mathbb{E}\left[ \left(\tau - \mathbf{1}\{u_{it}\leq 0\}\right)u_{it}W_{it} \cdot ( \gamma_i - \mathbf{A}\mathbf{B}^{-1}\tilde{X}_{it})' \right]+2 \lim_{N\rightarrow\infty}\frac{1}{N}\sum_{i=1}^{N}\gamma_i\mathbb{E}\left[\tilde{X}_{it}'\epsilon_{it}^2 \right]\mathbf{B}^{-1} \mathbf{A}', \end{multline*} and \[\mathbf{A} = \lim_{N\rightarrow\infty}N^{-1}\sum_{i=1}^{N}\gamma_i \mu_i'.\]

{Remark 4: }In the proof of Theorem 2, we establish the following Bahadur representation for $\hat{\beta}(\tau)$:

equation*[equation* omitted — 162 chars of source]

where $Z_{it}=\varrho^{(1)}_{it}W_{it}-\gamma_i\epsilon_{it}-\mathbf{A}\mathbf{B}^{-1} \tilde{X}_{it}\epsilon_{it}$, and $\Omega$ is is limit of $ N^{-1}\sum_{i=1}^{N}\mathbb{E}[Z_{it}Z_{it}']$. The term $\mathbf{A}\mathbf{B}^{-1} \tilde{X}_{it}\epsilon_{it}$ represents the effects of estimating $\theta_0$ using the fixed effects estimator in the first step. However, this term is omitted in the covariance matrix derived in Theorem 4.2 of canay2011simple. \qed

Bias Correction and Inference

Theorem 2 provides the basis of analytical and split-panel jackknife bias correction.

First, consider analytical bias correction. Define \[ \hat{\epsilon}_{it} = Y_{it} -\hat{\theta}'X_{it} -\hat{\alpha}_i, \quad \hat{u}_{it} = Y_{it} -\hat{\beta}(\tau)'W_{it} -\hat{\alpha}_i, \] \[ \hat{\varrho}^{(1)}_{it} = \tau - K(\hat{u}_{it}/h) ,\quad \hat{\varrho}^{(2)}_{it} = k(\hat{u}_{it}/h)1/h, \quad \hat{\varrho}^{(3)}_{it} = k^{(1)}(\hat{u}_{it}/h)1/h^2, \] \[ \hat{\Sigma} = \frac{1}{NT}\sum_{i=1}^{N}\sum_{t=1}^{T} \hat{\varrho}^{(2)}_{it} W_{it}W_{it}', \quad \hat{\eta}_i = \frac{1}{T}\sum_{t=1}^{T} \hat{\varrho}_{it}^{(3)}W_{it} ,\] \[\hat{b} = \hat{\lambda} -\hat{\beta}(\tau)+0.5\cdot \hat{\Sigma}^{-1} \cdot \frac{1}{NT}\sum_{i=1}^{N}\sum_{t=1}^{T} \hat{\eta}_i \hat{\epsilon}_{it}^2, \text{ where } \hat{\lambda}=[0,\hat{\theta}']'.\] Then the estimator with analytical bias correction is defined as \[ \hat{\beta}_{abc}(\tau) =\hat{\beta}(\tau) - \hat{b}/T. \]

Next, consider split-panel jackknife method. Let $\hat{\beta}_{1}(\tau)$ be our two-step estimator using the sample $\{ (Y_{it},X_{it}),i=1,\ldots,N,t=1,\ldots,T/2\}$, and let $\hat{\beta}_{2}(\tau)$ be our two-step estimator using the sample $\{ (Y_{it},X_{it}),i=1,\ldots,N,t=1+T/2,\ldots,T\}$. Then the estimator with split-panel jackknife is defined as \[ \hat{\beta}_{spj}(\tau) =2 \hat{\beta}(\tau) - 0.5( \hat{\beta}_1(\tau)+\hat{\beta}_2(\tau)) . \]

Moreover, to make inference we need to estimate the covariance matrix. Define \[\hat{\gamma}_i = \frac{1}{T}\sum_{t=1}^{T} \hat{\varrho}_{it}^{(2)}W_{it}, \quad \hat{\mathbf{A}} =\frac{1}{N}\sum_{i=1}^{N} \hat{\gamma}_i \bar{X}_i', \quad \hat{\mathbf{B}}=\frac{1}{NT}\sum_{i=1}^{N}\sum_{t=1}^{T} \ddot{X}_{it} \ddot{X}_{it}', \] \[ \hat{Z}_{it} = \hat{\varrho}^{(1)}_{it}W_{it} - \hat{\gamma}_i \hat{\epsilon}_{it} -\hat{\mathbf{A}} \hat{\mathbf{B}}^{-1}\ddot{X}_{it}\hat{\epsilon}_{it}.\] According to Remark 4, the estimator of $\Omega$ can be constructed as

equation[equation omitted — 109 chars of source]

Under Assumptions 1 and 2, similar to the proof of Theorem 2, it can be shown that

equation*[equation* omitted — 147 chars of source]
equation*[equation* omitted — 147 chars of source]

and

equation*[equation* omitted — 117 chars of source]

The above results ensure that inferences based on the bias-corrected estimators and the estimated variance are asymptotically valid. The finite sample performances of $\tilde{\beta}$ (Canay's two-step estimator), $\hat{\beta}_{abc}$, $\hat{\beta}_{spj}$, and the coverage rates of the corresponding confidence intervals are evaluated in the next section.

Finte Sample Simulations

In this section, we use Monte Carlo simulations to study the finite sample performances of the proposed estimators. To facilitate the comparison, we use the following data generating process (DGP) identical to the ones used by canay2011simple: \[ Y_{it}=(\epsilon_{it}-1)+\epsilon_{it}X_{it}+\alpha_i,\quad \alpha_i=\gamma(X_{i1}+\dots+X_{iT}+\lambda_i)-\mathbb{E}(\alpha_i) ,\] where $X_{it}\sim i.i.d \text{ }Beta(1,1)$, $\lambda_i\sim i.i.d \text{ }N(0,1)$, and $\gamma=2$. As in canay2011simple, we consider three different models with different distributions for $\epsilon_{it}$: in Model 1, $\epsilon_{it}\sim i.i.d \text{ }N(2,1)$; in Model 2, $\epsilon_{it}\sim i.i.d \text{ }\exp (1)+2$; in Model 3, $\epsilon_{it} \sim i.i.d \text{ }B_{it}\cdot \mathcal{N}(1,1) +(1-B_{it})\cdot\mathcal{N}(3,1)$ with $B_{it} \sim Bernoulli(0.3)$. In addition, to see how the proposed estimators perform when the errors have heavy-tailed distributions, we consider Model 4 where $\epsilon_{it}\sim i.i.d \text{ }\mathcal{T}(5)$ where $\mathcal{T}(5)$ represents Student's t distribution with five degrees of freedom.

We focus on the coefficient of $X_{it}$, which is given by $\mathsf{Q}_{\epsilon}(\tau) $ at quantile $\tau$, where $\mathsf{Q}_{\epsilon}(\tau) $ is the quantile function of $\epsilon_{it}$. The following three estimators of $\beta(\tau)$ are considered:

itemize$\tilde{\beta}(\tau):$ Canay's two-step estimator; • $\hat{\beta}_{abc}(\tau):$ The new two-step estimator with analytical bias correction; • $\hat{\beta}_{spj}(\tau):$ The new two-step estimator with split-panel jackknife bias correction.

The biases, mean square errors (MSEs), and the coverage rates of the $95\%$ confidence intervals of the three estimators are compared. To construct the confidence intervals, (ref) is used to calculate the variances of the three estimators.

In the SQR, the following fourth-order kernel function is used: \[ k(u)=\frac{105}{64}(1-5u^2+7u^4-3u^6)\mathbf{1}(|u|\leq 1) \] and the bandwidth is set as $h=0.8$. We have also tried other choices of $h$ and the results are similar. More simulation results with other choices of $h$ are available upon request.

The simulation results (from 1000 replications) for Model 1 to Model 4 at $\tau=0.25$ and $\tau=0.9$ are reported in Table 1 to Table 4 respectively.

{

center[center omitted — 1,927 chars of source]

}

{

center[center omitted — 1,933 chars of source]

}

{

center[center omitted — 2,032 chars of source]

}

{

center[center omitted — 1,958 chars of source]

}

There are three main takeaways from the simulation results.

First, compared with the estimator of canay2011simple, both analytical bias correction and split-panel jackknife can significantly reduce the bias of our two-step estimator in most cases. The only exception is Model 3 at $\tau=0.25$, where the bias of canay2011simple's estimator is already very small. In particular, in all models, for fixed $T$, the biases of canay2011simple's estimator does not decease as $N$ increases from $100$ to $1000$, confirming the existence of a bias term whose size is determined by $T$ only.

Second, in most cases, the MSE of $\hat{\beta}_{abc}(\tau)$ is the lowest while the MSE of $\hat{\beta}_{spj}(\tau)$ is the highest, implying that although split-panel jackknife is able to reduce the bias it also increases the variance notably.

Third, in many cases, the coverage rates based on $\tilde{\beta}$ is close to the nominal level ($95\%$) when $N$ is not large compared to $T$. However, when $N=1000$ and $T=10,20$, the coverage rates based on $\tilde{\beta}$ is much lower than the nominal level. The most extreme case is in Model 3 at $\tau=0.9$, where the coverage rates based on $\tilde{\beta}$ is less than $3\%$ when $N=1000$. On the other hand, the coverage rates based on $\hat{\beta}_{abc}(\tau)$ is close to the nominal level in almost all cases. It should be noted that the coverage rates based on $\hat{\beta}_{spj}(\tau)$ perform better than $\tilde{\beta}$ when $N$ is large, but in general they are not close to the nominal level due to the relatively high variances of $\hat{\beta}_{spj}(\tau)$.

To sum up, the simulation results above confirm our claim that failing to take into account the asymptotic bias of canay2011simple's estimator will lead to invalid inference especially when $N$ is large and $T$ is small. Our new two-step estimator with analytical bias correction is shown to perform the best in terms of bias correction and the coverage rates of the confidence intervals.

Conclusion

In this paper, we revisit the popular two-step estimator of canay2011simple for quantile panel data models, and explain why the inference based on canay2011simple's estimators of the coefficients and the covariance matrix are not valid. Solving this important problem is crucial for correctly interpreting the empirical findings in more than 80 papers that have employed canay2011simple's estimator.

We propose a new two-step estimator based on smoothed quantile regressions, and establish the asymptotic distribution of the new estimator. In particular, we derive the analytical expression for the asymptotic bias which provides the basis for both analytical and split-panel jackknife bias corrections. In addition, we provide a more accurate characterization of the asymptotic covariance matrix, which is crucial for constructing asymptotically valid confidence intervals. The performance of the new estimator with bias corrections in finite samples is evaluated by Monte Carlo simulations. We find that correcting the asymptotic bias is essential to obtain valid inference in quantile panel data models.

Even though we have provided conditions regarding the size of the bandwidth parameter in the smooth quantile regression, there remains the important question of how to choose the bandwidth parameter optimally in a data-dependent manner. Such an interesting question is left for future research.