Learn R Programming

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

ctsem (version 1.1.5.1)

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

855

Version

1.1.5.1

License

GPL-3

Maintainer

Charles Driver

Last Published

February 17th, 2016

Functions in ctsem (1.1.5.1)

ctExample2level

ctExample2level
longexample

longexample
summary.ctsemFit

Summary function for ctsemFit object
ctsem

ctsem
ctExample4

ctExample4
ctMultigroupFit

Fits a multiple group continuous time model.
ctGenerate

Simulate continuous time data
ctCI

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

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

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

Fit a ctsem object
ctExample3

ctExample3
summary.ctsemMultigroupFit

Summary function for ctsemMultigroupFit object
ctExample1TIpred

ctExample1TIpred
ctIndplot

ctIndplot
ctExample2

ctExample2
ctLongToWide

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

AnomAuth
ctWideToLong

ctWideToLong Convert ctsem wide to long format
Oscillating

Oscillating
ctPSMfit

ctPSMfit
plot.ctsemFit

Plotting function for object class ctsemFit
ctModel

Define a ctsem model
ctDeintervalise

ctDeintervalise
plot.ctsemMultigroupFit

Plot function for ctsemMultigroupFit object
datastructure

datastructure
ctExample1

ctExample1
plotSingle

singlePlot