Nowcast backtests and tracking¶
In the app: Help → Help contents, Nowcast backtests and tracking.
A nowcasting model is judged by how it would have done in real time, and its nowcast is followed through the quarter as the figures come out. Both rebuild the data as they were known on each day from each series' publication lag (as in Data as known on a day…): a series made from others (400*dlog(y)) is published when they are.
Estimate → Mixed frequency → Nowcast backtest by release day… nowcasts each quarter in a range on days around its end (from Days before to Days after, every so many days), re-estimating the model on each day's data or keeping its parameters between re-estimations. A day before the quarter starts gives a forecast, one inside it a nowcast, one after it, before the official figure, a backcast. Errors are grouped by days from the quarter's end: their RMSE should fall as the quarter's data arrive, and the gain over a benchmark (an autoregression of the quarterly series, or its mean) is tested by Diebold and Mariano at each horizon (Harvey, Leybourne and Newbold's version; the errors at one horizon are a quarter apart). The data are not revised, so this is a pseudo-real-time evaluation: real-time data would give larger errors. With few quarters the tests have little power.
Estimate → Mixed frequency → Track a nowcast… follows one quarter's nowcast day by day. A dynamic factor model's change between two days is the news of the figures published in between, each figure's surprise (the figure less what the model expected) times its weight; chaining the news from day to day gives the classic tracking chart, the nowcast as steps over bars of each day's news by series, or by groups of series (surveys, real activity...). Revisions to earlier figures and, on days the model is re-estimated, the new parameters move the nowcast too, and are shown apart; the parts add up to the change exactly. Keep the parameters fixed (estimated once) to read every change as news. A bridge equation or a MIDAS regression has no figure-by-figure news: its change is split into new data and re-estimation.
The window's News flow is the chart central banks publish with their nowcasts: the nowcast as a step line, one step on each day the data changed, over bars of each day's change by group (each series alone when no group names it), positive above zero and negative below, the eight largest parts apart and the rest as other, so the bars of a day always add up to its step; the outturn is dashed once it is known. News flow by indicator and News flow by kind split the same changes by series, and into news, revisions and re-estimation. Waterfall goes from the first nowcast to the last, each part's total a floating bar starting where the one before it ends, and Contributions table gives the numbers day by day, with the part that moved the nowcast most and the series released. In code: plot_news_flow(by="indicator"), plot_waterfall() and contributions_table().
Both dialogs take, under Advanced, a Release calendar (dating each figure by its actual release instead of a fixed lag; tracking then adds up the news of series in no group by release, and with Every 0 days it nowcasts on the calendar's release days) and Weekly data (weekly or daily series made monthly on each day, with the month so far, beside the monthly indicators). The backtest also takes Vintages, tables of vintages one per series, which make it a real-time evaluation, and Score against: the latest data, or each quarter's first or a chosen release, read from the vintages (so it needs them).
See also¶
- Nowcasting and the ragged edge
- MIDAS: mixed-frequency regression
- The forecast workflow
- Real-time data: masks, release calendars and vintages
References¶
- Bańbura, M. and Modugno, M. (2014). Maximum likelihood estimation of factor models on datasets with arbitrary pattern of missing data. Journal of Applied Econometrics 29(1), 133-160. doi:10.1002/jae.2306
- Giannone, D., Reichlin, L. and Small, D. (2008). Nowcasting: the real-time informational content of macroeconomic data. Journal of Monetary Economics 55(4), 665-676. doi:10.1016/j.jmoneco.2008.05.010
- Bok, B., Caratelli, D., Giannone, D., Sbordone, A. M. and Tambalotti, A. (2018). Macroeconomic nowcasting and forecasting with big data. Annual Review of Economics 10, 615-643. doi:10.1146/annurev-economics-080217-053214
- Diebold, F. X. and Mariano, R. S. (1995). Comparing predictive accuracy. Journal of Business and Economic Statistics 13(3), 253-263. (search)