Dealing With and Understanding Endogeneity