Rdocumentation
powered by
Learn R Programming
SpatialEpi (version 1.2.1)
coeff: Compute log Bayes Factors
Description
Compute log Bayes Factors for each single zone based on observed and expected counts from
n
areas
Usage
coeff(y_vector, E_vector, a_values, b_values, cluster_list)
Arguments
y_vector
Vector of length n of cases
E_vector
Vector of length n of expected cases
a_values
Vector of length 2 of shape parameters (wide, narrow)
b_values
Vector of length 2 of rate parameters
cluster_list
Output of
create_geo_objects
: list of length
n.zones
listing, for each single zone, its component areas
Value
Vector of length
n.zones
with log Bayes Factor for each single zone.
References
Wakefield J. and Kim A.Y. (2013) A Bayesian model for cluster detection.
Biostatistics
,
14
, 752--765.