Package: ctsem Type: Package Title: Continuous Time Structural Equation Modelling Version: 4.0.0 Date: 2026-10-14 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, binary, ordinal, count or censored variables. The subject specific dynamic system is a stochastic differential equation (SDE) or difference equation, measured through a (typically) multivariate factor model. Individual differences on any parameter, at one or more nested levels, are integrated out by an augmented Kalman filter or a Laplace approximation, or sampled. Estimation is by maximum likelihood or maximum a posteriori optimisation, with uncertainty from the Hessian, importance sampling or the bootstrap, or by sampling the posterior, using either 'Stan' or an optional 'Julia' engine that ctJuliaInstall() sets up. See for details, and for a detailed tutorial. 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://cdriveraus.github.io/ctsem/, https://github.com/cdriveraus/ctsem BugReports: https://github.com/cdriveraus/ctsem/issues Imports: cOde, data.table (>= 1.12.8), 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) Suggests: doBy, knitr, testthat, devtools, tinytex, loo, shiny, gridExtra, qgam, mgcv, future, future.apply, diagis, pdftools, rstudioapi, R.rsp, qgraph, JuliaConnectoR (>= 1.1.6), digest, withr, ps VignetteBuilder: knitr, R.rsp SystemRequirements: GNU make; Julia (>= 1.10), optional, for backend = 'julia' (ctJuliaInstall() can install it) NeedsCompilation: yes Biarch: true Config/roxygen2/version: 8.1.0 Config/pak/sysreqs: cmake make libpng-dev Repository: https://cdriveraus.r-universe.dev Date/Publication: 2026-11-18 23:00:35 UTC RemoteUrl: https://github.com/cdriveraus/ctsem RemoteRef: HEAD RemoteSha: 157e1e5a0d264ebfd0e35cc8050eb2eb77deddbb Packaged: 2026-11-19 01:42:06 UTC; root Author: Charles Driver [aut, cre, cph], Manuel Voelkle [aut, cph], Han Oud [aut, cph], Trustees of Columbia University [cph] Maintainer: Charles Driver