Learning and Expectations in Macroeconomics