Abstract
Lewbel (2012, Journal of Business and Economic Statistics 30: 67–80) provides a heteroskedasticity-based estimator for linear regression models containing an endogenous regressor when no external instruments or other such information is available. The estimator is implemented in the command
Keywords
1 Introduction
Linear regression models containing endogenous regressors are generally identified using outside information such as exogenous external instruments or by parametric distribution assumptions. Some articles obtain identification without external instruments by exploiting heteroskedasticity, including Rigobon (2003), Klein and Vella (2010), Lewbel (1997, 2018), and Prono (2014). In particular, Lewbel (2012) shows how one can use heteroskedasticity to construct instruments when no external instruments are available. Other articles that obtain identification using constructed instruments include Lewbel (1997) and Erickson and Whited (2002). See Lewbel (Forthcoming) for a general discussion of identification methods like these.
In this article, we provide advice and instructions for researchers who wish to apply the Lewbel (2012) estimator. That article includes estimators for fully simultaneous systems, semiparametric systems, and bounds for when key identifying assumptions are violated. However, most empirical applications use the estimator for a singleequation linear regression model with a single endogenous regressor, which is the focus here. Baum and Schaffer (2012) implemented this linear single-equation estimator as the command
Note that it is almost always preferable to use any available external instruments rather than constructed instruments like those of Lewbel (2012) because of the greater difficulty of confirming that constructed instruments are valid. However, constructed instruments can be useful if no external instruments are available and for testing validity of external instruments.
2 The model and estimator
Assume a sample of observations of endogenous variables Y 1 and Y 2 and a vector of exogenous covariates X. We wish to estimate γ and the vector β in the model
where the errors ε1 and ε 2 may be correlated.
Standard instrumental-variables estimation depends on having an element of X that appears in the Y 2 equation but not in the Y 1 equation and uses that excluded regressor as an instrument for Y 2. The problem considered here is that perhaps no element of X is excluded from the Y 1 equation, or equivalently, we are not sure that any element of β is zero. Lewbel (2012) provides identification and a corresponding simple linear two-stage least-squares estimator for β and γ in this case, where no element of X can be used as an excluded instrument for Y 2. The method consists of constructing valid instruments for Y 2 by exploiting information contained in heteroskedasticity of ε 2.
We begin with some standard regression model assumptions. First, β and γ are assumed to be fixed constants (in particular, this means that if Y
2 is a treatment measure, then treatment effects are assumed to be homogeneous). Second, we have the standard exogenous X assumptions that
The Lewbel (2012) estimator can be summarized as the following two steps:
Estimate Let
This estimator is implemented in the
3 Advice on applying the estimator
The main question to be answered by applied researchers who wish to use this estimator is whether the key assumptions, that
where c is a constant and U, V1, and V2 are unobserved error terms that are mutually independent conditional on
The interpretation of assumption A1 is that Y
2 is endogenous because it contains an error component U that appears in the errors of both equations. This assumption is not directly testable and so should be justified by an appeal to either economic (structural) or econometric (statistical) theory. To illustrate, here we provide examples of how assumption A1 could be justified in many contexts. Suppose Y
2 is endogenous because it is mismeasured. Then V
1 is the true outcome model error, and U is the measurement error. Classical measurement error in linear regression models satisfies assumption A1. Suppose Y
1 is an individual’s wage and Y
2 is the individual’s education level. Here U could be unobserved ability, which affects both one’s educational attainment, Y
2, and one’s wage, Y
1. Then V
1 represents all the unobservables that affect wages but not education, while V
2 represents all the unobservables that affect education but not wages. Suppose Y
1 is a firm’s value-added output per unit of capital and Y
2 is the firm’s labor per unit of capital. Here U could be unobserved entrepreneurship, which affects both productivity and the chosen level of inputs. Then V
1 represents all the unobservables that affect productivity but not inputs, and vice versa for V
2.
The point here, as illustrated by these examples, is that the endogeneity of Y 2 takes the form of there being some underlying, unobserved factor U that affects both Y 1 and Y 2.
Assumption A2 says that U is homoskedastic. The Y 1 equation is a structural model, so if we can argue that it is correctly specified without important omitted variables, then it is common to assume remaining errors are completely idiosyncratic. This may be a difficult assumption to justify in theory, but it is partly testable. In particular, we may apply a Pagan and Hall (1983) test to the Y 1 equation.
The idea behind the Pagan–Hall test is that if any of the exogenous variables can predict the squared residuals, then the errors are conditionally heteroskedastic. The more common Breusch–Pagan and White tests for heteroskedasticity (Breusch and Pagan 1979; White 1980) are inappropriate here because, as Pagan and Hall (1983) point out, those tests are valid only if heteroskedasticity is present in the equation being tested and nowhere else in the system (that is, the other structural equations in the system corresponding to the endogenous regressors must be homoskedastic, even though they are not being explicitly estimated). In contrast, under the null of conditional homoskedasticity in the two-stage least-squares regression, the Pagan–Hall statistic is distributed as χ p 2 , irrespective of the presence of heteroskedasticity elsewhere in the system.
The
where the optional varlist specifies the exogenous variables to be used to model the squared errors. The tradeoff in the choice of variables to be used is that a smaller set of variables will conserve degrees of freedom at the cost of being unable to detect heteroskedasticity in certain directions. See, for example, Baum, Schaffer, and Stillman (2003), section 3, for more details.
For testing assumption A2, the correct set of variables to include in the test is the levels of the instruments
A limitation of this test is that it tests homoskedasticity of ε 1, so if we reject homoskedasticity, we cannot know whether the rejection is due to violating assumption A2 or due to harmless heteroskedasticity of V 1. In short, failing to reject homoskedasticity of ε 1 provides evidence supporting assumption A2, but rejecting homoskedasticity of ε 1 does not mean that assumption A2 is necessarily violated.
Note that assumption A2 does not require that U
2
be fully homoskedastic, only that it not be correlated with
This assumption is needed to ensure that the constructed instrument ends up correlated with Y
2. If the previous assumptions hold, then this assumption is equivalent to heteroskedasticity of V
2 relative to
Note that the above assumptions are not necessary for validity of the estimator. For example, it is possible that the factor model of assumption A1 does not hold, but the estimator is still consistent (see Lewbel [2018] for an example). However, we can have more confidence that the estimator is consistent in a given application if we can argue that the logic of assumption A1 holds and if we pass the tests in assumptions A2 and A3.
Additional tests lending even more support for the estimator are possible when
To summarize the results of this section, we note that one way to use this estimator convincingly is to do the following: Use economic theory and data to justify linearity of the model Y
1 = X
′
β+Y
2
γ+ε
1 and the assumption that X is exogenous. Use economic theory and data to justify the factor structure of the errors given by assumption A1. Choose a set of covariates
4 Implementing the estimator and tests
Using the Lewbel (2012) method, we construct instruments as simple functions of the model’s data. This approach may be a) applied when no ordinary (external) instruments are available or b) used along with external instruments to improve the efficiency of the instrumental-variables estimator. Constructed and external instruments can also be used to obtain overidentification, thereby allowing application of Sargan–Hansen tests (of the orthogonality conditions or overidentifying restrictions), which would not be possible in the case of exact identification by external instruments. This then allows one to simultaneously test validity of both the external instruments and the constructed instruments.
The implementation of the estimator in
The
The
The
In case a, where an adequate number of external instruments are augmented by the generated constructed instruments,
In case b, where the equation would be underidentified without constructed instruments, either one or two sets of estimates will be produced and displayed. If there are no excluded instruments, only the estimates using the generated instruments are displayed. If there are excluded instruments but too few to produce identification by the order condition, the estimates using only generated instruments and those produced by both generated and excluded instruments will be displayed. Unlike
The Pagan and Hall (1983) tests referenced above are available from the
4.1 Stored results
In the
5 Examples of usage
In this example from
The following is an example with panel data and heteroskedastic and autocorrelated standard errors: webuse grunfeld, clear ivreg2h invest L(1/2).kstock (mvalue=), fe ivreg2h invest L(1/2).kstock (mvalue=L(1/4).mvalue), fe robust bw(2)
6 Additional comments
Here we provide answers to additional questions that have been asked about the estimator. 1. Can validity of the estimator be tested? Partially. The tests discussed in the previous sections are examples. 2. What if Y
1 or Y
2 is discrete? The estimator may still be valid in this case. Lewbel (2018) gives one set of conditions that suffice for validity of the estimator. However, the factor structure given by assumption A1 will generally not hold if Y
1 or Y
2 is discrete, so it is much harder to justify application of the estimator. One might still apply the tests discussed in the previous sections to provide some evidence to rationalize the estimator in this case. 3. What does it mean if coefficient estimates are close to those from ordinary least squares? In any application of instrumental-variables estimators, coefficient estimates can be close to ordinary least squares either by chance or if the instruments are highly correlated with the endogenous regressors. The same is true of constructed instruments. 4. Can the estimator be used with more than one endogenous regressor? Conditions for validity of the estimator have been proven for one endogenous regressor. The estimator may be valid with multiple endogenous regressors, but the exact conditions required for validity in that case have not been shown. 5. Can I use functions of the constructed instruments as additional instruments? No. The ε
1 errors are uncorrelated with the constructed instruments but may not be conditionally mean zero conditioning on the instruments. This means that unless you make additional strong assumptions, you cannot, for example, use squares of the constructed instruments or interactions of the constructed instruments with exogenous regressors as additional instruments. 6. Can I use the constructed instruments to estimate local average treatment effects? No, except under very strong conditions. The method does not construct instruments designed to satisfy the assumptions for local average treatment-effects estimation. It constructs instruments in the traditional structural model sense, where linear model coefficients are fixed constants. This means that if the endogenous regressor is a measure of treatment, then the constructed instrument is valid for estimating a treatment effect only if the treatment effect is homogeneous, that is, the same for everyone in the population. 7. What if I have additional instruments? This is the best-case scenario because those external instruments can be used along with the constructed instruments in the second step of the estimator (as discussed earlier). In particular, one of the best uses of the constructed instruments is to provide overidentifying information for model tests and robustness checks. For example, one could apply the overidentification tests discussed in the previous sections to estimates based on both constructed and external instruments. If validity is rejected, then either the model is misspecified or at least one of these instruments is invalid. If validity is not rejected, it is still possible that the model is wrong or the instruments are invalid, but one would at least have increased confidence that both the external and constructed instruments are valid. More informally, one might simply compare the estimated coefficients based on constructed instruments with those based on external instruments.
3
If they are numerically similar, that increases confidence in the robustness of the model because the two estimators based on very different identifying assumptions are yielding similar results. More generally, identification based on constructed instruments is preferably not used in isolation but rather is ideally used in conjunction with other means of obtaining identification, both as a way to check robustness of results to alternative identifying assumptions and to increase estimation efficiency.
7 Conclusions
In the few years since the heteroskedasticity-based estimator was proposed, it has been cited more than 500 times according to Google Scholar. But as with any identification method that is based largely on structure and functional form, one must be cautious about interpreting the results. This article should help ensure that the estimator is applied appropriately.
