Component bridges: GDP nowcast from its components (GDPNow style)¶
In the app: Help → Help contents, Component bridges: GDP nowcast from its components (GDPNow style).
The Atlanta Fed's GDPNow nowcasts GDP bottom up: each expenditure component (consumption, business and housing investment, government, exports and imports, inventories) from its own monthly source data, then added up as the national accounts add them. ComponentBridge does the same with any of pymetrix's nowcasting models:
ComponentBridge({"gc": Bridge("gc ~ gr + gemp"), "gi": Bridge("gi ~ gip + pmi"), "gg": Bridge("gg ~ gemp")},
levels={"gc": "c", "gi": "i", "gg": "g"}, name="gy")
Each key is a component's quarterly growth series, each value its model (a bridge equation, MIDAS, a dynamic factor model, a quantile bridge or targeted predictors), fitted and nowcast exactly as it would be alone. Levels are the components' nominal level series: their shares in the quarter before weight the components.
Nominal shares (the default) add up the shares times the components' growth rates: the growth of a chained Laspeyres index, exact for simple growth rates and, for log growth rates (400*dlog), short of it by half the shares' variance of the components' growth divided by 400 (0.005 points when two equal components grow 4 points apart). Chained contributions (aggregation="chained") build the BEA's Fisher index from the previous quarter's levels, the components' growth and, if given, their deflators' changes, and split its growth by the BEA's formula for contributions to percent change: the contributions add up to the aggregate exactly. Without deflators (or with all prices moving together) the two agree exactly for simple growth rates. What is approximate is the aggregation itself: the Fisher index of a few components, not of the BEA's hundreds of detailed series. A quarter whose previous quarter's levels are not yet published has them rolled forward by the components' nowcasts.
The band combines the components' standard errors (each model's nowcast_density) through the aggregate's derivatives with respect to them and the correlation of their errors: estimated from the models' residuals (the default), assumed (correlation=0.3 for every pair), or estimated from a backtest of the component bridge (correlation=backtest, its component_errors()).
nowcast_backtest scores the aggregate, and each component (component_scores, component_errors), day by day; nowcast_tracking splits each day's change in the aggregate by component, the change in its contribution, and within each component by release: a dynamic factor model's news figure by figure (by groups of series, or a release calendar's releases), any other model's new data, re-estimation, its own figure once published, and the change in its share. The parts add up to the change exactly (within(component) gives one component's parts).
In the app, Estimate → Mixed frequency: fit each component's model, then Component bridge (GDPNow style)…, with the components written as component: model, e.g. gc: c_bridge; gi: i_bridge; gg: g_bridge; then Next ▸ Component nowcast…, Nowcast backtest by release day… or Track a nowcast….
See also¶
- Nowcasting and the ragged edge
- Quantile nowcasts, targeted predictors, weekly data and the mixed-frequency BVAR
- Nowcast backtests and tracking
References¶
- Higgins, P. (2014). GDPNow: a model for GDP 'nowcasting'. Federal Reserve Bank of Atlanta Working Paper 2014-7. (search)
- Reinsdorf, M. B., Diewert, W. E. and Ehemann, C. (2002). Additive decompositions for Fisher, Törnqvist and geometric mean indexes. Journal of Economic and Social Measurement 28(1-2), 51-61. (search)
- Whelan, K. (2002). A guide to U.S. chain aggregated NIPA data. Review of Income and Wealth 48(2), 217-233. doi:10.1111/1475-4991.00049
- Baffigi, A., Golinelli, R. and Parigi, G. (2004). Bridge models to forecast the euro area GDP. International Journal of Forecasting 20(3), 447-460. doi:10.1016/S0169-2070(03)00067-0