dynr0.1.16-105 package

Dynamic Models with Regime-Switching

autoplot.dynrTaste

The ggplot of the outliers estimates.

coef.dynrCook

Extract fitted parameters from a dynrCook Object

confint.dynrCook

Confidence Intervals for Model Parameters

diag-character-method

Create a diagonal matrix from a character vector

dynr-package

tools:::Rd_package_title("dynr")

dynr.config

Check that dynr in configured properly

dynr.cook

Cook a dynr model to estimate its free parameters

dynr.data

Create a list of data for parameter estimation (cooking dynr) using `d...

dynr.flowField

A Function to plot the flow or velocity field for a one or two dimensi...

dynr.ggplot

The ggplot of the smoothed state estimates and the most likely regimes

dynr.ldl

LDL Decomposition for Matrices

dynr.mi

Multiple Imputation of dynrModel objects

dynr.model

Create a dynrModel object for parameter estimation (cooking dynr) usin...

dynr.plotFreq

Plot of the estimated frequencies of the regimes across all individual...

dynr.taste

Detect outliers in state space models.

dynr.taste2

Re-fit state-space model using the estimated outliers.

dynr.trajectory

A Function to perform numerical integration of the chosen ODE system, ...

dynr.version

Current Version String

dynrCook-class

The dynrCook Class

dynrDynamics-class

The dynrDynamics Class

dynrInitial-class

The dynrInitial Class

dynrMeasurement-class

The dynrMeasurement Class

dynrModel-class

The dynrModel Class

dynrNoise-class

The dynrNoise Class

dynrRecipe-class

The dynrRecipe Class

dynrRegimes-class

The dynrRegimes Class

dynrTrans-class

The dynrTrans Class

ExpandRandomAsLVModel

Extend a user-specified model to include random varibles

getdx

A wrapper function to call functions in the fda package to obtain smoo...

internalModelPrep

Do internal model preparation for dynr

logLik.dynrCook

Extract the log likelihood from a dynrCook Object

names-dynrCook-method

Extract the free parameter names of a dynrCook object

names-dynrModel-method

Extract the free parameter names of a dynrModel object

nobs.dynrCook

Extract the number of observations for a dynrCook object

nobs.dynrModel

Extract the number of observations for a dynrModel object

plot.dynrCook

Plot method for dynrCook objects

plotFormula

Plot the formula from a model

plotGCV

A function to evaluate the generalized cross-validation (GCV) values a...

predict.dynrModel

predict method for dynrModel objects

prep.formulaDynamics

Recipe function for specifying dynamic functions using formulas

prep.initial

Recipe function for preparing the initial conditions for the model.

prep.loadings

Recipe function to quickly create factor loadings

prep.matrixDynamics

Recipe function for creating Linear Dynamics using matrices

prep.measurement

Prepare the measurement recipe

prep.noise

Recipe function for specifying the measurement error and process noise...

prep.regimes

Recipe function for creating regime switching (Markov transition) func...

prep.tfun

Create a dynrTrans object to handle the transformations and inverse tr...

printex

The printex Method

summary.dynrCook

Get the summary of a dynrCook object

theta_plot

A function to plot simple slopes and region of significance.

vcov.dynrCook

Extract the Variance-Covariance Matrix of a dynrCook object

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.

  • Maintainer: Michael D. Hunter
  • License: GPL-3
  • Last published: 2023-11-28