The role of learning in asset pricing