Description Usage Arguments Value
given and old and new dataset, will calculate the impact data releases and revisions have on the estimate of a target variable.
1 | gen_news(old_y, new_y, output_dfm, target_variable, target_period)
|
old_y |
dataframe of variables, size (n_obs, n_variables). Must include in 1st column a series of type date, called "date", all data already stationary. |
new_y |
dataframe of variables, size (n_obs, n_variables). Must include in 1st column a series of type date, called "date", all data already stationary. Must contain same columns as old_y. |
output_dfm |
list, the output of the |
target_variable |
name of the target column. |
target_period |
date of forecast to view impacts on. |
A list
containing the following elements:
target_period |
same as input. |
target_variable |
same as input. |
y_old |
forecast for target variable with old data. |
y_new |
forecast for target variable with new data. |
forecast |
forecast of variables for target period. Only shows for variables that were newly published between old and new dataset. |
actual |
actual published value of variables for target period. Only shows for variables that were newly published between old and new dataset. |
weight |
weight of each data release |
news_table |
table summarising forecast, actual, weight and impact of data releases |
impact_revisions |
impact of data revisions on nowcast. |
impact_releases |
impact of data releases on nowcast. |
impact_total |
total impact (from data revision and data releases). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.