Skip to content

jeromyanglim/lavaan-introduction-2017

Repository files navigation

Introduction to Structural Equation Modelling with lavaan and R

Abstract

Abstract: Lavaan is a free package in R used for performing structural equation modelling. Its intuitive and flexible syntax makes it a great option for estimating simple and complex models. The training will provide a hands-on introduction to lavaan. It will cover (a) preparing data, (b) specifying and estimating models, (c) modification indices, (d) model comparison, and (e) extracting parameters and fit statistics. The main focus will be on fitting confirmatory factor analytic models to multiple item psychological questionnaires. Lecture-style presentation will be combined with practical exercises. On successful completion of the training, participants should be able to perform confirmatory factor analysis on their own data. Prior experience using R will be helpful but is not essential. Participants should bring a laptop. Participants will be emailed prior to the workshop with instructions about installing R, RStudio, and lavaan.

Installation instructions

Download and install R and Rstudio

Then, in R, install the following packages.

install.packages("lavaan")
install.packages("psych")
install.packages("ProjectTemplate")

Download the files for the workshop:

  • Click the link "clone or download"
  • Download ZIP
  • Unzip on your desktop

Exploring the materials

I will go through the files in the workshop.

The best way to open the files is to:

  1. Open "lavaan-example.Rproj", which will open the project in RStudio.
  2. Open "0-lavaan-tutorial.rmd" or "1-cfa-exercise.rmd" (these files contain the main exercises).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages