A pdf version of this tutorial is available here: PDF

If you are new to lavaan, this is the place to start. In this tutorial, we introduce the basic components of lavaan: the model syntax, the fitting functions (cfa, sem and growth), and the main extractor functions (summary, coef, fitted, inspect). After we have provided two simple examples, we briefly discuss some important topics: meanstructures, multiple groups, growth curve models, mediation analysis, and categorical data. Along the way, we hope to give you just enough information to get you started (but no more).

Contents:

- Before you start
- Installation
- Model syntax part 1
- A first example: CFA
- A second example: SEM
- Model syntax part 2
- Bringing in the means
- Multiple groups
- Growth curve models
- Categorical data
- Using a covariance matrix as input
- Estimators, missing values, standard errors and bootstrapping
- Indirect effects and mediation analysis
- Modification indices
- Extracting information from a fitted lavaan object
- Multilevel SEM