ctsem

Continuous Time Structural Equation Modelling

CRAN Package

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. 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 . Stan based functions are not available on 32 bit Windows systems at present. https://cdriver.netlify.app/ contains some tutorial blog posts.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 1,222 times in the last 30 days. That's enough downloads to impress a room full of undergrads. A commendable achievement indeed. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 21 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsFeb 9, 2025
0 downloadsFeb 10, 2025
0 downloadsFeb 11, 2025
154 downloadsFeb 12, 2025
77 downloadsFeb 13, 2025
17 downloadsFeb 14, 2025
58 downloadsFeb 15, 2025
10 downloadsFeb 16, 2025
67 downloadsFeb 17, 2025
10 downloadsFeb 18, 2025
140 downloadsFeb 19, 2025
136 downloadsFeb 20, 2025
16 downloadsFeb 21, 2025
20 downloadsFeb 22, 2025
19 downloadsFeb 23, 2025
17 downloadsFeb 24, 2025
7 downloadsFeb 25, 2025
13 downloadsFeb 26, 2025
112 downloadsFeb 27, 2025
14 downloadsFeb 28, 2025
33 downloadsMar 1, 2025
13 downloadsMar 2, 2025
7 downloadsMar 3, 2025
22 downloadsMar 4, 2025
116 downloadsMar 5, 2025
13 downloadsMar 6, 2025
9 downloadsMar 7, 2025
9 downloadsMar 8, 2025
8 downloadsMar 9, 2025
7 downloadsMar 10, 2025
20 downloadsMar 11, 2025
57 downloadsMar 12, 2025
21 downloadsMar 13, 2025
0 downloadsMar 14, 2025
0 downloadsMar 15, 2025
7
154

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 14,095 times in the last 365 days. The downloads are officially high enough to crash an underfunded departmental server. Quite an accomplishment! The day with the most downloads was Sep 11, 2024 with 173 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Depends1 package
  • Imports15 packages
  • Suggests12 packages
  • Reverse Depends2 packages