amis | R Documentation |
For details of the algorithm, see Integrating geostatistical maps and infectious disease transmission models using adaptive multiple importance sampling. Renata Retkute, Panayiota Touloupou, Maria-Gloria Basanez, T. Deirdre Hollingsworth, Simon E.F. Spencer Ann. Appl. Stat. 15 (4) 1980 - 1998, December 2021. DOI: https://doi.org/10.1214/21-AOAS1486
amis(prevalence_map, transmission_model, prior, amis_params, seed = NULL)
prevalence_map |
An L x M matrix containing samples from the fitted prevalence map, where L is the number of locations and M the number of samples.
The location names are inherited from |
transmission_model |
A function taking a vector of n seeds and an n x d matrix of parameter vectors as inputs and producing a n x timepoints MATRIX of prevalences as output (it must be a matrix even when timepoints==1). |
prior |
A list containing the functions |
amis_params |
A list containing the control parameters for the AMIS algorithm
|
seed |
Optional seed for the random number generator |
A dataframe of the sampled parameters, simulation seed, and weight in each location.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.