modsem: Latent Interaction (and Moderation) Analysis in Structural
Equation Models (SEM)
Estimation of interaction (i.e., moderation) effects between latent variables
in structural equation models (SEM).
The supported methods are:
The constrained approach (Algina & Moulder, 2001).
The unconstrained approach (Marsh et al., 2004).
The residual centering approach (Little et al., 2006).
The double centering approach (Lin et al., 2010).
The latent moderated structural equations (LMS) approach (Klein & Moosbrugger, 2000).
The quasi-maximum likelihood (QML) approach (Klein & Muthén, 2007)
The constrained- unconstrained, residual- and double centering- approaches
are estimated via 'lavaan' (Rosseel, 2012), whilst the LMS- and QML- approaches
are estimated via 'modsem' it self. Alternatively model can be
estimated via 'Mplus' (Muthén & Muthén, 1998-2017).
References:
Algina, J., & Moulder, B. C. (2001).
<doi:10.1207/S15328007SEM0801_3>.
"A note on estimating the Jöreskog-Yang model for latent variable interaction using 'LISREL' 8.3."
Klein, A., & Moosbrugger, H. (2000).
<doi:10.1007/BF02296338>.
"Maximum likelihood estimation of latent interaction effects with the LMS method."
Klein, A. G., & Muthén, B. O. (2007).
<doi:10.1080/00273170701710205>.
"Quasi-maximum likelihood estimation of structural equation models with multiple interaction and quadratic effects."
Lin, G. C., Wen, Z., Marsh, H. W., & Lin, H. S. (2010).
<doi:10.1080/10705511.2010.488999>.
"Structural equation models of latent interactions: Clarification of orthogonalizing and double-mean-centering strategies."
Little, T. D., Bovaird, J. A., & Widaman, K. F. (2006).
<doi:10.1207/s15328007sem1304_1>.
"On the merits of orthogonalizing powered and product terms: Implications for modeling interactions among latent variables."
Marsh, H. W., Wen, Z., & Hau, K. T. (2004).
<doi:10.1037/1082-989X.9.3.275>.
"Structural equation models of latent interactions: evaluation of alternative estimation strategies and indicator construction."
Muthén, L.K. and Muthén, B.O. (1998-2017).
"'Mplus' User’s Guide. Eighth Edition."
<https://www.statmodel.com/>.
Rosseel Y (2012).
<doi:10.18637/jss.v048.i02>.
"'lavaan': An R Package for Structural Equation Modeling."
| Version: |
1.0.17 |
| Depends: |
R (≥ 4.1.0) |
| Imports: |
Rcpp, purrr, stringr, lavaan, rlang, MplusAutomation, nlme, dplyr, mvnfast, stats, fastGHQuad, mvtnorm, ggplot2, parallel, plotly, Deriv, MASS, Amelia, grDevices, cli, RhpcBLASctl |
| LinkingTo: |
Rcpp, RcppArmadillo |
| Suggests: |
knitr, rmarkdown, ggpubr, RColorBrewer |
| Published: |
2026-02-24 |
| DOI: |
10.32614/CRAN.package.modsem |
| Author: |
Kjell Solem Slupphaug
[aut, cre],
Mehmet Mehmetoglu
[ctb],
Matthias Mittner
[ctb] |
| Maintainer: |
Kjell Solem Slupphaug <slupphaugkjell at gmail.com> |
| License: |
MIT + file LICENSE |
| URL: |
https://modsem.org |
| NeedsCompilation: |
yes |
| Citation: |
modsem citation info |
| Materials: |
README |
| In views: |
Psychometrics |
| CRAN checks: |
modsem results |
Documentation:
| Reference manual: |
modsem.html , modsem.pdf
|
| Vignettes: |
customizing the output from 'plot_interaction() (source, R code)
customizing interaction terms (source, R code)
estimation alternatives using the LMS approach (source, R code)
fit measures for LMS and QML (source, R code)
higher order interactions (source, R code)
interaction effects between endogenous variables (source, R code)
using lavaan functions (source, R code)
LMS and QML approaches (source, R code)
non-centered interaction terms (LMS and QML) (source, R code)
methods (source, R code)
missing data in the LMS and QML approaches (source, R code)
modsem (source, R code)
observed variables in the LMS- and QML approach (source, R code)
plotting interaction effects (source, R code)
quadratic effects (source, R code)
reliability-corrected single items (source, R code)
simple slopes analysis (source, R code)
|
Downloads:
Reverse dependencies:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=modsem
to link to this page.