
Spatial survival and SPDE fields: Weibull gamma-frailty model and SPDE (Matern) GMRF precision
Source:R/SpatialSurvival.R
WeibullFrailtyFit.RdWeibullFrailtyFit: hazard lambda rho t^(rho - 1) exp(t(x) beta)
with right censoring (likelihood h^delta S), and with
cluster a mean-one gamma frailty of variance theta integrated
out within clusters; L-BFGS on the log parameters with the analytic score,
then Newton polishing.
SpdePrecisionGrid: Q = tau^2 (kappa^4 C + 2 kappa^2 G + G C^(-1) G)
with lumped mass h^2 I and the Neumann 5-point stiffness.
Usage
WeibullFrailtyFit(time, event, X, cluster = NULL, max_iter = 500)
SpdePrecisionGrid(nx, ny, kappa, tau, h = 1)