simulate_trajectories_kcde: Simulate predictive distributions from KCDE/copulas model;...

Description Usage Arguments Value

Description

Simulate predictive distributions from KCDE/copulas model; suitable for use as the simulate_trajectories_function argument to get_log_scores_via_trajectory_simulation.

Usage

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

Arguments

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

Value

an n_sims by h matrix with simulated values


reichlab/2018-2019-cdc-flu-contest documentation built on May 24, 2019, 7:36 a.m.