Generate twin study data for returns to education.
Inspired by Ashenfelter & Krueger (1994). Each twin pair shares an unobserved ability component. The true return to education is 0.08 log-points per year; naive OLS is biased upward because ability is correlated with both education and wages.
Parameters
Name
Type
Description
Default
N_pairs
int
Number of twin pairs. Total observations = 2 * N_pairs.