What is the causal effect of local bank credit supply on county employment growth?
This maps naturally to the real economy:
if banks pull back credit supply, local firms may hire less
if banks expand credit supply, local employment may grow faster
The problem is that observed local credit growth is not pure supply.
Why OLS is biased
Suppose a county is booming.
firms want to borrow more
banks lend more
employment rises
Then observed credit growth and employment growth move together even if the true causal effect of credit supply is smaller than the raw correlation suggests.
That is the core endogeneity problem:
Local demand affects both the regressor and the outcome.
If demand also affects employment growth, then regressing employment growth on observed credit growth mixes:
the effect of credit supply
the effect of local demand
That is why the OLS coefficient cannot be interpreted mechanically as causal.
Endogeneity: the core problem
An endogenous regressor is a regressor that is correlated with the error term in the outcome equation.
In this application, observed_credit_growth is endogenous because it reflects both:
changes in local bank credit supply
changes in local credit demand
If local demand is omitted from the regression but still affects employment growth, then the regressor is correlated with the omitted component of the outcome equation. That is the precise sense in which OLS is biased.
This is why the issue is not that OLS is “bad” in general. The issue is that OLS needs variation in the regressor that is not contaminated by omitted determinants of the outcome.
The IV idea in this TA
We use an instrument based on counties’ exposure to banks that were more fragile when a common rate shock hit.
The economic story is:
some counties are more exposed to fragile banks
the common rate shock hits fragile banks harder
those counties experience a worse local credit-supply shock
So the instrument is designed to generate plausibly exogenous variation in local credit growth.
What an instrumental variable is
An instrumental variable is a variable Z that helps us isolate the part of an endogenous regressor X that is plausibly unrelated to the omitted confounders in the outcome equation.
In this TA:
X = observed_credit_growth
Y = employment_growth
Z = instrument_z
When do we use IV?
IV is useful when the regressor of interest is endogenous and we do not trust the identifying variation used by OLS.
Typical reasons a regressor may be endogenous include:
omitted variables: some unobserved factor affects both X and Y
reverse causality: Y may also affect X
measurement error: the regressor is measured with error
IV is one way to replace contaminated variation in X with a cleaner source of variation coming from Z.
So the question is not:
“Should we use IV because it is more advanced?”
The right question is:
“Do we have a believable source of exogenous variation that can isolate the part of X we care about?”
What makes a good instrument?
A good instrument is not just something correlated with X. It must also be economically interpretable.
In practice, a persuasive instrument usually has:
a clear economic story for why it moves X
a clear argument for why it does not directly move Y
timing or institutional structure that makes the variation believable
enough variation to generate a non-trivial first stage
This is why good IV designs are hard to find. The challenge is usually not running 2SLS. The challenge is defending the instrument.
An ideal instrument must satisfy two conditions:
1. Relevance
The instrument must move the endogenous regressor.
Here that means:
Counties with greater exposure to fragile banks should experience different local credit growth when the common rate shock hits.
2. Exclusion
The instrument should affect the outcome only through the endogenous regressor.
Here that means:
Exposure to fragile banks should affect county employment growth only because it changes local credit supply, not because it directly changes county employment through some other channel.
What IV is not
It is important to be clear about what IV does not do.
IV is not:
a generic fix for every bad regression
a way to avoid thinking carefully about economics
a method that automatically guarantees causality once the first stage is significant
IV only helps if the instrument is both relevant and excludable. If the economic story behind the instrument is weak, 2SLS does not rescue the design.
Why fixed effects are not enough here
County fixed effects absorb time-invariant county characteristics such as persistent industrial composition or geography. Year fixed effects absorb common aggregate shocks.
But neither of those fully solves the central problem if counties still experience time-varying local demand shocks. If a county has an especially strong local boom in a given year, that can still increase both lending and employment at the same time.
So fixed effects help, but they do not by themselves produce a clean credit-supply estimate.
Interpretation
The instrument is not “credit growth itself.” It is a source of variation that shifts credit growth for reasons tied to bank fragility rather than county demand.
IV versus other identification strategies
It is useful to compare IV to the methods we have already seen or will see later:
Fixed effects remove time-invariant omitted variables, but not all time-varying confounders.
Event studies use sharply timed information shocks and price reactions.
Difference-in-differences compares treated and untreated units over time under a parallel-trends assumption.
RDD uses local quasi-random variation around a threshold.
IV uses an outside source of variation that shifts the endogenous regressor.
So IV is not “better” than every other design. It answers a different identification problem. We use it when the key challenge is that the regressor is endogenous, but we have a plausible external shifter.
What IV is doing conceptually
The IV design breaks into three parts:
First stage: does the instrument move local credit growth?
Reduced form: does the instrument move employment growth?
2SLS: what is the effect of the instrument-induced part of credit growth on employment growth?
This is the order we follow in the code and in the results below.
It is useful to think of IV as a two-step logic:
first, isolate the part of credit growth that comes from the instrument
second, ask what that isolated component does to employment growth
So 2SLS does not use all variation in credit growth. It uses only the variation in credit growth that is explained by the instrument.
Another way to say this is:
OLS asks: what happens to Y when X changes for any reason?
IV asks: what happens to Y when X changes for the specific reason captured by Z?
That is why IV estimates can differ from OLS estimates even when both are statistically precise.
The three key equations
It is useful to write the design in equation form.
This is not just a computational trick. It shows the intuition:
how much does the instrument move the outcome?
how much does the instrument move the endogenous regressor?
the ratio tells us how much the outcome changes per unit of instrument-induced movement in the regressor
This ratio intuition helps explain why the first stage matters so much.
What is testable and what is not
Some parts of an IV design can be checked directly in the data, and some cannot.
Things we can partially check
whether the first stage is strong enough to be meaningful
whether the sign of the reduced form is economically sensible
whether results are stable across specifications
Things we cannot directly prove from the data
the exclusion restriction
The exclusion restriction is ultimately an economic argument, not a purely statistical result. That is why the interpretation of the instrument matters so much.
Common mistakes in IV reasoning
Students often make a few predictable mistakes when first learning IV:
Mistake 1: “A significant first stage proves the instrument is valid.”
No. A significant first stage only helps with relevance. It says nothing by itself about exclusion.
Mistake 2: “IV gives the true effect of X on Y.”
Not necessarily. IV gives the effect for the variation in X induced by the instrument, not for every possible source of variation in X.
Mistake 3: “If OLS and IV differ, IV must be right.”
Not automatically. The difference may reflect endogeneity, but it could also reflect a weak or invalid instrument. The economic argument still matters.
Mistake 4: “If fixed effects are included, IV is unnecessary.”
No. Fixed effects and IV solve different problems. Fixed effects absorb some omitted variables; IV replaces the variation in the endogenous regressor with a cleaner source.
Weak instruments
A weak instrument is an instrument that only weakly moves the endogenous regressor.
Why this matters:
the first stage becomes noisy
2SLS estimates become unstable
inference becomes less reliable
So a strong first stage is necessary. However, it is not sufficient: an instrument can be strong and still fail the exclusion restriction.
What 2SLS identifies
The 2SLS estimate is not “the effect of all lending on all counties in all circumstances.”
It is the effect of credit growth for the part of lending that is shifted by the instrument. In IV language, this is a local average treatment effect.
In this TA, the interpretation is:
the effect of local credit supply on employment growth for counties whose lending conditions move because they are more exposed to fragile banks when the common rate shock hits.
This is a more precise and more honest interpretation than saying simply “the effect of lending on employment.”
Time to Code!
We use:
code/04_ta3_iv_credit_supply.R
The script proceeds in the same order as the economic logic:
the effect of local credit growth on employment growth for the part of credit growth that is moved by the instrument.
This is not necessarily the effect of all lending variation. It is the effect for the variation induced by county exposure to fragile banks hit by the common rate shock.
This is the standard local-average-treatment-effect logic behind IV.
Step 7: OLS versus 2SLS
This plot is often the easiest way to summarize the lesson:
OLS uses all observed variation in credit growth
2SLS uses only the variation induced by the instrument
What to take away from this TA
The main lesson is not “IV is more advanced than OLS.” The main lesson is:
When the regressor is endogenous, we need a source of variation that moves the regressor for reasons unrelated to the omitted confounders.
In this application:
OLS is biased because local demand affects both lending and employment
the instrument shifts local credit growth through bank fragility and the common rate shock
2SLS uses that instrument-driven variation to estimate a causal effect