Essays on macroeconomic forecasting