Essays On Referral Programs And Preference Estimation