RTMB: An R Package for Fitting Latent Variable Models With Template Model Builder
Kasper Kristensen, Anders Nielsen, Christoffer Moesgaard Albertsen, Casper Willestofte Berg, Vanessa TrijouletABSTRACT
Hierarchical and latent variable models are fundamental in ecology, fisheries science, and epidemiology, but fitting them efficiently relies on automatic differentiation (AD) combined with approximations such as the Laplace approximation. Template Model Builder (