Package: ctsmTMB 1.1.0


Phillip Vetter
ctsmTMB: Continuous Time Stochastic Modelling using Template Model Builder
Perform state and parameter inference, and forecasting, in stochastic state-space systems using the 'ctsmTMB' R6 class. This class provides a user-friendly interface for working with stochastic state space models. Inference is based on maximum likelihood estimation, with derivatives efficiently computed through automatic differentiation enabled by the 'TMB'/'RTMB' packages (Kristensen et al., 2016) <doi:10.18637/jss.v070.i05>. The available inference methods include Kalman filters, in addition to a Laplace approximation-based smoothing method. For further details of these methods refer to the documentation of the 'CTSMR' package <https://ctsm.info/ctsmr-reference.pdf> and Thygesen (2025) <doi:10.48550/arXiv.2503.21358>. Forecasting capabilities include moment predictions and stochastic path simulations implemented in 'C++' using 'Rcpp' (Eddelbuettel et al., 2018) <doi:10.1080/00031305.2017.1375990> for computational efficiency.
Authors:
ctsmTMB_1.1.0.tar.gz
ctsmTMB_1.1.0.zip(r-4.7)ctsmTMB_1.1.0.zip(r-4.6)ctsmTMB_1.1.0.zip(r-4.5)
ctsmTMB_1.1.0.tgz(r-4.6-x86_64)ctsmTMB_1.1.0.tgz(r-4.6-arm64)ctsmTMB_1.1.0.tgz(r-4.5-x86_64)ctsmTMB_1.1.0.tgz(r-4.5-arm64)
ctsmTMB_1.1.0.tar.gz(r-4.7-arm64)ctsmTMB_1.1.0.tar.gz(r-4.7-x86_64)ctsmTMB_1.1.0.tar.gz(r-4.6-arm64)ctsmTMB_1.1.0.tar.gz(r-4.6-x86_64)
ctsmTMB_1.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
ctsmTMB/json (API)
| # Install 'ctsmTMB' in R: |
| install.packages('ctsmTMB', repos = c('https://phillipbvetter.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/phillipbvetter/ctsmtmb/issues
- Ornstein - Sample from a simulated Ornstein-Uhlenbeck process with time-dependent mean
- Ornstein_augmented - Sample from a simulated two-state Ornstein-Uhlenbeck process
Last updated from:156a377563. Checks:12 ERROR, 1 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | ERROR | 240 | ||
| linux-devel-x86_64 | ERROR | 260 | ||
| source / vignettes | ERROR | 316 | ||
| linux-release-arm64 | ERROR | 259 | ||
| linux-release-x86_64 | ERROR | 244 | ||
| macos-release-arm64 | ERROR | 250 | ||
| macos-release-x86_64 | ERROR | 927 | ||
| macos-oldrel-arm64 | ERROR | 258 | ||
| macos-oldrel-x86_64 | ERROR | 466 | ||
| windows-devel | ERROR | 296 | ||
| windows-release | ERROR | 248 | ||
| windows-oldrel | ERROR | 259 | ||
| wasm-release | OK | 154 |
Dependencies:clicpp11Derivfarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixpatchworkR6RColorBrewerRcppRcppArmadilloRcppEigenrlangRTMBS7scalesstringistringrTMBvctrsviridisLitewithrzigg
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Methods for the 'ctsmTMB' R6 class | ctsmTMB |
| Create a ctsmTMB model faster avoiding $... | newModel |
| Sample from a simulated Ornstein-Uhlenbeck process with time-dependent mean | Ornstein |
| Sample from a simulated two-state Ornstein-Uhlenbeck process | Ornstein_augmented |
| This function creates residual plots for an estimated ctsmTMB object | plot.ctsmTMB.fit |
| Plot of k-step predictions from a ctsmTMB prediction object | plot.ctsmTMB.pred |
| Plot a profile likelihood ctsmTMB object | plot.ctsmTMB.profile |
| Basic print of ctsmTMB objects | print.ctsmTMB |
| Basic print of objects ctsmTMB fit objects | print.ctsmTMB.fit |
| Performs full multi-dimensional profile likelihood calculations | profile.ctsmTMB.fit |
| Basic summary of ctsmTMB fit object | summary.ctsmTMB.fit |