Essays on Econometrics and Rational Choice