This function performs spatial discrete prediction for a fixed the model parameters at the Monte Carlo maximum likelihood estimates of a SDALGCP model.
SDADiscretePred(
para_est,
control.mcmc = NULL,
divisor = 1,
plot.correlogram = FALSE,
messages = TRUE
)an object of class "SDALGCP" obtained as a result of a call to SDALGCPMCML.
output from controlmcmcSDA, if not provided, it uses the values used for the parameter estimation
optional, if the coordinate of the shapefile is rescaled, default is 1
logical; if plot.correlogram=TRUE the autocorrelation plot of the conditional simulations is displayed.
logical; if messages=TRUE then status messages are printed on the screen (or output device) while the function is running. Default is messages=TRUE.
It returns the following list
S.draw: the samples of the linear predictor \(d(x)'\beta + S(A)\)
incidence: the region-specific incidence
SEincidence: Standard error of the region-specific incidence
CovRR: the prediction of the covariate adjusted relative risk
SECovRR: the standard error of the covariate adjusted relative risk
The function returns the region-specific incidence and the covariate adjusted relative risk exp(S(A))