Description Usage Arguments Value Author(s) References See Also

MCMC simulation to estimate prior and posterior quantities by sampling configurations.

1 2 | ```
MCMC_simulation(n_sim, pattern, theta_init, overlap, cluster_coords,
p_moves_orig, J, lkhd_z, lambda)
``` |

`n_sim` |
number of MCMC iterations |

`pattern` |
alternating pattern between unif and prop prior on single zones |

`theta_init` |
initial configuration |

`overlap` |
output of |

`cluster_coords` |
output of |

`p_moves_orig` |
probability of sampling each of the 5 possible moves to explore sample space |

`J` |
maximum number of clusters/anti-clusters to consider |

`lkhd_z` |
values associated with each single zone to use in Metropolis-Hastings ratio |

`lambda` |
lambda from definition of prior on single zones |

`sample` |
sampled configurations |

`move_trace` |
trace of moves (1 = growth, 2 = trim, 3 = recenter, 4 = death, 5 = birth) |

`accpt_trace` |
trace of acceptance (0 = not accepted) |

`ratio_trace` |
trace of Metropolis-Hastings ratio |

Albert Y. Kim

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

`create_geo_objects`

, `process_MCMC_sample`

SpatialEpi documentation built on May 30, 2017, 5:23 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.