A medium-N approach to macroeconomic forecasting