The integrated nested Laplace approximation (INLA) is a well-known and popular technique for spatial modeling with a user-friendly interface in the R-INLA package. Unfortunately, only a certain class of latent Gaussian models are amenable to fitting with INLA. In this paper we describe Template Model Builder (TMB), an existing technique which is well-suited to fitting complex spatio-temporal models. TMB is relatively unknown to the spatial statistics community, but is a highly flexible random effects modeling tool which allows users to define complex random effects models through simple C++ templates. After contrasting the methodology behind TMB with INLA, we provide a large-scale simulation study assessing and comparing R-INLA and TMB for continuous spatial models, fitted via the Stochastic Partial Differential Equations (SPDE) approximation. The results show that the predictive fields from both methods are comparable in most situations even though TMB estimates for fixed or random effects may have slightly larger bias than R-INLA. We also present a smaller discrete spatial simulation study, in which both approaches perform well. We conclude with an analysis of breast cancer incidence and mortality data using a joint model which cannot be fit with INLA.
翻译:综合的巢状拉普尔近似(INLA)是一种众所周知和流行的空间建模技术,在R-INLA套件中使用方便用户的界面进行空间建模。 不幸的是,只有某类潜潜伏高斯模型适合INLA。 在本文中,我们描述了模板模型构建器(TMB),这是一种现有技术,非常适合安装复杂的阵形-时空模型。 空间统计界相对不了解TMB,但是一种非常灵活的随机效应模型工具,使用户能够通过简单的C++模板界定复杂的随机效应模型。在将TMB与INLA后的方法进行比较之后,我们提供了大规模模拟研究,评估和比较R-INLA和TMB的连续空间模型,通过Stochacistic 部分分布器(SPDE)近似近。结果显示,这两种方法的预测场在多数情况下是可比的,即使TMB对固定或随机效应的估计可能比R-INLA的偏差略大一点。我们还提出了一种较小型的离式空间模拟模型,在这种模型中,既采用IMB与INA是无法很好地进行乳腺癌的分析。