phi: scale parameter for exponential covariance function
scale: scaling parameter for the prior variance of the national average estimate
maxiter: maximum number of iterations in the Gibbs sampler
burn: number of iterations to discard
a0: parameter for Gamma prior on heterogeneity variance
b0: parameter for Gamma prior on heterogeneity variance
Details
This function is used to produce pooled national average estimates of air pollution risks taking into account potential spatial correlation between the risks. The function uses a Markov chain Monte Carlo sampler to produce the posterior distribution of the national average estimate and the heterogeneity variance. See the reference below for more details.
References
Peng RD, Dominic F (2008). Statistical Methods for Environmental Epidemiology in R: A Case Study in Air Pollution and Health, Springer.