Description Usage Arguments Value

Simulate predictive distributions from KCDE/copulas model; suitable for use
as the `simulate_trajectories_function`

argument to
`get_log_scores_via_trajectory_simulation`

.

1 2 | ```
simulate_trajectories_kcde(n_sims, max_prediction_horizon, data, region,
analysis_time_season, analysis_time_season_week, params)
``` |

`n_sims` |
number of trajectories to simulate |

`max_prediction_horizon` |
how many steps ahead to simulate |

`data` |
data set |

`region` |
region |

`analysis_time_season` |
season in which we're predicting |

`analysis_time_season_week` |
week of the season in which we're making our predictions, using all data up to the analysis time to make predictions for later time points |

`params` |
other parameters. A list with the following entries: * n_kcde_sims = number of simulations from kcde predictive distributions; this is different from number of predictive trajectories * copula_save_path = path to directory where copula fits are stored * estimation_results_path = path to directory where kcde fits are stored * max_lag = character giving maximum lag value used in kcde fits * seasonality = logical giving whether a seasonal kernel was used in kcde * bw_parameterization = string giving parameterization of bandwidth in kcde fit * last_analysis_time_season_week = 41 |

an n_sims by h matrix with simulated values

reichlab/2017-2018-cdc-flu-contest documentation built on Sept. 25, 2018, 3:24 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.