Learn R Programming

⚠️There's a newer version (3.10.2) of this package.Take me there.

ctsem (version 1.1.6)

Continuous Time Structural Equation Modelling

Description

An easily accessible continuous (and discrete) time dynamic modelling package for panel and time series data, reliant upon the OpenMx. package (http://openmx.psyc.virginia.edu/) for computation. Most dynamic modelling approaches to longitudinal data rely on the assumption that time intervals between observations are consistent. When this assumption is adhered to, the data gathering process is necessarily limited to a specific schedule, and when broken, the resulting parameter estimates may be biased and reduced in power. Continuous time models are conceptually similar to vector autoregressive models (thus also the latent change models popularised in a structural equation modelling context), however by explicitly including the length of time between observations, continuous time models are freed from the assumption that measurement intervals are consistent. This allows: data to be gathered irregularly; the elimination of noise and bias due to varying measurement intervals; parsimonious structures for complex dynamics. The application of such a model in this SEM framework allows full-information maximum-likelihood estimates for both N = 1 and N > 1 cases, multiple measured indicators per latent process, and the flexibility to incorporate additional elements, including individual heterogeneity in the latent process and manifest intercepts, and time dependent and independent exogenous covariates. Furthermore, due to the SEM implementation we are able to estimate a random effects model where the impact of time dependent and time independent predictors can be assessed simultaneously, but without the classic problems of random effects models assuming no covariance between unit level effects and predictors.

Copy Link

Version

Install

install.packages('ctsem')

Monthly Downloads

612

Version

1.1.6

License

GPL-3

Maintainer

Charles Driver

Last Published

June 15th, 2016

Functions in ctsem (1.1.6)

ctDeintervalise

ctDeintervalise
ctExample2

ctExample2
AnomAuth

AnomAuth
ctExample1

ctExample1
ctCompareExpected

ctCompareExpected Compares model implied to observed means and covariances for panel data fit with ctsem.
ctExample3

ctExample3
ctExample4

ctExample4
ctExample2level

ctExample2level
ctCI

ctCI Computes confidence intervals on specified parameters / matrices for already fitted ctsem fit object.
ctExample1TIpred

ctExample1TIpred
ctLongToWide

ctLongToWide Restructures time series / panel data from long format to wide format for ctsem analysis
ctRefineTo

ctRefineTo
ctGenerate

Simulate continuous time data
ctFit

Fit a ctsem object
ctPSMfit

ctPSMfit
ctIndplot

ctIndplot
ctIntervalise

Converts absolute times to intervals for wide format ctsem panel data
ctMultigroupFit

Fits a multiple group continuous time model.
ctPlot

singlePlot
ctModel

Define a ctsem model
ctsem

ctsem
summary.ctsemFit

Summary function for ctsemFit object
Oscillating

Oscillating
ctWideNames

ctWideNames sets default column names for wide ctsem datasets. Primarily intended for internal ctsem usage.
datastructure

datastructure
plot.ctsemMultigroupFit

Plot function for ctsemMultigroupFit object
summary.ctsemMultigroupFit

Summary function for ctsemMultigroupFit object
ctWideToLong

ctWideToLong Convert ctsem wide to long format
longexample

longexample
plot.ctsemFit

Plotting function for object class ctsemFit