Two-stage Least Squares with Clustered Data under the Local Average Treatment Effect Framework
This paper analyzes the trade-offs between canonical two-stage least squares (2SLS) and two-stage least squares with fixed effects (2SFE) for estimating causal effects in clustered data under the Local Average Treatment Effect (LATE) framework, demonstrating that while both methods yield valid inference in homogeneous clusters, 2SFE identifies a weighted average of cluster-specific LATEs in heterogeneous settings and is proposed with a test for detecting such heterogeneity.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are a detective trying to figure out if a new fertilizer (the Treatment) actually makes crops grow bigger. But there's a problem: farmers who choose to use the fertilizer might also be the ones who are already better at farming. This makes it hard to tell if the bigger crops are from the fertilizer or just from the farmers' skill. This is called endogeneity.
To solve this, you use a "magic trick" called an Instrumental Variable (IV). Let's say you randomly give some farmers a coupon for the fertilizer (the IV). Since the coupon is random, it breaks the link between skill and fertilizer use. You can now see if the coupon leads to bigger crops, and then infer if the fertilizer itself works.
Now, imagine your data isn't just a list of individual farmers. It's grouped. You have data from 100 different villages (these are your Clusters). Farmers in the same village share the same soil, weather, and local market conditions.
This paper is about two different ways to analyze this village data to find the truth.
The Two Detectives: 2SLS vs. 2SFE
The paper compares two methods the detective can use:
1. The "Big Picture" Detective (Canonical 2SLS)
This detective looks at all the farmers across all villages as one giant group.
- How they work: They run a standard calculation to see if the coupon leads to bigger crops.
- The Catch: They know the villages are different, so they use a special "safety net" (Cluster-Robust Standard Errors) to make sure their confidence intervals are wide enough to account for village differences.
- The Flaw: They ignore the specific details of each village when calculating the answer. They treat the village differences as just "noise" to be corrected later.
2. The "Local Expert" Detective (2SLS with Fixed Effects / 2SFE)
This detective is obsessed with the villages.
- How they work: They put a "name tag" on every single village in their calculation. They essentially ask: "Within this specific village, did the coupon help?" and then they average those village-specific answers.
- The Benefit: They use the village differences to help calculate the answer directly. If Village A has great soil and Village B has poor soil, this method accounts for that immediately.
- The Flaw: They can only work if the "coupon" (IV) and the "fertilizer use" (Treatment) actually vary inside the villages. If every farmer in a village got a coupon or no one did, this detective is stuck.
The Big Question: Which Detective is Better?
The authors ran simulations and math to see when to use which detective. Here is the simple breakdown:
Scenario A: The Villages are Basically the Same (Homogeneous)
Imagine all 100 villages have similar soil, weather, and farmer skills.
- Verdict: Both detectives will give you the correct answer in the long run.
- Efficiency: The "Local Expert" (2SFE) is usually faster and more precise, but only if the coupons were distributed somewhat randomly within the villages. If the coupons were distributed in a weird, clustered way, the "Big Picture" detective might actually be better.
- The Twist: If you have extra information about the villages (like "average rainfall"), the "Big Picture" detective can use that info to get a better answer. The "Local Expert" detective throws that info away because they already used the village name tags.
Scenario B: The Villages are Very Different (Heterogeneous)
Imagine Village A is in a desert, Village B is in a rainforest, and Village C is on a volcano. The effect of the fertilizer might be totally different in each place.
- The "Big Picture" Detective (2SLS): This detective gets confused. They might give you an answer that doesn't mean anything real. It's like averaging the temperature of a desert and an ice cube and saying "It's room temperature." The math breaks down, and the result isn't a true causal effect.
- The "Local Expert" Detective (2SFE): This detective shines. They calculate the effect within each village and then average them up. They give you a clear, weighted average of the true effects in each village. Their answer is interpretable and trustworthy.
The "Heterogeneity Test" (The Lie Detector)
The authors didn't just tell you which to pick; they built a Lie Detector Test.
- They realized that if the villages are different, the two detectives will give you different answers.
- They created a statistical test to compare the two results.
- How it works: If the two detectives agree, the villages are probably similar (Homogeneous), and you can use the simpler method. If the two detectives disagree significantly, it's a sign that the villages are very different (Heterogeneous). In that case, you should trust the "Local Expert" (2SFE) and ignore the "Big Picture" one.
The Real-World Example: Microcredit in Morocco
The paper tested this on a real study about micro-loans in Morocco.
- They looked at households in different villages.
- They used the "Lie Detector Test."
- Result: The test said, "Hey, these villages aren't that different!" (The p-value was high).
- Conclusion: In this specific case, the simpler "Big Picture" method worked fine, but adding extra data (like household size) made the answer even sharper.
Summary in One Sentence
If your groups (villages, schools, hospitals) are all roughly the same, you can use the simple method, but if they are very different, you must use the "Fixed Effects" method to get a true answer, and the authors gave you a tool to check which situation you are in.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.