Examination of Nonlinear Longitudinal Processes with Latent Variables, Latent Processes, Latent Changes, and Latent Classes in the Structural Equation Modeling Framework: The R package nlpsem

Jin Liu
DOI: https://doi.org/10.48550/arXiv.2302.03237
2023-09-13
Abstract:We present the R package nlpsem, which provides a comprehensive set of functions to assess longitudinal processes with individual measurement occasions within the structural equation modeling (SEM) framework. This package focuses on providing computational tools for nonlinear longitudinal models, particularly intrinsically nonlinear models, across four distinct scenarios: (1) univariate longitudinal processes captured by latent variables, with or without covariates, including time-invariant covariates (TICs) and time-varying covariates (TVCs); (2) multivariate longitudinal processes for evaluating correlations or causations between longitudinal variables; (3) multiple-group frameworks for models in scenarios (1) and (2), enabling the examination of differences between manifested classes; and (4) mixture models for scenarios (1) and (2), assuming that trajectories originate from heterogeneous latent classes. By interfacing with the R package OpenMx, nlpsem enables flexible specification of structural equation models and generates maximum likelihood estimators using the full information maximum likelihood technique. The package includes an algorithm to obtain initial values from raw data, thereby facilitating computation and enhancing the likelihood of model convergence. Additionally, nlpsem provides functions for goodness-of-fit analyses, clustering analyses, plots, and predicted trajectories. This paper constitutes a companion to the package, detailing each model scenario, the estimation technique, implementation details, output interpretation, and showcasing examples through a dataset on intelligence development.
Methodology
What problem does this paper attempt to address?