View source: R/process_MCMC_sample.R
process_MCMC_sample | R Documentation |
Take the output of sampled configurations from MCMC_simulation
and produce area-by-area summaries
process_MCMC_sample(sample, param, RR.area, cluster.list, cutoffs)
sample |
list objects of sampled configurations |
param |
mean relative risk associted with each of the |
RR.area |
mean relative risk associated with each of the |
cluster.list |
list of length |
cutoffs |
cutoffs used to declare highs (clusters) and lows (anti-clusters) |
high.area |
Probability of cluster membership for each area |
low.area |
Probability of anti-cluster membership for each area |
RR.est.area |
Smoothed relative risk estimates for each area |
Wakefield J. and Kim A.Y. (2013) A Bayesian model for cluster detection. Biostatistics, 14, 752–765.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.