lgcpPredictAggregateSpatialPlusPars(formula, spdf, Zmat = NULL, overlayInZmat = FALSE, model.priors, model.inits = lgcpInits(), spatial.covmodel, cellwidth = NULL, poisson.offset = NULL, mcmc.control, output.control = setoutput(), gradtrunc = Inf, ext = 2, Nfreq = 101, inclusion = "touching")In this case, we OBSERVE case counts in the regions of a SpatialPolygonsDataFrame; the counts are stored as a variable, X. The model for the UNOBSERVED data, X(s), is as follows:
X(s) ~ Poisson[R(s)]
R(s) = C_A lambda(s) exp[Z(s)beta+Y(s)]
Here X(s) is the number of events in the cell of the computational grid containing s, R(s) is the Poisson rate, C_A is the cell area, lambda(s) is a known offset, Z(s) is a vector of measured covariates and Y(s) is the latent Gaussian process on the computational grid. The other parameters in the model are beta, the covariate effects; and eta=[log(sigma),log(phi)], the parameters of the process Y on an appropriately transformed (in this case log) scale.
We recommend the user takes the following steps before running this method: