ctsem
3.11.1Continuous Time Structural Equation Modelling
Overview
Hierarchical continuous (and discrete) time state space modelling, for linear and nonlinear systems measured by continuous variables, with limited support for binary data. The subject specific dynamic system is modelled as a stochastic differential equation (SDE) or difference equation, measurement models are typically multivariate normal factor models. Linear mixed effects SDE's estimated via maximum likelihood and optimization are the default. Nonlinearities, (state dependent parameters) and random effects on all parameters are possible, using either max likelihood / max a posteriori optimization (with optional importance sampling) or Stan's Hamiltonian Monte Carlo sampling. See https://github.com/cdriveraus/ctsem/raw/master/vignettes/hierarchicalmanual.pdf for details. See https://osf.io/preprints/psyarxiv/4q9ex_v2 for a detailed tutorial. Priors may be used. For the conceptual overview of the hierarchical Bayesian linear SDE approach, see https://www.researchgate.net/publication/324093594_Hierarchical_Bayesian_Continuous_Time_Dynamic_Modeling. Exogenous inputs may also be included, for an overview of such possibilities see https://www.researchgate.net/publication/328221807_Understanding_the_Time_Course_of_Interventions_with_Continuous_Time_Dynamic_Models . https://cdriver.netlify.app/ contains some tutorial blog posts.
Install
Health
- OK2026-07-2911 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-07-2710 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-07-1811 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-07-1210 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-05-1711 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 5 earlier snapshots
- ERROR2026-05-0710 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-05-0311 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-169 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-04-1210 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-03-109 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Documentation
- Examples that run
- 67%
- Documented parameters
- 95%
- Return-value docs
- 70%
- References docs
- 1%
Downloads
Repository
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
Repository practices
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/cdriveraus/ctsem on 2026-07-30.
Dependencies
Code & Tests
Datasets
People & History
58 releases. Pick two to compare their code metrics. R releases are shown for context.
- 3.11.1Latest
- 3.11.02026-06-30 · diff ↗
- RR 4.6.0 released · 2026-04-24
- 3.10.62026-01-27 · diff ↗
- 3.10.52026-01-20 · diff ↗
- 3.10.42025-06-30 · diff ↗
- 3.10.32025-06-21 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 3.10.22025-01-13 · diff ↗
- 3.10.12024-08-19 · diff ↗
- 3.10.02024-05-09 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 3.9.12023-10-30 · diff ↗
- 3.9.02023-09-14 · diff ↗
- 3.8.12023-09-05 · diff ↗
- RR 4.3.0 released · 2023-04-21
Show 58 earlier events
- 3.7.62023-03-26 · diff ↗
- 3.7.22022-11-06 · diff ↗
- 3.7.12022-08-08 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 3.6.02022-03-10 · diff ↗
- 3.5.52022-02-16 · diff ↗
- 3.5.42021-07-23 · diff ↗
- 3.5.32021-06-17 · diff ↗
- 3.5.22021-06-17 · diff ↗
- 3.5.02021-06-01 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 3.4.32021-04-27 · diff ↗
- 3.4.22021-02-24 · diff ↗
- 3.4.12020-12-18 · diff ↗
- 3.3.112020-09-16 · diff ↗
- 3.3.82020-07-16 · diff ↗
- 3.3.62020-06-23 · diff ↗
- unarchivedReturned to CRAN2020-06-23
- archivedRemoved from CRAN2020-05-11check problems were not corrected in time donttest, installation failure on Solaris (unique amongst stan-using packages)
- 3.2.12020-04-26 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 3.2.02020-04-22 · diff ↗
- 3.1.12020-02-10 · diff ↗
- 3.1.02020-01-27 · diff ↗
- 3.0.92019-12-18 · diff ↗
- 3.0.82019-11-08 · diff ↗
- 3.0.42019-09-13 · diff ↗
- 3.0.32019-09-11 · diff ↗
- 3.0.12019-08-23 · diff ↗
- 3.0.02019-07-31 · diff ↗
- 2.9.62019-05-29 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 2.9.02019-04-14 · diff ↗
- 2.8.22019-02-03 · diff ↗
- unarchivedReturned to CRAN2019-02-03
- archivedRemoved from CRAN2019-01-24check issues were not corrected in time
- 2.7.62018-11-20 · diff ↗
- 2.7.42018-11-09 · diff ↗
- 2.6.52018-06-26 · diff ↗
- 2.6.42018-06-10 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 2.5.02017-10-18 · diff ↗
- 2.4.02017-05-17 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 2.3.12017-04-06 · diff ↗
- 2.3.02017-03-07 · diff ↗
- 2.2.02017-01-24 · diff ↗
- 2.1.12017-01-07 · diff ↗
- 2.1.02016-12-22 · diff ↗
- 2.0.02016-11-19 · diff ↗
- 1.1.62016-06-15 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 1.1.5.22016-02-25 · diff ↗
- 1.1.5.12016-02-17 · diff ↗
- 1.1.52015-12-16 · diff ↗
- 1.1.32015-10-12 · diff ↗
- 1.1.12015-08-10
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2015-08-10
- Total releases
- 58 / 11 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.2.0
- Bundled data
- 478 KB / 11 files
- Download size
- 1.7 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet