A Statistical Introduction to Template Model Builder: A Flexible Tool for Spatial Modeling

03/17/2021
by   Aaron Osgood-Zimmerman, et al.
0

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.

READ FULL TEXT

page 20

page 21

page 24

page 25

page 29

research
09/08/2020

Spatial Bayesian Hierarchical Modelling with Integrated Nested Laplace Approximation

We consider latent Gaussian fields for modelling spatial dependence in t...
research
01/19/2022

Fitting Double Hierarchical Models with the Integrated Nested Laplace Approximation

Double hierarchical generalized linear models (DHGLM) are a family of mo...
research
07/15/2020

Scalable Bayesian modeling for smoothing disease risks in large spatial data sets

Several methods have been proposed in the spatial statistics literature ...
research
11/13/2020

NLMEModeling: A Wolfram Mathematica Package for Nonlinear Mixed Effects Modeling of Dynamical Systems

Nonlinear mixed effects modeling is a powerful tool when analyzing data ...
research
05/20/2021

A flexible Bayesian non-confounding spatial model for analysis of dispersed count data in clinical studies

In employing spatial regression models for counts, we usually meet two i...
research
03/27/2023

Integrated Nested Laplace Approximations for Large-Scale Spatial-Temporal Bayesian Modeling

Bayesian inference tasks continue to pose a computational challenge. Thi...
research
03/22/2021

Modeling Random Directions in 2D Simplex Data

We propose models and algorithms for learning about random directions in...

Please sign up or login with your details

Forgot password? Click here to reset