Structural Equation Modeling (SEM) in R with lavaan | CCIDM
Structural Equation Modeling (SEM) in R with lavaan
As part of CCIDM’s Quarto Workshop Series, this session provides a comprehensive guide to Structural Equation Modeling (SEM) in R using the lavaan package.
You will learn how to perform confirmatory factor analysis (CFA) to evaluate latent constructs, specify and estimate complex your measurement model and assess adequacy of the model fit. The workshop also covers critical data validation techniques, walking you through how to conduct construct reliability and validity testing, as well as how to effectively address and mitigate common method bias.
Following the measurement model assessment, the workshop will demonstrate how to set full structural equation modeling and test hypotheses including mediation and moderation relationships among the constructs.
By the end, you will understand how to confidently specify, estimate, and evaluate structural models, empowering you to interpret key results for your own advanced research and analytics projects.
Learning Outcomes
- Apply the lavaan package in R to specify and estimate structural equation models
- Perform confirmatory factor analysis (CFA) to evaluate latent constructs
- Assess the measurement model for model fit, construct reliability, and validity
- Conduct reliability and validity testing
- Address and mitigate common method bias in measurement models
- Specify, estimate, and evaluate structural models, interpreting key results
Workshop Preparation:
Accessing R and RStudio:
To get the most out of this workshop, please ensure you have access to both R and RStudio. You can do this by either downloading and installing them to your computer or by setting up a free Posit Cloud account.
Options for Accessing R & RStudio:
- Posit Cloud (online option) - Get started here
- Install R & RStudio on Windows - Watch this tutorial
- Install R & RStudio on macOS - Watch this tutorial
Introduction to R & RStudio (Optional)
While not required, we encourage you to watch the following workshop beforehand if you can set aside an hour.
Complete Code and Presentation Slides:
https://github.com/CCIDM/sem-lavaan-r