Description Usage Arguments Value
View source: R/abc_worm_estimation_functions.R
Generate data from parameter posterior distributions and compare to observed
1 | post_pred_data_gen(posteriors, fixed_pars, n_ppl, data_gen_fx)
|
posteriors |
Matrix of posteriors |
fixed_pars |
vector of parameters needed for data generation but not drawn from posterior distribution |
n_ppl |
number of people in community to generate data for |
data_gen_fx |
data generation function (e.g. gen_case1_data; see above) |
matrix with dim n_reps by number of summary statistics (3 for this analysis)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.