dynr: Dynamic Models with Regime-Switching

Intensive longitudinal data have become increasingly prevalent in various scientific disciplines. Many such data sets are noisy, multivariate, and multi-subject in nature. The change functions may also be continuous, or continuous but interspersed with periods of discontinuities (i.e., showing regime switches). The package 'dynr' (Dynamic Modeling in R) is an R package that implements a set of computationally efficient algorithms for handling a broad class of linear and nonlinear discrete- and continuous-time models with regime-switching properties under the constraint of linear Gaussian measurement functions. The discrete-time models can generally take on the form of a state-space or difference equation model. The continuous-time models are generally expressed as a set of ordinary or stochastic differential equations. All estimation and computations are performed in C, but users are provided with the option to specify the model of interest via a set of simple and easy-to-learn model specification functions in R. Model fitting can be performed using single-subject time series data or multiple-subject longitudinal data. Ou, Hunter, & Chow (2019) <doi:10.32614%2FRJ-2019-012> provided a detailed introduction to the interface and more information on the algorithms.

Version: 0.1.16-105
Depends: R (≥ 3.0.0), ggplot2
Imports: MASS, Matrix (≥ 1.5-0), numDeriv, xtable, latex2exp, grid, reshape2, plyr, mice, magrittr, methods, fda, car, stringi, tibble, deSolve, Rdpack
Suggests: testthat, roxygen2 (≥ 3.1), knitr, rmarkdown, RcppGSL
Published: 2023-11-28
DOI: 10.32614/CRAN.package.dynr
Author: Lu Ou [aut], Michael D. Hunter ORCID iD [aut, cre], Sy-Miin Chow ORCID iD [aut], Linying Ji [aut], Meng Chen [aut], Hui-Ju Hung [aut], Jungmin Lee [aut], Yanling Li [aut], Jonathan Park [aut], Massachusetts Institute of Technology [cph], S. G. Johnson [cph], Benoit Scherrer [cph], Dieter Kraft [cph]
Maintainer: Michael D. Hunter <mike.dynr at gmail.com>
Contact: <dynr@googlegroups.com>
License: GPL-3
URL: https://dynrr.github.io/, https://github.com/mhunter1/dynr
NeedsCompilation: yes
SystemRequirements: GNU make
Citation: dynr citation info
Materials: README NEWS
CRAN checks: dynr results

Documentation:

Reference manual: dynr.pdf
Vignettes: Example: A Linear Stochastic Differential Equation Model
Installation for Developers
Installation for Users
Linear discrete-time regime-switching models
Nonlinear continuous-time models

Downloads:

Package source: dynr_0.1.16-105.tar.gz
Windows binaries: r-devel: dynr_0.1.16-105.zip, r-release: dynr_0.1.16-105.zip, r-oldrel: dynr_0.1.16-105.zip
macOS binaries: r-release (arm64): dynr_0.1.16-105.tgz, r-oldrel (arm64): dynr_0.1.16-105.tgz, r-release (x86_64): dynr_0.1.16-105.tgz, r-oldrel (x86_64): dynr_0.1.16-105.tgz
Old sources: dynr archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=dynr to link to this page.