Covariance modelling

The CFA examples here were adapted from a guide originally produced by Jon May

This section covers path analysis (path models), confirmatory factor analysis (CFA) and structural equation modelling (SEM). You are encouraged to work through the path models and CFA sections, and especially the material on assessing model fit, before tacking SEM.

Before you start this either section make sure you have the lavaan package installed (see installing packages).

install.packages(lavaan)

And load the package to make all the functions available with minimal typing:

library(lavaan)