Open whzhuscu opened 5 months ago
If I use the Stochastic SIR model in MCMC (https://mrc-ide.github.io/mcstate/articles/continuous.html), there is error.
filter <- mcstate::particle_deterministic$new(data = sir_data, model = sir,
index = index, compare = NULL)
filter$run(save_history = TRUE, pars = list())
ERROR: Expected single double value
And the model is this:
gen_sir <- dust::dust_example("sir")
Sorry, this may be a stupid question, but could this package (mcstate) implement MCMC instead of PMCMC?