Multilevel Semiparametric Latent Variable Modeling in R with "galamm"

Multivariate Behav Res. 2024 Sep-Oct;59(5):1098-1105. doi: 10.1080/00273171.2024.2385336. Epub 2024 Aug 14.

Abstract

We present the R package galamm, whose goal is to provide common ground between structural equation modeling and mixed effect models. It supports estimation of models with an arbitrary number of crossed or nested random effects, smoothing splines, mixed response types, factor structures, heteroscedastic residuals, and data missing at random. Implementation using sparse matrix methods and automatic differentiation ensures computational efficiency. We here briefly present the implemented methodology, give an overview of the package and an example demonstrating its use.

Keywords: Generalized additive models; R; item response theory; mixed models; mixed response; structural equation modeling.

MeSH terms

  • Algorithms
  • Computer Simulation / statistics & numerical data
  • Data Interpretation, Statistical
  • Humans
  • Latent Class Analysis
  • Models, Statistical*
  • Multilevel Analysis / methods
  • Software