ctsem - Continuous Time Structural Equation Modelling
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
<https://github.com/cdriveraus/ctsem/raw/master/vignettes/hierarchicalmanual.pdf>
for details, and <https://osf.io/preprints/psyarxiv/4q9ex_v3>
for a detailed tutorial. 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.