Identificador de l'article ATH-CK35S4 · Tier 2 papers · Environmental science

TMB : Automatic Differentiation and Laplace Approximation CC-BY

Obra en accés obert arxivada, importada de Journal of Statistical Software per a la conservació a llarg termini. No és una tramesa a AthenXiv, així que no té historial de versions ni historial de marques de temps.

  • Publicat originalment Jan 1, 2016 UTC
  • Drets: CC-BY (no hi ha cap data de caducitat registrada)
  • Afegit a AthenXiv Oct 3, 2026 UTC
  • Kasper Kristensen Technical University of Denmark
  • Anders Nielsen Technical University of Denmark
  • Casper Willestofte Berg Technical University of Denmark
  • Hans Julius Skaug University of Bergen
  • Bradley M. Bell University of Washington

Enviat per AthenXiv UW2JTS24Y · Publicat Oct 3, 2026 UTC · 517 Visualitzacions · 21 Baixades · 592 KB · English

Pujat en nom de l'autor per AthenXiv (UW2JTS24Y)

Llegeix en línia Baixa el PDF (592 KB)

Resum

TMB is an open source R package that enables quick implementation of complex nonlinear random effects (latent variable) models in a manner similar to the established AD Model Builder package (ADMB, http://admb-project.org/; Fournier et al. 2011). In addition, it offers easy access to parallel computations. The user defines the joint likelihood for the data and the random effects as a C++ template function, while all the other operations are done in R; e.g., reading in the data. The package evaluates and maximizes the Laplace approximation of the marginal likelihood where the random effects are automatically integrated out. This approximation, and its derivatives, are obtained using automatic differentiation (up to order three) of the joint likelihood. The computations are designed to be fast for problems with many random effects (≈ 106 ) and parameters (≈ 103 ). Computation times using ADMB and TMB are compared on a suite of examples ranging from simple models to large spatial models where the random effects are a Gaussian random field. Speedups ranging from 1.5 to about 100 are obtained with increasing gains for large problems. The package and examples are available at http://tmb-project.org/.

Paraules clau: Soil Geostatistics and Mapping, Environmental Engineering, Environmental Science, Physical Sciences

DOI: 10.18637/jss.v070.i05

Llicència: CC-BY

Llegeix en línia

Cita aquest article

BibTeX RIS Text pla JSON

Kasper Kristensen, Anders Nielsen, Casper Willestofte Berg, Hans Julius Skaug, Bradley M. Bell (2026). TMB : Automatic Differentiation and Laplace Approximation. AthenXiv. https://athenxiv.com/paper/ATH-CK35S4