Essays on macroeconomics and forecasting