Package: ctsem Type: Package Title: Continuous Time Structural Equation Modelling Version: 3.11.0 Date: 2026-6-30 Authors@R: c(person("Charles", "Driver", role = c("aut","cre","cph"),email="charles.driver2@uzh.ch"), person("Manuel", "Voelkle", role = c("aut","cph")), person("Han", "Oud", role = c("aut","cph") ), person("Trustees of Columbia University",role='cph')) Description: 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 for details. See for a detailed tutorial. Priors may be used. For the conceptual overview of the hierarchical Bayesian linear SDE approach, see . Exogenous inputs may also be included, for an overview of such possibilities see . contains some tutorial blog posts. License: GPL-3 Depends: R (>= 4.2.0), Rcpp (>= 0.12.16) URL: https://github.com/cdriveraus/ctsem Imports: cOde, data.table (>= 1.12.8), datasets, Deriv, expm, ggplot2, graphics, grDevices, MASS, Matrix, methods, mize, mvtnorm, parallel, plyr, RcppParallel (>= 5.0.1), rstan (>= 2.26.0), rstantools (>= 2.3.0), stats, tibble, tools, utils, splines, parallelly, corpcor, png Encoding: UTF-8 LazyData: true ByteCompile: true LinkingTo: BH (>= 1.66.0-1), Rcpp (>= 0.12.16), RcppEigen (>= 0.3.3.4.0), RcppParallel (>= 5.0.1), rstan (>= 2.26), StanHeaders (>= 2.26.0), RcppParallel (>= 5.0.1) Suggests: knitr, testthat, devtools, tinytex, lme4, shiny, gridExtra, arules, collapse, qgam, papaja, future, future.apply, diagis, pdftools, rstudioapi, quarto VignetteBuilder: knitr, quarto SystemRequirements: GNU make NeedsCompilation: yes Biarch: true Config/roxygen2/version: 8.0.0 Config/pak/sysreqs: make libpng-dev Repository: https://cdriveraus.r-universe.dev Date/Publication: 2026-07-02 13:09:26 UTC RemoteUrl: https://github.com/cdriveraus/ctsem RemoteRef: HEAD RemoteSha: f1426ed9082420eb30990c19ce1c367d1dd16aae Packaged: 2026-07-02 15:21:49 UTC; root Author: Charles Driver [aut, cre, cph], Manuel Voelkle [aut, cph], Han Oud [aut, cph], Trustees of Columbia University [cph] Maintainer: Charles Driver