Description Usage Arguments Details Value
View source: R/macro_gen_atomic_preds.R
Generates a notebook of atomic predictive densities and means.
1 | gen_atomic_preds(model_list, agc = list(5, 60, FALSE, 1))
|
model_list |
List of names of the atomic models to use. |
agc |
List of atomic prediction generation controllers with four elements:
|
Function to generate the atomic predictions (that is the predictions of the individual models, not of aggregation schemes) for the macrodata example. Essentialy a list of potential models to include that the user selects from. Also contains some global settings that always should be the same between models, such as estimation window length, starting time, and which data set to use.
A data frame of atomic predictions with columns
pmean
, the predictive mean for time t (made at t-1)
lpdens
, the log predictive density for time t
(made at t - 1)
method
, which model made the prediction
t
, timepoint
ytrue
, true value of the response at time t
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.