modsem: An R package for estimating latent interactions and quadratic effects
KJell Slupphaug,
Mehmet Mehmetoglu and
Matthias Mittner
Additional contact information
KJell Slupphaug: Statistics Norway (SSB)
Matthias Mittner: University of Tromsø
No h3rpw, OSF Preprints from Center for Open Science
Abstract:
The estimation of interaction and quadratic effects in Structural Equation Models (SEMs) is a complex task in psychometrics. Latent product term (LPT) models, initially developed for interaction effects between latent variables, are also used to model quadratic effects. Despite over 30 years of research, no consensus has emerged on the best method for modeling interactions in SEMs, partly due to efforts to simplify existing approaches for broader accessibility. LPT models are categorized into Product Indicator (PI) and Distribution Analytic (DA) approaches. PI methods are conceptually simple but often sacrifice accuracy due to necessary simplifications, making them error-prone and difficult to implement manually. In contrast, DA methods, such as Latent Moderated Structural Equations (LMS) and Quasi Maximum Likelihood (QML), provide more accurate estimates in simulations but are computationally intensive and less accessible due to limited implementations. We introduce modsem, an R package that simplifies the estimation of interaction and quadratic effects in SEMs. modsem supports various methods, including PI, LMS, and QML, and extends them to models with multiple endogenous variables. It integrates seamlessly with the popular lavaan syntax, enhancing accessibility for researchers. We demonstrate modsem’s utility with applications to the Theory of Planned Behaviour and PISA 2006 data, highlighting its effectiveness in estimating complex models. Future work will focus on validating and refining LMS and QML approaches, and exploring alternative methods like Bayesian and Structural After Measurement (SAM) approaches.
Date: 2024-09-02
New Economics Papers: this item is included in nep-dcm, nep-ipr and nep-upt
References: View references in EconPapers View complete reference list from CitEc
Citations:
Downloads: (external link)
https://osf.io/download/66d5bfb59dce8a017859abc2/
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:osf:osfxxx:h3rpw
DOI: 10.31219/osf.io/h3rpw
Access Statistics for this paper
More papers in OSF Preprints from Center for Open Science
Bibliographic data for series maintained by OSF ().