# process_MCMC_sample

From SpatialEpi v1.2.3
by Albert Kim

##### Process MCMC Sample

Take the output of sampled configurations from `MCMC_simulation`

and produce area-by-area summaries

- Keywords
- internal

##### 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

Probability of cluster membership for each area

Probability of anti-cluster membership for each 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

*Documentation reproduced from package SpatialEpi, version 1.2.3, License: GPL-2*

### Community examples

Looks like there are no examples yet.