Skip to contents

lanczosRTMB

docs (main)

Lanczos methods for RTMB

Uses

lanczosRTMB is designed to approximate properties of a hierarchical model implemented in RTMB without ever constructing or inverting the matrix of second derivatives (“Hessian matrix”). It can be used to approximate:

  • Standard errors using a matrix-free delta method
  • The log-determinant of the Hessian using stochastic trace estimation
  • The log marginal likelihood using the Laplace approximation

Potential developments

There’s many avenues for further improvement. These include: