When I try to use the particle_filter$new() to configure the filter, there is no options for incorporating the contact data (i.e. m = transmission) into the particle_filter$new() so that the inference of paramters can't be run by mcstate::pmcmc().
Is there a way to incorporate it into the particle_filter? Is it mean that I should try the pmcmc method using other package but not mcstate?
Like the codes showed in the description of SIR models with age structure:
model <- gen_age$new(pars = list(dt = dt, S_ini = contact$demography$population, I_ini = c(0, 10, 0, 0, 0, 0, 0, 0), beta = 0.2 / 12.11, gamma = 0.1, m = transmission, N_age = N_age), time = 1, n_particles = n_particles, n_threads = 1L, seed = 1L)
When I try to use the particle_filter$new() to configure the filter, there is no options for incorporating the contact data (i.e. m = transmission) into the particle_filter$new() so that the inference of paramters can't be run by mcstate::pmcmc().
Is there a way to incorporate it into the particle_filter? Is it mean that I should try the pmcmc method using other package but not mcstate?