Specification testing in random coefficient models
Abstract
EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.
Full text
Breunig, Christoph; Hoderlein, Stefan Article Specification testing in random coefficient models Quantitative Economics Provided in Cooperation with: The Econometric Society Suggested Citation: Breunig, Christoph; Hoderlein, Stefan (2018) : Specification testing in random coefficient models, Quantitative Economics, ISSN 1759-7331, The Econometric Society, New Haven, CT, Vol. 9, Iss. 3, pp. 1371-1417, https://doi.org/10.3982/QE757 This Version is available at: https://hdl.handle.net/10419/217131 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. https://creativecommons.org/licenses/by-nc/4.0/
Quantitative Economics 9 (2018), 1371–1417 1759-7331/20181371 Specification testing in random coefficient models Christoph Breunig School of Business and Economics, Humboldt-Universität zu Berlin Stefan Hoderlein Department of Economics, Boston College In this paper, we suggest and analyze a new class of specification tests for random coefficient models. These tests allow to assess the validity of central structural features of the model, in particular linearity in coefficients, generalizations of this notion like a known nonlinear functional relationship, or degeneracy of the distribution of a random coefficient, that is, whether a coefficient is fixed or random, including whether an associated variable can be omitted altogether. Our tests are nonparametric in nature, and use sieve estimators of the characteristic function. We provide formal power analysis against global as well as against local alternatives. Moreover, we perform a Monte Carlo simulation study, and apply the tests to analyze the degree of nonlinearity in a heterogeneous random coefficients demand model. While we find some evidence against the popular QUAIDS specification with random coefficients, it is not strong enough to reject the specification at the conventional significance level. Keywords. Nonparametric specification testing, random coefficients, unobserved heterogeneity, sieve estimation, characteristic function, consumer demand. JEL classification. C12, C14. 1. Introduction Heterogeneity of individual agents is now widely believed to be an important—if not the most important—source of unobserved variation in a typical microeconometric application. Increasingly, the focus of econometrics shifts toward explicitly modeling this central feature of the model through random parameters, as opposed to searching for fixed parameters that summarize only, say, the mean effect. However, as always when additional features are being introduced, this step increases the risk of model misspecification and, therefore, introducing bias. This suggests to use all the information available in the data to assess the validity of the chosen specification through a test before performing the main analysis. A second important feature of a specification test is that Christoph Breunig: [email protected] Stefan Hoderlein: [email protected] We thank seminar participants at Northwestern and WIAS Berlin. Financial support by Deutsche Forschungsgemeinschaft through CRC TRR 190 is gratefully acknowledged. ©2018 The Authors. Licensed under the Creative Commons Attribution-NonCommercial License 4.0. Available at http://qeconomics.org.https://doi.org/10.3982/QE757
1372 Breunig and Hoderlein Quantitative Economics 9 (2018) we may be able to find a restricted model that is easier to implement than the unrestricted one. This feature is particularly important in models of complex heterogeneity,1 which are generically only weakly identified and therefore estimable only under great difficulties. This paper proposes a family of nonparametric specification tests in models with complex heterogeneity. We focus on the important class of random coefficient models, that is, models in which there is a finite (dbdimensional) vector of continuously distributed and heterogeneous parameters B∈Rdb, and a known structural function g which relates these coefficients as well as a dxdimensional vector of observable explanatory variables Xto a continuous dependent variable Y,thatis, Y=g(XB) (1.1) Throughout this paper, we assume that Xis independent of B(however, as we discuss below, this does not preclude extensions where some variables in the system are endogenous). The leading example in this class of models is the linear random coefficient model, where g(XB) =XB, but we also propose specification tests in models where gis nonlinear. Indeed, in extensions we also consider the case where Yis binary, and/or where Yis a vector. The simple linear model with independent random coefficients is well suited to illustrate our contribution and to explain the most important features of such a nonparametric specification test. Despite the fact that in this model there is a one-to-one mapping from the conditional probability density function of the observable variables fY|Xto the density of random coefficients fBsuch that the true density of random coefficients is associated with exactly one density of observables (see, e.g., Beran, Feuerverger, and Hall (1996) and Hoderlein, Klemelä, and Mammen (2010)), the model imposes structure that can be used to assess the validity of the specification. For instance, in the very same model, the conditional expectation is linear, that is, E[Y|X]=b0+b1X1+···+ bkXk,wherebj=E[Bj]. This means that a standard linear model specification test for quadratic terms in X, or, somewhat more elaborate, nonparametric specification tests involving a nonparametric regression as alternative could be used to test the specification. Similarly, in this model the conditional skedastic function is at most quadratic in X, so any evidence of higher order terms can again be taken as rejection of this linear random coefficients specification. However, both of these tests do not use the entire distribution of the data, and hence do not allow us to discern between the truth and certain alternatives. In contrast, our test will be based on the characteristic function of the data, that is, we use the entire distribution of the data to assess the validity of the specification. In the example of the linear model, we compare the distance between a series least squares estimator of the unrestricted characteristic function E[exp(itY)|X], and an estimator of the restricted one, which is E[exp(it(XB))|X]=exp(it(Xb))fB(b)db,wheretheprobability density function fBof the random coefficients Bis replaced by a sieve minimum 1We refer to models with several unobservables, for example, random coefficients models, nonseparable models, treatment effects, etc., as (models with) “complex heterogeneity.”
Quantitative Economics 9 (2018) Specification testing in random coefficient models 1373 distance estimator under the hypothesis of linearity. More specifically, using the notation ε(Xt) =E[exp(itY) −exp(it(XB))|X], our test is based on the observation that under the null hypothesis of linearity, ε(Xt) =0holds, or equivalently, Eε(Xt)2(t)dt =0 for any strictly positive integrable weighting function , which is not required to be a pdf and whose choice is discussed in the simulation section.2Our test statistic is then given by the sample counterpart Sn≡n−1 n j=1εn(Xjt)2(t)dt where εndenotes an estimator of εas described above. We reject the null hypothesis of linearity if the statistic Snbecomes too large. This test uses evidently the entire distribution of the data to assess the validity of the specification. It therefore implicitly uses all available comparisons between the restricted and the unrestricted model, not just the ones between, say a linear conditional mean and a nonparametric conditional mean. Moreover, it does not even require that these conditional means (or higher order moments) exist. To see that our test uses the information contained in the conditional moments, consider again the linear random coefficients model. Using a series expansion of the exponential function, ε(Xt) =0is equivalent to ∞ l=0 (it)lEYlX−EXBlX/(l!)=0 provided all moments exist. This equation holds true, if and only if, for every coefficient l≥1: EYl|X=EXBl|X that is, there is equality of all of these conditional moments. This implies, in particular, the first and second conditional moment equation E[Y|X]=XE[B]and E[Y2|X]= XE[BB]X. As such, our test exploits potential discrepancies in any of the conditional moments, and works even if some or all of them do not exist. Our test is consistent against a misspecification of model (1.1) in the sense that, under the alternative, there exists no vector of random coefficients Bsatisfying the model equation (1.1) for a known function g. Indeed, such a misspecification leads to a deviation of the unrestricted from the restricted conditional characteristic function. Moreover, our test is also consistent against certain specific other alternatives, for example, if the null is the linear random coefficient model and the alternative is a higher order polynomial with random parameters. 2This type of weighting is standard in the literature; see the weighted L2test statistic by Su and White (2007), or the empirical likelihood test proposed by Chen, Peng, and Yu (2013). For a complex number z∈Ctheabsolutevalueisgivenby|z|=√z¯ z.
1374 Breunig and Hoderlein Quantitative Economics 9 (2018) However, we can also use the same testing principle to analyze whether or not a parameter is nonrandom, which usually allows for a √nconsistent estimator for this parameter, and whether it has in addition mean zero which implies that we may omit the respective variable altogether. This is important, because from a nonparametric identification perspective random coefficient models are weakly identified (i.e., stem from the resolution of an ill-posed inverse problem), a feature that substantially complicates nonparametric estimation.3 Another key insight in this paper is that testing is possible even if the density of random coefficients is not point identified under the null hypothesis. This is important, because many structural models are not linear in an index. As such, it is either clear that they are not point identified in general and at best set identified (see Hoderlein, Holzmann, and Meister (2014), for such an example), or identification is unknown. To give an example of such a model that we will pursue in the application, consider a single cross section of the workhorse QUAIDS model of consumer demand (Banks, Blundell, and Lewbel (1997)). Note that in a cross section prices often do not vary (or only very minimally, see, e.g., the commonly used British FES data), and the demand model for a good Y, in our example food at home, is therefore defined through Y=B0+B1X+B2X2 where Bjdenotes parameters, and Xlog total expenditure. For reasons outlined in Masten (2015), the joint density of random parameters B0,B1,B2is not point identified in general. Our strategy is now to solve a functional minimization problem that minimizes a similar distance as outlined above between restricted and unrestricted model, and allows us to obtain one element in this set as minimizer. If the distance between the restricted model and the unrestricted model is larger than zero, we conclude that we can reject the null that the model is, in our example, a heterogeneous QUAIDS. However, if the distance is not significantly different from zero, there still may be other non-QUAIDS models which achieve zero distance, and which we therefore cannot distinguish from the heterogeneous QUAIDS model. As such, in the partially identified case we do not have power against all possible alternatives, and our test becomes conservative. In contrast, our test has power against certain alternatives even if our model is not identified under the null hypothesis. As an example, in the application we consider testing the random coefficients QUAIDS model against higher order polynomials; in this case, ε(Xt) =0for all timplies that, for example, the cubic model Y= B0+X B1+X2 B2+X3 B3with random coefficients ( B0 B1 B2 B3)is misspecified.4 Finally, we may extend the approach outlined in this paper to binary or discrete dependent variables, provided we have a special regressor Z,asinLewbel (2000),andto 3In a nonparametric sense, there is a stronger curse of dimensionality associated with random coefficient models than with nonparametric density estimation problems (see, e.g., Hoderlein, Klemelä, and Mammen (2010)). 4In addition, our method also applies to other point identified random coefficient models such as models that are linear in parameters, but where Xis replaced by a element-wise transformation of the covariates (i.e., Xjis replaced by hj(Xj)with unknown hj.SeeGautier and Hoderlein (2015) for the formal argument that establishes identification).
Quantitative Economics 9 (2018) Specification testing in random coefficient models 1375 systems of equations, see Section 3as well as the Supplementary Material; see Breunig and Hoderlein (2018). Related literature As already mentioned, this paper draws upon several literatures. The first is nonparametric random coefficients models, a recently quite active line of work, including work on the linear model (Beran and Hall (1992),Beran, Feuerverger, and Hall (1996),and Hoderlein, Klemelä, and Mammen (2010)), the binary choice model (Ichimura and Thompson (1998) and Gautier and Kitamura (2013)), and the treatment effects model (Gautier and Hoderlein (2015)). Related is also the wider class of models analyzed in Fox and Gandhi (2009) and Lewbel and Pendakur (2013), who both analyze nonlinear random coefficient models, Masten (2015) and Matzkin (2012), who both discuss identification of random coefficients in a simultaneous equation model, Hoderlein, Holzmann, and Meister (2014) who analyze a triangular random coefficients model, and Dunker, Hoderlein, and Kaido (2013) and Fox and Lazzati (2012) who analyze games. As far as we know, the general type of specification tests we propose in this paper is new to the literature. In linear semiparametric random coefficient models, Beran (1993) proposes a minimum distance estimator for the unknown distributional parameter of the random coefficient distribution. Within this framework of a parametric joint random coefficients’ distribution, Beran also proposes goodness of fit testing procedures. Also, in a parametric setup where the unknown random coefficient distribution follows a parametric model, Swamy (1970) establishes a test for equivalence of random coefficient across individuals, that is, a test for degeneracy of the random coefficient vector. We emphasize that with our testing methodology, despite less restrictive distributional assumptions, we are able to test degeneracy of a subvector of Bwhile others are kept as random. Another test in linear parametric random coefficient models was proposed by Andrews (2001), namely a test for degeneracy of some random coefficients. In contrast, our nonparametric testing procedure is based on detecting differences in conditional characteristic function representation and, as we illustrate below, we do not obtain boundary problems as in Andrews (2001). While our test is the first that uses characteristic functions to test hypotheses about random coefficients, in other econometric setups tests based on comparing characteristic functions have been proposed. For instance, Su and White (2007) considered a test of conditional independence, Chen and Hong (2010) proposed a goodness-of-fit test for multifactor continuous-time Markov models, and Chen, Peng, and Yu (2013) considered an empirical likelihood test for correct specification for Markov processes. In this paper, we use sieve estimators for the unknown distributional elements. In the econometrics literature, sieve methodology was recently used to construct Wald statistics (see Chen and Pouzo (2015) and Chen and Pouzo (2012) for sieve minimum distance estimation) or nonparametric specification tests (see Breunig (2016)), and, in nonparametric instrumental regression, tests based on series estimators have been proposed by Horowitz (2012) and Breunig (2015). Moreover, in the nonparametric IV model, tests for parametric specification have been proposed by Horowitz (2006) and Horowitz and
1376 Breunig and Hoderlein Quantitative Economics 9 (2018) Lee (2009), while Blundell and Horowitz (2007) proposed a test of exogeneity. Santos (2012) developed hypothesis tests which are robust to a failure of identification. More generally, there is a large literature on model specification tests based on nonparametric regression estimators in L2distance starting with Härdle and Mammen (1993). Specification tests in nonseparable models were proposed by Hoderlein, Su, and White (2011) and Lewbel, Lu, and Su (2015). None of these tests is applicable to specification testing in random coefficient models. Moreover, in contrast to nonparametric specification tests in instrumental variable models in Horowitz (2012) and Breunig (2015) who assumed bounded support, we explicitly allow for regressors with large support which is required to ensure identification of random coefficient models in general. This results in a very different setup as densities have to be allowed to be close to zero, which leads to slower rates of convergence and rules out the approach of density weighting considered in Horowitz (2012). Finally, our motivation is partly driven by consumer demand, where heterogeneity plays an important role. Other than the large body of work reviewed above we would like to mention the recent work by Hausman and Newey (2013),Blundell, Kristensen, and Matzkin (2010);seeLewbel (1999) for a review of earlier work. Overview of paper In the second section, we introduce our test formally, and discuss its large sample properties in the baseline scenario. We distinguish between general specification tests, and subcases where we can additively separate a part of the model which contains only covariates and fixed coefficients from the remainder. In the third section, we focus on the extensions discussed above. The finite sample behavior is investigated through a Monte Carlo study in the fourth section. Finally, we apply all concepts to analyze the validity of a heterogeneous QUAIDS (Banks, Blundell, and Lewbel (1997))modelwhichisthe leading parametric specification in consumer demand. 2. The test statistic and its asymptotic properties 2.1 Examples of testable hypotheses In the wider class of models encompassed by (1.1), we consider two different types of hypotheses. First, we provide a general test for the hypothesis that the structural relation between the covariates, the random coefficients, and the outcome variable coincides with a known function g. We thus consider the hypothesis:5 Hmod :there exist some distributions of random parameters Bsuch that Y=g(XB) The alternative hypothesis is P(Y = g(XB) for all distributions of random parameters B) > 0. An important example is testing the hypothesis of linearity, that is, whether with probability one Hlin :Y=XB 5Equalities involving random variables are understood as equalities with probability one, even if we do not say so explicitly.
Quantitative Economics 9 (2018) Specification testing in random coefficient models 1377 in which case the distribution of Bis point identified. Another example is a quadratic form of the function gin each component of the vector of covariates X,thatis,wewant to assess the null hypothesis Hquad :Y=B0+XB1+X2B2 for some B=(B0B1B2), where the square of the vector Xis understood element-wise. Note that in the latter example the distribution of the random parameters Bis only partially identified. As already discussed above, this fact will generally result in a lack of power against certain alternatives. The second type of hypotheses our test allows to consider is whether a subvector of B,say,B2, is deterministic (or, equivalently, has a degenerate distribution). More specifically, we want to consider the following hypothesis: Hdeg :B2=b2for some distributions of random parameters satisfying (1.1) The alternative is P(B2= b2for all distributions of random parameters Bsatisfying (1.1))>0. While the hypothesis Hdeg could be considered in more general models, motivated by the linear (or polynomial) model, we will confine ourselves to functions gthat are additively separable in the sense that Hadd :Y=g1(XB−2)+g2(XB2) (2.1) where g1and g2denote two known functions, and we use the notation B−2=(B0B 1). The leading example for this type of hypothesis is of course when g1is a linear function of a subvector X1of covariates X, in which case we obtain a partially linear structure, that is, Hpart-lin :Y=B0+X 1B1+g2(XB2) (2.2) where g2is a known function. This covers the following examples of hypotheses already outlined in the Introduction: First, in a linear model, that is, Y=B0+X 1B1+X 2B2,it allows to test whether the coefficient on X2is deterministic, that is, we may test the null Hdeg-lin :Y=B0+X 1B1+X 2b2 against the alternative that B2is random. Obviously, in this case b2is identified by standard linear mean regression identification conditions. A second example arises if, in the quadratic model, we want to test a specification with deterministic second order terms, that is, Hdeg-quad :Y=B0+X 1B1+X2 1b2 against the alternative that B2is random. Note that in the latter two hypotheses, identification of b2follows as in parametric mean regression and, in equation (2.2), point identification under the null holds for instance if g2(Xb2)=h(X2)b2for some vector valued function hsuch that the associated rank condition is satisfied. In the Monte Carlo study and the application, we will only consider the case where b2is point identified,
1378 Breunig and Hoderlein Quantitative Economics 9 (2018) which we consider to be the leading case. However, we would like to point out that the test applies also more generally to situations where b2does not need to be point identified, as in the most general case defined by hypothesis Hadd, albeit with a loss of power against some alternatives. 2.2 The test statistic Our test statistic is based on the L2distance between an unrestricted conditional characteristic function and a restricted one. We show below that each null hypothesis is then equivalent to ε(Xt) =0for all t (2.3) where ε:Rdx+1→Cis a complex valued, measurable function. Our testing procedure is based on the L2distance of εto zero. Equation (2.3) is equivalent to Eε(Xt)2(t)dt =0 for some strictly positive weighting function with (t)dt < ∞. Our test statistic is given by the sample counterpart to this expression, which is Sn≡n−1 n j=1εn(Xjt)2(t)dt whereεnis a consistent estimator of ε. Below, we show that the statistic Snis (after standardization) asymptotically standard normally distributed. As the test is one sided, we reject the null hypothesis at level αwhen the standardized version of Snis larger than the (1−α)-quantile of N(01). We consider a series estimator for the conditional characteristic function of Ygiven X,thatis,ϕ(xt) ≡E[exp(itY)|X=x]. To do so, let us introduce a vector of basis functions denoted by pm(·)=(p1(·)pm(·))for some integer m≥1.Further,let Xm≡(pm(X1)pm(Xn))and Yn(t) =(exp(itY1)exp(itYn)).Wereplaceϕby the series least squares estimator ϕn(xt) ≡pmn(x)X mnXmn−1X mnYn(t) where the integer mnincreases with sample size n. We compare this unrestricted conditional expectation estimator to a restricted one which depends on the hypothesis under consideration. In the following examples, we provide explicit forms for the function ε. The analysis is based on the assumption of independence of covariates Xand random coefficients B. See also the discussion after Assumption 1below. Example 1 (Testing functional form restrictions). The null hypothesis Hmod is equivalent to the following equation involving conditional characteristic functions Eexp(itY)|X=expitg(Xb)fB(b)db
Quantitative Economics 9 (2018) Specification testing in random coefficient models 1385 for any fB∈Ig. For instance, if fBand its approximation ΠknfBbelong to a compact subset of Rdband ΠknfB−fB∞=O(k−s/db n), which is satisfied for B-splines or trigonometric basis functions, we obtain the rate restriction nk−2s/db n=o(√mn), which imposes a lower bound on the dimension parameters knand mn. If in addition τ−1 n=O(1),Assumptions 4(i) and (iii) are satisfied if mn∼nζand kn∼nκwhere db(1−ζ/2)/(2s) < κ<ζ/2.9We thus require ζ>2db/(2s+db),soshas to increase with dimension db, which reflects a curse of dimensionality. In this case, Assumption 4(ii), which determines the sieve approximation error for the function ϕ, automatically holds if Πmnϕ−ϕ= O(m−s/dx n)and we may choose κto balance variance and bias, that is, κ=dx/(2s+dx).10 For further discussion and examples of sieve bases, we refer to Chen (2007). Assumption 4(iii) has the interpretation of an overidentification restriction imposed on the finite dimensional approximations and requires that there are more moment restriction (captured by mn) than unknown parameters (captured by the dimension of the sieve space Bngiven by kn). Assumption 4(iv) ensures that the sequence of generalized inverse matrices is bounded and imposes a rank condition. This condition is sufficient and necessary for convergence in probability of generalized inverses of random matrices with fixed dimension; for further discussions and sufficient conditions, see Andrews (1987) for the comparable case of generalized Wald tests. Note that Assumption 4(iv) is more involved than the corresponding assumption in Andrews (1987) due to increasing dimensions of An. In Assumption 4(iii), we also restrict the dimension of Andetermined by knrelative to the size of A− n. Assumption 4(v) is satisfied if {ql}l≥1forms a Riesz basis in L2(Rdb)≡{φ: Rdbφ2(s)ds < ∞}. The following result establishes asymptotic normality of our standardized test statistic. Theorem 2.1. Let Assumptions 1–4hold with δ(V t) =exp(itY) −(FgfB)(Xt).Then, under Hmod we obtain (√2ςmn)−1(nSn−μmn)d →N(01) Remark 2.1 (Estimation of Critical Values). The asymptotic result of the previous theorem depends on unknown population quantities. As we see in the following, the critical values can be easily estimated. We define δn(V t) =exp(itY ) −(Fg fBn)(Xt),and σn(st) =δn(V1s)δn(V1t)δn(Vns)δn(Vnt) We replace μmnand ςmn, respectively, by the estimators μmn=trX nXn−1/2X ndiagσn(tt)XnX nXn−1/2(t)dt 9We use the notation an∼bnfor cbn≤an≤Cbngiven two constant cC > 0, and all n≥1. 10This choice of kncorresponds indeed to the optimal smoothing parameter choice in nonparametric random coefficient model if s=r+(dx−1)/2where rcorresponds to the smoothness of fB(see Hoderlein, Klemelä, and Mammen (2010) in case of kernel density estimation).
1386 Breunig and Hoderlein Quantitative Economics 9 (2018) and ςmn=X nXn−1/2X ndiagσn(st)XnX nXn−1/22 F(s)(t)ds dt1/2 Proposition 2. Under the conditions of Theorem 2.1,we obtain ςmnς−1 mn=1+op(1)and μmn=μmn+op(√mn) The asymptotic distribution of our standardized test statistic remains unchanged if we replace μmnand ςmnby estimators introduced in the last remark. This is summarized in following corollary, which follows immediately from Theorem 2.1, Proposition 2,and Lemma A.1. Corollary 2.1. Under the conditions of Theorem 2.1,we obtain (√2ςmn)−1(nSn−μmn)d →N(01) An alternative way to obtain critical values is the bootstrap which, for testing nonlinear functionals in nonparametric instrumental regression, was considered by Chen and Pouzo (2015). In our situation, the critical values can be easily estimated and the finite sample properties of our testing procedure are promising, thus we do not elaborate bootstrap procedures here. In the following example, we illustrate our sieve minimum distance approach for estimating fBin the case of linearity of g. Example 4 (Linear Case). Let gbe linear and recall that in this case the integral transform Fgcoincides with the Fourier transform F. For the sieve space Bn,weconsideras basis functions Hermite functions given by ql(x) =(−1)l 2ll!√π expx2/2dl dxlexp−x2 These functions form an orthonormal basis of L2(R). Hermite functions are also eigenfunctions of the Fourier transform with (Fql)(·)=√2π(−i)−lql(·) We introduce the notation ql(·)≡√2π(−i)−lql(·)and Xn(t) =( qkn(tX1) qkn(tXn)). Thus, the estimator of fBgiven in (2.5) simplifies to fBn(·)=qkn(·) βnwhere βn=argmin β∈Rkn n j=1ϕn(Xjt)− qkn(tXj)β2(t)dt (2.10) An explicit solution of (2.10)isgivenby βn=Xn(−t)Xn(t)(t) dt−Xn(−t)n(t)(t)dt
Quantitative Economics 9 (2018) Specification testing in random coefficient models 1387 where n(t) =(ϕn(X1t)ϕn(Xnt)). We emphasize that under the previous assumptions, the matrix Xn(−t)Xn(t)(t)dt will be nonsingular with probability approaching one. 2.3.3 Testing degeneracy under the random coefficient specification for the model For testing degeneracy, Theorem 2.1 is not directly applicable as the required sieve approximation error in Assumption 4(i) is here not satisfied in general. In contrast, we will impose an approximation condition on the function g(xtb) ≡exp(itg2(xb)) where bbelongs to the parameter space B2. Let us introduce a (kn·ln)-dimensional vector valued function χngiven by χn(xt) = (Fg1qkn)(xt) ⊗ pln(xt),where⊗denotes the Kronecker product and plnis a ln-dimensional vector of complex valued basis functions used to approximate g(··b). For instance, if g2(xb) =φ(x)ψ(b) then approximation conditions can be easily verified due to g(xtb) =l≥0 pl(xt)ψ(b)lwhere pl(xt) =(itφ(x))l/l!. Let us introduce An=E[χn(X−t)χn(Xt)](t)dt and its empirical analog An=n−1n j=1χn(Xj −t)χn(Xjt)(t)dt. Recall that B−2n ={φ(b) =kn l=1βlql(b) for b∈Rdb2}where db2de- notes the dimension of b2and let G2n ={φ(xt) =ln l=1βl pl(xt)}. In the following, we introduce a strictly positive, nonincreasing sequence (τn)n≥1such that τnA− n2=O(1). Assumption 5. (i) The hypothesis Hadd holds. (ii) The set of parameters b2satisfying (2.6)belongs to a compact parameter space B2⊂Rdb2. (iii) For any b∈B2,there exists Πln g(··b) ∈G2n satisfying nΠln g(··b) − g(··b)2 =o(√mn). (iv) For any p.d.f.fB−2satisfying (2.6), there exists ΠknfB−2∈B−2n such that nFg1(ΠknfB−2−fB−2)2 =o(√mn). (v) It holds knlnlog n=o(τn√mn). (vi) It holds P(rank(An)=rank( An)) =1+o(1). (vii) There exists a constant C>0such that ll≥1Fg1ql· plφ2≤Cφ2 for all functions φwith φ<∞. Assumption 5(i) states the maintained hypothesis of an additive structure of ggiven in equation (2.1). Assumption 5(iii) states an asymptotic condition of the sieve approximation error for g(··b) for any bin the parameter space B2. By doing so, we impose regularity conditions on the integral transform Fg2of the Dirac measure at bbut not on the Dirac measure itself. For instance, if again g2(x b) =φ(x)ψ(b) and pl(xt) =(itφ(x))l/l!for l≥1then Πln g(··b)− g(··b)≤C/(ln+1)!for some constant C>0,providedthatE[φln(X)]ψln(b)tln(t)dt is bounded. Assumption 5(iv) requires an appropriate sieve approximation error only for any nondegenerate p.d.f. fB−2 satisfying (2.6). This assumption is a modification of Assumption 4(i), which does not
1388 Breunig and Hoderlein Quantitative Economics 9 (2018) hold under Hdeg as degenerate distributions cannot be accurately approximated by basis functions. Assumption 5(v) restricts the magnitude of knalso relative to the dimension parameter ln, which is not too restrictive as the dimension knis used to approximate a lower dimensional p.d.f. than in Theorem 2.1. Assumption 5(vi) and (vii), respectively, are closely related to Assumption 4(iv) and (v). Theorem 2.2. Let Assumptions 1–3,4(ii), and 5be satisfied with δ(V t) =exp(itY) − (Fg1fB−2)(X t) g(Xtb2).Then,under Hdeg we obtain (√2ςmn)−1(nSn−μmn)d →N(01) The critical values can be estimated as in Remark 2.1 but where now δn(V t) = exp(itY) −(Fg1 fB−2n)(Xt) g(Xt b2n). The following result shows that, by doing so, the asymptotic distribution of our standardized test statistic remains unchanged. This corollary follows directly from Theorem 2.2 and the proof of Proposition 2;hencewe omit its proof. Corollary 2.2. Under the conditions of Theorem 2.2,it holds (√2ςmn)−1(nSn−μmn)d →N(01) Remark 2.2 (Comparison to Andrews (2001)). It is instructive to compare our setup and results to Andrews (2001), who considers the random coefficient model: Y=B0+B1X1+(b2+σ B2)X2 where E[B0·B1|X]=0,B1is independent of B2,andE[B1|X]=E[ B2|X]=0.Inthis model, degeneracy of the second random coefficient is equivalent to σ=0and degeneracy fails if σ>0.SounderHdeg the parameter σis on the boundary of the maintained hypothesis with σ∈[0∞). In contrast, we rely in this paper on independence of Bto Xunder the maintained hypothesis. In this case, the hypothesis of degeneracy is equivalent to a conditional characteristic function equation as explained in Example 2. Such an equivalent characterization is not possible given the assumptions of Andrews (2001).Thisiswhyinourframework we automatically avoid the boundary problem that is apparent in Andrews (2001). 2.3.4 Testing degeneracy under additive separability alone We now establish the asymptotic distribution of our test of degeneracy based on separability but not full knowledge of g1(see Example 3). We introduce the function h(·t) =E[exp(it(Y − g2(Xb2)))|X1=·]and a linear sieve space Hn≡{φ:φ(x1)=kn l=1βlpl(x1)for x1∈ Rdx1}where dx1denotes the dimension of X1. The series least squares estimator of his denoted by hn(·)=pkn(·)(X 1nX1n)−1X 1nUnwhere Un=(exp(it(Y1−g2(X1 b2n))) exp(it(Yn−g2(Xn b2n))))and b2ndenotes an estimator of b2. Recall the notation g(xtb) ≡exp(itg2(x b)) for b∈B2. Below we denote the vector of partial derivatives of gwith respect to bby gb.
Quantitative Economics 9 (2018) Specification testing in random coefficient models 1389 Assumption 6. (i) The hypothesis Hadd holds,where g1need not to be known except that it does not depend on X2. (ii) There exists Πknh∈Hnsuch that nΠknh−h2 =o(√mn). (iii) The parameter b2is point identified and belongs to the interior of a compact parameter space B2⊂Rdb2. (iv) There exists an estimator b2nsuch that √n( b2n−b2)=Op(1). (v) The function gis partially differentiable with respect to band Esupb∈B2 gb(X tb)2(t)dt < ∞. (vi) It holds kn=o(√mn). Assumption 6(ii) determines the required asymptotic behavior of the sieve approximation bias for estimating h. This condition ensures that the bias for estimating the function his asymptotically negligible but does not require undersmoothing of the estimator hn.Toseethis,letΠknh−h=O(k−s/dx1 n)for some constant s>0. Assumptions 6(ii) and (vi) are satisfied if mn∼nζand kn∼nκwhere dx1(1−ζ/2)/(2s)<κ<ζ/2.We thus require ζ>2dx1/(2s+dx1)and we may choose κto balance variance and bias, that is, κ=dx1/(2s+dx1). In this case, Assumption 4(ii) automatically holds if Πmnϕ−ϕ= O(m−s/dx n)and 2dx1≥dx. Under a partially linear structure Hpart-lin, Assumptions 6(iv) is automatically satisfied if b2ncoincides with the nonlinear least squares estimator. If g2 is linear, Assumption 6(iv) holds true if EX2<∞and t2(t)dt < ∞. Theorem 2.3. Let Assumptions 1–3,4(ii), and 6hold,with δ(V t) =exp(itY) −h(X1 t) g(Xtb2).Then,under Hdeg we obtain (√2ςmn)−1(nSn−μmn)d →N(01) The critical values can be estimated as in Remark 2.1 but where now δn(V t) = exp(itY) − hn(X1t)exp(itg2(X b2n)). The following result shows that, by doing so, the asymptotic distribution of our standardized test statistic remains unchanged. This corollary follows directly from Theorem 2.3 and the proof of Proposition 2;hencewe omit its proof. Corollary 2.3. Under the conditions of Theorem 2.3,it holds (√2ςmn)−1(nSn−μmn)d →N(01) 2.4 Consistency against a fixed alternative In the following, we establish consistency of our test when the difference of restricted and unrestricted conditional characteristic functions does not vanish for all random parameters B. In case of testing functional form restrictions, this is equivalent to a failure of the null hypothesis Hmod,thatis,P(Y = g(XB) for all distributions of random
1390 Breunig and Hoderlein Quantitative Economics 9 (2018) parameters B) > 0. A deviation of conditional characteristic functions can be also caused by alternative models with a different structural function (see Example 1). We only discuss the global power for testing functional form restrictions here, but the results for testing degeneracy follow analogously (of course, in this case we have to be more restrictive about the shape of g1and g2as discussed in Example 2). The next proposition shows that our test of functional form restrictions has the ability to reject a failure of the null hypothesis Hmod with probability one as the sample size grows to infinity. Proposition 3. Suppose that Hmod is false and let Assumptions 1–4be satisfied.Consider a sequence (γn)n≥1satisfying γn=o(nς−1 mn).Then we have P(√2ςmn)−1(nSn−μmn)>γ n=1+o(1) Recall that under Assumption 3we have ςmn≥C√mn(see Lemma A.1). Hence, under this assumption, the rate requirement γn=o(nς−1 mn)implies γn=o(n/√mn)which implies γ−1 n=o(1). 2.5 Asymptotic distribution under local alternatives We now study the power of our testing procedure against a sequence of linear local alternatives that tends to zero as the sample size tends to infinity. First, we consider deviations from the hypothesis of known functional form restriction. Under Hmod,theidentified set in the nonseparable model (1.1)isgivenbyIg={f:fis a p.d.f. with ϕ=Fgf}. We assume that Igis not empty and denote by f∗ Bthe p.d.f. in Igwith minimal norm. We consider the following sequence of local alternatives: ϕn=Fgf∗ B+ςmn/n(2.11) for some function ∈L1(Rdb)∩L2(Rdb). Here, we assume that is such that f∗ B+ ςmn/n does not belong to the identified set Igand need not to be a density. We also note that the p.d.f. f∗ Bcoincides with the minimal norm solution of ϕn−Fgfas n tends to infinity. The next result establishes asymptotic normality under (2.11)ofthe standardized test statistic Snfor testing functional form restrictions. Proposition 4. Let the assumptions of Theorem 2.1 be satisfied.Then,under (2.11)we obtain (√2ςmn)−1(nSn−μmn)d →N2−1/2Fg2 1 As we see from Proposition 4, our test can detect linear alternatives at the rate ςmn/n. Results for testing degeneracy follow similarly. In the following, we thus study deviations from the hypothesis of degeneracy only under the maintained hypothesis Hlin :Y=B0+B 1X1+B 2X2. Under the maintained hypothesis of linearity, any deviation between the conditional characteristic functions is equivalent to a failure of a degeneracy of the random coefficients B2.LetusdenoteBdeg ≡(B1b2)with associated p.d.f. fBdeg . We consider the following sequence of linear local alternatives: fBn =fBdeg +ςmn/n (2.12)
Quantitative Economics 9 (2018) Specification testing in random coefficient models 1391 for some density function ∈L1(Rdb)∩L2(Rdb)which is not degenerate at b2. Applying the Fourier transform to equation (2.12)yields EexpitXB|X=EexpitB0+X 1B1|XexpitX 2b2+expitXs(s)dsςmn/n The next result establishes asymptotic normality under (2.12) for the standardized test statistic Snfor testing degeneracy. This corollary follows by similar arguments used to establish Proposition 4, and hence we omit the proof. Corollary 2.4. Let the assumptions of Theorem 2.3 be satisfied.Then,under (2.12)we obtain (√2ςmn)−1(nSn−μmn)d →N2−1/2F2 1 3. Monte Carlo experiments In this section, we study the finite-sample performance of our test by presenting the resultsofaMonteCarlosimulationstudy.Theexperimentsuseasamplesizeof500 and there are 1000 Monte Carlo replications in each experiment. As throughout the paper, we structure this section again in a part related to testing functional form restrictions, and a part related to testing degeneracy. 3.1 Testing functional form restrictions In each experiment, we generate realizations of regressors Xfrom X∼N(02)and random coefficients B=(B1B2)from B∼N(0A)where A=11/2 1/21 We simulate a random intercept B0⊥(B1B2)according to the standard normal distribution. Realizations of the dependent variable Yare generated either by the linear model Y=ηB0+XB1(3.1) the quadratic model Y=c1ηB0+XB1+X2B2(3.2) or the nonlinear model Y=c2ηB0+XB1+|X|B2(3.3) where the constant ηis either 07or 1. Here, the normalization constants c1and c2en- sure that the dependent variables in models (3.1)–(3.3) have the same variance.11 Note 11This normalization ensures that large empirical rejection probabilities are not only driven by a large variance of the alternative models (see, for instance, Blundell and Horowitz (2007)).
1392 Breunig and Hoderlein Quantitative Economics 9 (2018) that the random coefficient density fBis neither point identified in model (3.2)norin model (3.3). However, recall that even if the model is not point identified under the maintained hypothesis, our testing procedure may still be able to detect certain failures of the null hypothesis, in particular if they arise from differences in conditional moments. Consider, for example, testing linearity in the heterogeneous QUAIDS model (3.2), where the first two conditional moments yield E[B2]=0and Var(B2)=0.Consequently, P(|ε(X t)|2(t)dt =0)>0if and only if P(B2=0)>0. In the finite sample experiment, we also observe that our testing procedure is able to detect such deviations. The test is implemented using Hermite functions, and uses the standardization described in Remark 2.1.When(3.1) is the true model, we estimate the random coefficient density as described in Example 4, where we make use of the fact that the Hermite functions are eigenfunctions of the Fourier transform. If (3.2) is the true model, the integral transform Fgis computed using numerical integration. In both cases, the weighting function is given by the standard normal p.d.f., following Su and White (2007) and Chen and Hong (2010), or following Chen, Peng, and Yu (2013) by the uniform p.d.f. with support [−22]. We also tried different weighting functions and found, similar to Chen and Hong (2010), that the results of our finite sample analysis are not sensitive when these functions have support on the whole real line. For finite support weight functions the results are equally sensitive, and thus we report the empirical rejection probabilities of our tests using the uniform weights available in the Supplementary Material (Breunig and Hoderlein (2018)). Our test statistic is implemented using a varying number of Hermite functions to analyze its sensitivity to that dimension parameter choice. If (3.1) is the correct model, we use either kn=5(=3+2)orkn=6(=3+3) Hermite functions to estimate the density of the bivariate random coefficients (B0B1).If(3.2) is the correct model, we have an additional dimension which accounts for the nonlinear part. Here, the choice of Hermite basis functions is either kn=7(=3+2·2)orkn=9(=3+2·3). In both cases, we vary the dimension parameter mnbetween 8,12,and16. The empirical rejection probabilities of our tests are shown in Table 1at the nominal level 005. We also note that the models are normalized, and hence, the null and alternative have the same variance. The differences between the nominal and empirical rejection probabilities, under the correct functional form restrictions, is accurate for mn=8 if the linear model is the correct model (see rows 1, 7, 13, and 19) while for the correct quadratic model we require a large value of mnto obtain accurate finite sample coverage (see rows 2, 8, 14, and 20). This is not surprising but in line with our theory, where we require mnto be larger than knand the quadratic model requires a larger choice of kn. From Table 1, we see that the empirical rejections probabilities become larger as the parameter ηincreases. On the other hand, we observe from this table that our tests have power to detect nonlinear alternatives even in cases where the model under the maintained hypothesis is not identified. This is in line with our observation that these alternatives imply deviations between the restricted and unrestricted characteristic functions. Comparing rows 3, 9 with 4, 10 in Table 1, we observe that our test rejects the quadratic model (3.2) more often than the nonlinear model (3.3). From rows 5, 11 and 6, 12, we see
Quantitative Economics 9 (2018) Specification testing in random coefficient models 1393 Table 1. Rows 1, 2, 7, 8, 13, 14, 19, 20 depict the empirical rejection probabilities if Hmod holds true, the rows 3–6, 9–12, 15–18, 21–24 show the finite sample power of our tests against various alternatives. The first column states the null model while the second shows the alternative model and is left empty if the null model is the correct model. Column 3 specifies the noise level of the data generating process. Column 4 depicts the values of the varying dimension parameters kn. Columns 5–7 depict the empirical rejection probabilities for the nominal level 005. Null Model Alt. Model Empirical Rejection Probabilities Using Rows Hmod True DGP ηk nmn=8mn=12 mn=16 1(3.1)075 0041 0006 0004 2(3.2)70120 0063 0020 3(3.1)(3.2)50958 0727 0561 4(3.1)(3.3)0645 0233 0129 5(3.2)(3.1)70935 0780 0558 6(3.2)(3.3)0990 0903 0734 7(3.1)150093 0014 0002 8(3.2)70290 0120 0051 9(3.1)(3.2)50876 0513 0327 10 (3.1)(3.3)0550 0146 0053 11 (3.2)(3.1)70994 0952 0837 12 (3.2)(3.3)0996 0966 0866 13 (3.1)076 0019 0003 0001 14 (3.2)90140 0049 0023 15 (3.1)(3.2)60887 0539 0313 16 (3.1)(3.3)0524 0161 0064 17 (3.2)(3.1)90938 0778 0581 18 (3.2)(3.3)0986 0893 0756 19 (3.1)160042 0004 0003 20 (3.2)90292 0103 0042 21 (3.1)(3.2)60847 0465 0261 22 (3.1)(3.3)0364 0085 0037 23 (3.2)(3.1)90991 0952 0833 24 (3.2)(3.3)0994 0957 0859 that our test rejects the nonlinear model (3.3) slightly more often than the linear model (3.1). Note that mncould be any integer larger than const. ×k2 nthat is smaller than n1/2 (up to logs). The range of admissible dimension parameters for this minimizationmaximization routine reflects the dimension restrictions imposed in Theorem 2.1 and the consistency results thereafter, that is, m2 nlogn=o(n) and kn=o(√mn).12 From Table 1, we see that the condition kn=o(√mn)might be too restrictive in finite samples 12For simplicity, we assume here the the minimal eigenvalues of the associated matrices are uniformly bounded away from zero.
1394 Breunig and Hoderlein Quantitative Economics 9 (2018) when Hermite functions are used.13 We thus modify the range of possible dimension parameters to ensure accurate finite sample coverage. That is, if s(knmn)denotes the value of the test statistic, a guideline for parameter choice in practice is given by the minimum-maximum principle min1≤kn<2n1/4maxkn<mn<√n{s(knmn)}. The intuition behind this criterion is that we choose knto have a good model fit and to choose mnsuch that the finite sample power of the test statistic is maximized. For instance, as we see from Table 1,ifη=1and (3.1) is the correct model, the principle yields kn=6and mn=8 which implies an empirical rejection probability of 0042 (see row 19). The minimummaximum principle also ensures that knis always smaller than mnand thus precludes inaccurate finite sample coverage in the quadratic model due to too small mnas we see in rows 2, 8, 14, and 20. For instance, if η=07and (3.2) is the true model the principle yields kn=9and mn=12 leading to the empirical rejection probability of 0049 (see row 14). Yet for larger values of η,thatis,ifη=1and (3.2) is the true model, the principle yields again kn=9and mn=12 leading to the empirical rejection probability of 0103. Thus, the testing procedure works generally well but leads in some cases to overrejection (see row 20). When we consider different data generating processes, such as a cubic polynomial with random coefficients, we find that our test of linearity leads to empirical rejection probabilities which are close to one for all nominal levels considered. Hence, these results are not reported here. Regarding consistency of the test statistic, we conduct experiments with increasing sample sizes. We find a slight tendency of our test statistic to underreject for small η,seeinTable1in rows 1, 2, 13, and 14. However, this underrejection diminishes as we increase the sample size to n=1000. Not surprisingly, when n=1000 also the empirical rejection probabilities in in alternative models increase. Recommendation on choice of tuning parameters In the following, based on the theoretical results and the Monte Carlo investigation we provide a recommendation on the choice of weighting function and dimension parameters to implement the test in practice. •Concerning the weighting function , choosing a standard normal p.d.f. performs well in many different settings, and should probably be considered as a benchmark. However, the results in the simulation section suggest that the choice of weighting is immaterial, as the results do not appear to be sensitive. •In contrast, the test appears to be significantly more sensitive to the choice of dimension parameters knand mn. In particular, the test appears more sensitive to the choice of knthan to the choice of mn. We recommend to choose the dimension parameters knand mnaccording to the minimum-maximum principle as proposed above, that is, choose mnto maximize the finite sample power of the test, and knto minimize the specification error. 13This rate requirement is not too restrictive for B-spline basis functions as we see below.
Quantitative Economics 9 (2018) Specification testing in random coefficient models 1401 usual Euclidean norm, while for a matrix A,Ais the operator norm. Further, φX≡ E(φ2(X)) and φψX≡E[φ(X)ψ(X)]. For any integer m≥1,Indenotes the mn×mn dimensional identity matrix. Recall the notation Pn=E[pmn(X)pmn(X)]. Proofs of Section 2 Proof of Proposition 1.Letusdenotef=dFX dν . For some constant 0<c<1,forall n≥1,andanyan∈Rmnwe have an2=a npmn(x)21f(x)≥λnν(dx) +a npmn(x)21f(x)<λnν(dx) ≤λ−1 na npmn(x)2f(x)ν(dx) +ca npmn(x)2ν(dx) Consequently, we obtain λnInPn. By Assumption 2, the eigenvalues of λ−1 nPnare bounded away from zero, and hence, it may be assumed that Pn=λnIn. Otherwise, consider a linear transformation of pmn of the form ˇ pmn≡(Pn/λn)−1/2pmnwhere supx∈Xˇ pmn(x)mnusing that the smallest eigenvalue of (Pn/λn)−1/2is bounded away from zero uniformly in n. Lemma A.1. Under Assumption 2(ii), it holds √mnςmn. Proof. Without loss of generality, it may be assumed that (t)dt =1. By the definition of ςmn,weconclude ς2 mn=P−1/2 nEδ(V s)δ(V t)pmn(X)pmn(X)P−1/2 n2 F(s)(t)ds dt ≥λ−2 n mn l=1Eδ(V s)δ(V t)p2 l(X)2(s)(t)ds dt ≥λ−2 n mn l=1Eδ(Vt)(t)dt 2 p2 l(X)2 (by Jensen’s inequality) ≥Cλ−2 n mn l=1Ep2 l(X)2(by Assumption 3) =Cmn In the following, we make use of the notation Pn=n−1jpmn(Xj)pmn(Xj)and γn(t) ≡(n Pn)−1jexp(itYj)pmn(Xj).Let An=n−1j(Fgqkn)(Xj−t)(Fgq kn)(Xj
1402 Breunig and Hoderlein Quantitative Economics 9 (2018) t)(t)dt and its population counterpart An=E[(Fgqkn)(X−t)(Fgq kn)(Xt)(t)dt]. Recall the definition βn=(n An)−j(Fgqkn)(Xj−t)ϕn(Xj t)(t)dt and further, we introduce βn=A− nE[(Fgqkn)(X−t)ϕ(Xt)](t)dt. Proof of Theorem 2.1. We make use of the decomposition nSn= jεn(Xjt)2(t)dt = jpmn(Xj)γn(t) −Πmnϕ(Xjt)2(t)dt +2 j Re pmn(Xj)γn(t) −Πmnϕ(Xjt)Πmnϕ(Xj−t) −(Fg fBn)(Xj−t)(t)dt + jΠmnϕ(Xjt)−(Fg fBn)(Xjt)2(t)dt =In+2IIn+IIIn(say) Consider In.Weconclude In=nγn(t) −ϕ(·t)pmnX Pnγn(t) −ϕ(·t)pmnX(t)dt =n−1 jexp(itYj)−Πmnϕ(Xjt)pmn(Xj) P−1 n × jexp(itYj)−Πmnϕ(Xjt)pmn(Xj)(t)dt =λ−1 nn−1/2 jexp(itYj)−Πmnϕ(Xjt)pmn(Xj) 2 (t)dt +n−1 jexp(itYj)−Πmnϕ(Xjt)pmn(Xj) P−1 n−λ−1 nIn × jexp(itYj)−Πmnϕ(Xjt)pmn(Xj)(t)dt =B1n+B2n(say). Since (Πmnϕ(Xt) −ϕ(X t))pmn(X) is a centered random variable for all tit is easily seen that B1n=λ−1 nn−1/2j(exp(itYj)−ϕ(Xjt))pmn(Xj)2(t)dt +op(1).Thus, Lemma A.2 yields (√2ςmn)−1(B1n−μmn)d →N(01). To show that B2n=op(√mn)note
Quantitative Economics 9 (2018) Specification testing in random coefficient models 1403 that P−1 n−λ−1 nIn≤λ−1 n( Pn/λn)−1In− Pn/λn=Op(mnlogn)/nλ2 n by Lemma 6.2 of Belloni et al. (2015).Further,fromE[(exp(itY) −Πmnϕ(Xt))pl(X)]= 0,1≤l≤mn,wededuce n−1E jexp(itYj)−Πmnϕ(Xjt)pmn(Xj) 2 (t)dt (t)dtEpmn(X)2 +sup x∈Xpmn(x)2mn l=1ϕ(·t)pl2 X(t)dtEp2 l(X) mnλn (A.1) The result follows due to condition m2 nlogn=o(nλn). Thereby, it is sufficient to prove IIn+IIIn=op(√mn).ConsiderIIIn.Weobserve IIIn jFg( fBn −ΠknfB)(Xjt)2(t)dt + j(FgΠknfB)(Xjt)−Πmnϕ(Xjt)2(t)dt where j|(FgΠknfB)(Xjt)−Πmnϕ(Xjt)|2(t)dt =op(√mn)and jFg( fBn −ΠknfB)(Xjt)2(t)dt =( βn−βn) j(Fgqkn)(Xjt)(Fgqkn)(Xjt)(t)dt( βn−βn) =n( βn−βn) An( βn−βn) Let us introduce the vector βn=(n An)−j(Fgqkn)(Xj−t)ϕ(Xj t)(t)dt. Using the property of Moore–Penrose inverses that An= An A− n An,weconclude n( βn−βn) An( βn−βn) n( βn− βn) An( βn− βn)+n( βn−βn) An( βn−βn) n−1/2 j(Fgqkn)(Xj−t)ϕn(Xjt)−ϕ(Xjt)(t)dt 2 A− n +nE(Fgqkn)(X−t)ϕ(Xt)(t)dt 2 A− n−A− n2 An
1404 Breunig and Hoderlein Quantitative Economics 9 (2018) +n−1/2 j(Fgqkn)(Xj−t)ϕ(Xjt) −E(Fgqkn)(X −t)ϕ(Xt)(t)dt 2A− n2 An From Lemma A.3,wehave A− n−A− n=Op((logn)kn/(nτn)). By Assumption 4(v), it holds √τnA− n=O(1),andthus, A− n≤ A− n−A− n+A− n=Op(τ−1/2 n).Thereby,itis sufficienttoconsider n−1/2 j(Fgqkn)(Xj−t)ϕn(Xjt)−ϕ(Xjt)(t)dt 2 n−1/2 j(Fgqkn)(Xj−t)pmn(Xj)γn(t) −ϕ(·t)pmnX(t)dt 2 +n−1/2 j(Fgqkn)(Xj−t)Πmnϕ(Xjt)−ϕ(Xjt)(t)dt 2 nE(Fgqkn)(X−t)pmn(X)γn(t) −ϕ(·t)pmnX(t)dt 2 +nE(Fgqkn)(X−t)Πmnϕ(Xt) −ϕ(Xt)(t)dt 2 +Op(kn) =Opkn+nΠmnϕ−ϕ2 which can be seen as follows. Let ··denote the inner product induced by the norm ·. We calculate E(Fgqkn)(X−t)Πmnϕ(Xt) −ϕ(Xt)(t)dt 2 = kn l=1FgqlΠmnϕ−ϕ2 = kn l=1ql(b)EF∗ g(Πmnϕ−ϕ)(Xb)db2 EF∗ g(Πmnϕ−ϕ)(Xb)2db Πmnϕ−ϕ2 where F∗ gis the adjoint operator of Fggiven by (F∗ gφ)(b) =E[exp(−itg(Xb))φ(X t)](t)dt.Consequently,wehaven( βn−βn) An( βn−βn)=Op((logn)kn/τn+ nΠmnϕ−ϕ2 /√τn)=op(√mn)and, in particular, IIIn=op(√mn).ConsiderIIn.From
Quantitative Economics 9 (2018) Specification testing in random coefficient models 1405 above, we infer n βn−βn2=Op((logn)kn/τn+nΠmnϕ−ϕ2 /√τn).Thereby,weobtain |IIn|2 jexp(itYj) −Πmnϕ(Xjt)pmn(Xj)ϕ(·−t)−(FgΠknfB)(·−t)pmnX(t)dt 2 + jexp(itYj) −Πmnϕ(Xjt)pmn(Xj)(Fg(ΠknfB− fBn)(·−t)pmnX(t)dt 2 +op(mn) nEΠmnϕ(Xt) −(ΠmnFgΠknfB)(Xt)2(t)dt +nEexp(itY) −Πmnϕ(Xt)(ΠmnFgqkn)(X −t)2(t)dt βn−βn2 +op(mn) =OpnFg(ΠknfB−fB)2 +kn(logn)kn/τn+nΠmnϕ−ϕ2 /√τn+op(mn) =op(mn) where we used that Πmnϕ−ϕ∞=O(1)and kn l=1ΠmnFgql2 =O(kn), which completes the proof. We require the following notation. Let us introduce the covariance matrix estimator Σmn(st) =n−1jpmn(Xj)pmn(Xj)δn(Vjs)δn(Vjt) where δn(Vjs) =exp(itY) − (Fg fBn)(Xt). Further, we define δn(V t) =exp(itY) −(FgΠknfB)(Xt) and introduce the matrix Σmn(st) =n−1jpmn(Xj)pmn(Xj) δn(Vjs) δn(Vjt). Proof of Proposition 2. To keep the presentation of the proof simple, we do not consider estimation of Pnin ςmnand μmn. We make use of the relationship δn(·s)δn(·t)− δn(·s) δn(·t)= δn(·s)(Fg fBn)(·t)−(FgΠknfB)(·t) +δn(·t)(Fg fBn)(·s)−(FgΠknfB)(·s) Observe Σmn(st) − Σmn(st)2 F(s)ds(t)dt n−1 j pmn(Xj)pmn(Xj) δn(Vjs)(Fg fBn)(Xjt)
1406 Breunig and Hoderlein Quantitative Economics 9 (2018) −(FgΠknfB)(Xjt) 2 F (s)ds(t)dt +n−1 j pmn(Xj)pmn(Xj)δn(Vjt)(Fg fBn)(Xjs) −(FgΠknfB)(Xjs) 2 F (s)ds(t)dt =In+IIn(say) We conclude In≤ 1 n j δn(Vjs)pmn(Xj)pmn(Xj)(Fgpkn)(Xjt)( βn−βn) 2 F (s)ds(t)dt ≤E δn(V s)pmn(X)pmn(X)(Fgqkn)(Xt)( βn−βn)2 F(s)ds(t)dt +op(1) ≤ βn−βn2 ×Opmn jl=1 kn l=1Eϕ(Xs) −(FgΠknfB)(X s)(Fgql)(Xt)pj(X)pl(X)2(s)ds(t)dt ≤ βn−βn2 ×Opmn l=1 kn l=1Eϕ(X s) −(FgΠknfB)(Xs)(Fgql)(Xt)pl(X)2(s)ds(t)dt =Opmn(logn)k2 n/(τnn) +mnknΠmnϕ−ϕ2 /√τn=op(1) Here, we used βn−βn2=Op((logn)kn/τn+nΠmnϕ−ϕ2 /√τn)which can be seen as in the proof of Theorem 2.1. Since In=op(1),weconclude IIn( βn−βn)E(Fgqkn)(X s)pmn(X)pmn(X)(Fgqkn)(Xt) ×( βn−βn)2 F(s)ds(t)dt +op(1) ≤ βn−βn4
Quantitative Economics 9 (2018) Specification testing in random coefficient models 1407 × mn jl=1E(Fgqkn)(Xs)(Fgqkn)(Xt)pj(X)pl(X)2(s)ds(t)dt +op(1) ≤Cm2 n βn−βn4E(Fgqkn)(Xt)2(t)dt2 +op(1) =Opm2 n(logn)kn/(τn)2+m2 nΠmnϕ−ϕ4 /τn=op(1) by using lognkn=o(τn√mn). Finally, it is easily seen that ς2 mn− Σmn(st)2(s)ds × (t)dt =op(1),whichprovesςmnς−1 mn=1+op(1). In particular, convergence of the trace of Σmn(tt) to the trace of Σmn(tt) follows by using |μmn−μmn|2≤mn Σmn(tt) − Σmn(tt)2 F(t)dt =op(mn). Proof of Theorem 2.2. Let us introduce αn=(nAn)−E[χn(Xt)ϕ(X−t)](t)dt and the estimator αn=(n An)− j χn(Xj−t)ϕn(Xj t)(t) dt We prove in the following that jϕn(Xjt)−(Fg1 fB−2n)(Xjt) g(Xjt b2n)2(t)dt = jϕn(Xjt)−χn(Xjt)αn2(t)dt +op(√mn) By the definition of the estimator b2nin (2.7), we obtain jϕn(Xjt)−(Fg1 fB−2n)(Xjt) g(Xjt b2n)2(t)dt ≤ jϕn(Xjt)−(Fg1 fB−2n)(Xjt) g(Xjtb2)2(t)dt (A.2) for any b2∈B2satisfying (2.6). By the definition of the least squares estimator αnand the triangular inequality, we obtain ! jϕn(Xjt)−(Fg1 fB−2n)(Xjt) g(Xjt b2n)2(t)dt ≥ ! jϕn(Xjt)−(Fg1 fB−2n)(Xjt)Πln g(Xjt b2n)2(t)dt
1408 Breunig and Hoderlein Quantitative Economics 9 (2018) − ! j(Fg1 fB−2n)(Xjt)Πln g(Xjt b2n)− g(Xjt b2n)2(t)dt ≥ jϕn(Xjt)−χn(Xjt)αn2(t)dt −Op√nmax b∈B2Πln g(··b)− g(··b) = jϕn(Xjt)−χn(Xjt)αn2(t)dt −opm1/4 n Consequently, applying again the triangular inequality together with inequality (A.2) yields ! jϕn(Xjt)−(Fg1 fB−2n)(Xjt) g(Xjt b2n) 2 (t)dt − ! jϕn(Xjt)−χn(Xjt)αn2(t)dt ≤ ! jϕn(Xjt)−(Fg1 fB−2n)(Xjt) g(Xjtb2)2(t)dt − ! jϕn(Xjt)−χn(Xjt)αn2(t)dt +opm1/4 n ≤ ! jΠln g(Xjtb2)− g(Xjtb2)2(t)dt +√nαn−αn+opm1/4 n =nΠln g(··b2)− g(··b2)2 +Opknln(logn)/τn+√nτ−1/4 nΠmnϕ−ϕ +opm1/4 n =opm1/4 n as in the proof of Theorem 2.1. Now following line by line the proof of Theorem 2.1 and using jΠmnϕ(Xjt)−(Fg1ΠknfB−2)(Xjt)Πln g(Xjtb2)2(t)dt nΠmnϕ−ϕ2 +nFg1ΠknfB−2−Fg1fB−22 +nΠln g(··b2)− g(··b2)2 +op(√mn) =op(√mn) the result follows.
Quantitative Economics 9 (2018) Specification testing in random coefficient models 1409 Proof of Theorem 2.3. We make use of the decomposition nSn= jpmn(Xj)γn(t) −ϕ(·t)pmnX2(t)dt +2 j Re pmn(Xj)γn(−t)−ϕ(·−t)pmnX ×Πmnϕ(Xjt)− hn(X1jt) g(Xjt b2n)(t)dt + jΠmnϕ(Xjt)− hn(X1jt) g(Xjt b2n)2(t)dt =In+2IIn+IIIn(say) whereweusedh(·t) g(·tb2) pmnX=ϕ(·t)pmnX.ConsiderIn. As in the proof of Theorem 2.1,wehave In=nλ−1 nn−1/2 jexp(itYj)−h(X1jt) g(Xjtb2)pmn(Xj) 2 (t)dt +op(√mn) Thus, Lemma A.2 yields (√2ςmn)−1(In−μmn)d →N(01).ConsiderIIIn. Since | g(Xjt b)|≤1for all bwe evaluate IIIn jΠmnϕ(Xjt)−ϕ(Xjt)2(t)dt + jh(X1jt)− hn(X1jt)2(t)dt + j hn(X1jt)2 g(Xjtb2)− g(Xjt b2n)2(t)dt It holds hn(·t)−Πknh(·t)2 X1(t)dt =Op(kn/n) as we see in the following. We have λn hn(·t)−Πknh(·t)2 X1(t)dt ≤λn j pkn(Xj)pkn(Xj)−1 jΠknh(X1jt) −expitYj−g2(Xj b2n)pkn(X1j) 2 (t)dt n−1 jΠknh(X1jt)−expitYj−g2(Xjb2)pkn(X1j) 2 (t)dt
1410 Breunig and Hoderlein Quantitative Economics 9 (2018) + b2n−b22 kn l=1n−1 j exp(itYj) gb(Xjt b2n)pl(X1j) 2 (t)dt +op(1) by a Taylor series expansion, where b2nis between b2nand b2. As in relation (A.1), from E[(Πknh(Xt) −exp(it(Y −g2(Xb2))))pkn(X)]=0we deduce En−1 jΠknh(X1jt)−expitYj−g2(Xjb2)pkn(Xj) 2 (t)dt =On−1knλn Further, since Esupb∈B2 gb(Xtb)2(t)dt ≤Cwe have Ekn l=1n−1 j exp(itYj) gb(Xjt b2n)pl(Xj) 2 (t)dt1/2 ≤Epkn(X) gb(Xt b2n)2(t)dt1/2 ≤Epkn(X)21/2Esup b∈B2 gb(Xtb)2(t)dt1/2 =O(λnkn) This establishes the rate for the estimator hn. In light of condition nΠknh−h2 = o(√mn),fromnb2− b2n2=Op(1)and kn=o(√mn)we infer IIIn=op(√mn).Itremains to show IIn=op(√mn), which follows by |IIn| jexp(−itYj) −Πmnϕ(Xj−t)pmn(Xj)Πmnϕ(·t)−Πknh(·t) g(·tb2) pmnX(t)dt + jexp(−itYj)−Πmnϕ(Xj−t)pmn(Xj)Πknh(·t) g(·tb2) − hn(·t) g(·t b2n)pmnX(t)dt +op(√mn) =Op√nΠknh−h+op(√mn) +OpknEsup b∈B2 mn l=1 pl(X) gb(·tb)p knplX 2 (t)dt1/2 =op(√mn)
Quantitative Economics 9 (2018) Specification testing in random coefficient models 1417 Lewbel, A., X. Lu, and L. Su (2015), “Specification testing for transformation models with an application to generalized accelerated failure-time models.” Journal of Econometrics, 184 (1), 81–96. [1376] Lewbel, A. and K. Pendakur (2013), “Unobserved preference heterogeneity in demand using generalized random coefficients.” Technical report, Department of Economics, Boston College. [1375] Masten, M. (2015), “Random coefficients on endogenous variables in simultaneous equations models.” Technical report, Centre for Microdata Methods and Practice. [1374, 1375] Matzkin, R. L. (2012), “Identification in nonparametric limited dependent variable models with simultaneity and unobserved heterogeneity.” Journal of Econometrics, 166 (1), 106–115. [1375] Nashed, M. Z. (2014), “Generalized inverses and applications.” In Proceedings of an Advanced Seminar Sponsored by the Mathematics Research Center, the University of Wisconsin—Madison, October 8–10, 1973, Vol. 32. Elsevier, Amsterdam. [1413] Newey, W. K. (1997), “Convergence rates and asymptotic normality for series estimators.” Journal of Econometrics, 79 (1), 147–168. [1383] Santos, A. (2012), “Inference in nonparametric instrumental variables with partial identification.” Econometrica, 80 (1), 213–275. [1376] Su, L. and H. White (2007), “A consistent characteristic function-based test for conditional independence.” Journal of Econometrics, 141 (2), 807–834. [1373,1375,1392] Swamy, P. A. (1970), “Efficient inference in a random coefficient regression model.” Econometrica, 38, 311–323. [1375] Co-editor Rosa L. Matzkin handled this manuscript. Manuscript received 15 August, 2016; final version accepted 12 February, 2018; available online 5 April, 2018.