Что такое инструментальная переменная?


36

Инструментальные переменные становятся все более распространенными в прикладной экономике и статистике. Для непосвященных, можем ли мы дать некоторые нетехнические ответы на следующие вопросы:

  1. Что такое инструментальная переменная?
  2. Когда можно использовать инструментальную переменную?
  3. Как найти или выбрать инструментальную переменную?

4
Don't you think that the Wikipedia article about it is enough?

1
Questions such as this require a wiki / blog post type of response. I do think questions should not require such long answers.

I'm not sure the right thing to do is to simply ignore this question and refer the asker to the wiki - especially during beta where we are trying to build up the content of the site. Perhaps the question asker should submit each of these questions individually so that they can be better addressed.
russellpierce

3
@mbq - the wikipedia example hardly qualifies as nontechnical. It's very reliant on jargon and equations.
rolando2

1
It HAS become common in economics some time in the 1980s. Some biostaticians have heard of it, too, and apply it in the context of measurement error models, where instruments are narrowly thought of as additional available measurements. They qualify as instruments within the broader econometric context: they are correlated with the variable of interest, and they are uncorrelated with its measurement error.
StasK

Ответы:


41

[Следующее, возможно, кажется немного техническим из-за использования уравнений, но оно основано главным образом на стрелочных диаграммах, чтобы обеспечить интуицию, которая требует только очень элементарного понимания OLS - так что не отталкивайтесь.]

xiyiβ

yi=α+βxi+ϵicorr

This might have happened because we forgot to include an important variable that also correlates with xi. This problem is known as omitted variable bias and then your β^ will not give you the causal effect (see here for the details). This is a case when you would want to use an instrument because only then can you find the true causal effect.

An instrument is a new variable zi which is uncorrelated with ϵi, but that correlates well with xi and which only influences yi through xi - so our instrument is what is called "exogenous". It's like in this chart here:

zixiyiϵi

So how do we use this new variable?
Maybe you remember the ANOVA type idea behind regression where you split the total variation of a dependent variable into an explained and an unexplained component. For example, if you regress your xi on the instrument,

xitotal variation=a+πziexplained variation+ηiunexplained variation

then you know that the explained variation here is exogenous to our original equation because it depends on the exogenous variable zi only. So in this sense, we split our xi up into a part that we can claim is certainly exogenous (that's the part that depends on zi) and some unexplained part ηi that keeps all the bad variation which correlates with ϵi. Now we take the exogenous part of this regression, call it xi^,

xi=a+πzigood variation=x^i+ηibad variation

and put this into our original regression:

yi=α+βx^i+ϵi

Now since x^i is not correlated anymore with ϵi (remember, we "filtered out" this part from xi and left it in ηi), we can consistently estimate our β because the instrument has helped us to break the correlation between the explanatory variably and the error. This was one way how you can apply instrumental variables. This method is actually called 2-stage least squares, where our regression of xi on zi is called the "first stage" and the last equation here is called the "second stage".

In terms of our original picture (I leave out the ϵi to not make a mess but remember that it is there!), instead of taking the direct but flawed route between xi to yi we took an intermediate step via x^i

x^izixiyi

Thanks to this slight diversion of our road to the causal effect we were able to consistently estimate β by using the instrument. The cost of this diversion is that instrumental variables models are generally less precise, meaning that they tend to have larger standard errors.

How do we find instruments?
That's not an easy question because you need to make a good case as to why your zi would not be correlated with ϵi - this cannot be tested formally because the true error is unobserved. The main challenge is therefore to come up with something that can be plausibly seen as exogenous such as natural disasters, policy changes, or sometimes you can even run a randomized experiment. The other answers had some very good examples for this so I won't repeat this part.


10
+1 I am grateful finally to read a detailed answer instead of a list of references or links.
whuber

1
Excellent! I explain this to my students more "mnemonically" as: x is poisoned/tainted by unobserved factors in ϵ. The first-stage regression "cleans"/sucks out the venom from x. We can use the "cleaned" version of x to find the causal coefficient, β.
MichaelChirico

Is there an intuitive argument why the 2SLS estimate for β is consistent? When we calculate x^i, we are "filtering out" the part of xi that is correlated with the error, but why should it be that the filtering out doesn't change xi in a way that changes our estimate for β?
user35734

See here: stats.stackexchange.com/questions/64279/… or you may want to ask a new question. Hope this helps.
Andy

@user35734 it's not consistent but asymptotically consistent.
Vim

17

As a medical statistician with no previous knowledge of econom(etr)ics, I struggled to get to grips with instrumental variables as I often struggled to follow their examples and didn't understand their rather different terminology (e.g. 'endogeneity', 'reduced form', 'structural equation', 'omitted variables'). Here's a few references I found useful (the first should be freely available, but I'm afraid the others probably require a subscription):

I'd also recommend chapter 4 of:



7

Non-technical (usually that's all I'm good for anyway): There are times when not only does X cause Y, but Y causes X as well. An instrumental variable is a device that can "clean up" this messy, inconvenient relationship so that the best estimates can be made of X's effect on Y.

The instrumental variable is chosen by virtue of its relationships: it is a cause of X, but, other than acting through X, it has no effect on Y. The instrument (or instruments) is used in Stage One to compute a new "version" of X, one that is in no way a function of Y. This new "predicted" X is then used in a second stage, in a more standard regression, to explain/predict Y. Hence the term Two-Stage Least Squares regression.

One typically finds the IV in processes that are overriding or beyond the control of X OR Y, such as variables that depend on laws, policies, acts of nature, etc.

Используя наш сайт, вы подтверждаете, что прочитали и поняли нашу Политику в отношении файлов cookie и Политику конфиденциальности.
Licensed under cc by-sa 3.0 with attribution required.