Essays in Rational and Behavioral Learning