This is a collection of TMB examples hosted by the ADMB Foundation. They may be similar but not identical to examples found elsewhere.
Maximum likelihood estimation to find the mean and variance of a normally distributed variable.
Based on a template that comes with Emacs tmb-mode.
Simple linear regression, estimating a slope and an intercept while assuming normally distributed errors.
See YouTube video 🎥 TMB tutorial: The basics.
Nonlinear mixed-effects model: logistic growth of trees, where the asymptotic maximum varies between trees.
Previously implemented in ADMB, R, and BUGS as part of an NCEAS working group. A full description of the model can be found there.
Fit a multivariate normal distribution to simulated data.
See YouTube video 🎥 TMB tutorial: Multivariate normal.