Essays On The Econometric Analysis Of Treatment Assignment Rules And Altruistic Preferences