Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

process_MCMC_sample

Process MCMC Sample


Description

Take the output of sampled configurations from MCMC_simulation and produce area-by-area summaries

Usage

process_MCMC_sample(sample, param, RR.area, cluster.list, cutoffs)

Arguments

sample

list objects of sampled configurations

param

mean relative risk associted with each of the n.zones single zones considering the wide prior

RR.area

mean relative risk associated with each of the n areas considering the narrow prior

cluster.list

list of length n.zones listing, for each single zone, its component areas

cutoffs

cutoffs used to declare highs (clusters) and lows (anti-clusters)

Value

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

References

Wakefield J. and Kim A.Y. (2013) A Bayesian model for cluster detection. Biostatistics, 14, 752–765.

See Also


SpatialEpi

Methods and Data for Spatial Epidemiology

v1.2.3
GPL-2
Authors
Cici Chen [ctb], Albert Y. Kim [aut, cre], Michelle Ross [ctb], Jon Wakefield [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.