run_deterministic_comparison | R Documentation |
Create a deterministic model and compare to data
run_deterministic_comparison( data, squire_model, model_params, model_start_date = "2020-02-02", obs_params = list(phi_cases = 0.1, k_cases = 2, phi_death = 1, k_death = 2, exp_noise = 1e+06), forecast_days = 0, save_history = FALSE, return = "ll" )
data |
to fit to. |
squire_model |
A squire model to use |
model_params |
Squire model parameters. Created from a call to one of
the |
model_start_date |
Date to run model simulations from |
obs_params |
List of parameters used for comparing model to data |
forecast_days |
Days ahead to include in output |
save_history |
Whether to save full history. Default = FALSE |
return |
Set return depending on what is needed. 'full' and "sample" gives the entire output, 'll' gives the log-likelihood |
Results from particle filter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.