How To Control For Endogeneity