process_MCMC_sample: Process MCMC Sample

View source: R/process_MCMC_sample.R

process_MCMC_sampleR Documentation

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.


SpatialEpi documentation built on March 7, 2023, 8 p.m.