srlanalytics / bdfm

Bayesian dynamic factor model estimation and predictive statistics including nowcasting and forecasting
MIT License
5 stars 6 forks source link

Nowcasting and "news" content of variables #47

Closed srlanalytics closed 5 years ago

srlanalytics commented 5 years ago

The gain_and_fit branch has been modified so that:

@christophsax --- idx_update and forecast_update are lists. Right now individual elements can only be accessed by index (i.e. est$idx_update[[460]]). If input data are ts_boxable() it would be nice to be able to call these results by date (i.e. what was the contribution of each series to the nowcast on 2018-03-31?). Any ideas on the best way to do this?

christophsax commented 5 years ago

m$idx_update is now a multiple time series and can be accessed, e.g., by:

window(m$idx_update, start = c(2018, 12), end = c(2018, 12))

Adjusted example in us_gdp.R.

christophsax commented 5 years ago

We should include a section on this in the vignette, this seems important.

christophsax commented 5 years ago

Has a section now, 'Forecast Updates', including a nice ggplot