Get startedGet started for free

Run a CFA and interpret loadings

It's finally time to actually run a CFA! You've got the syntax all set up, and now all that's left is to plug it into the sem() function along with the appropriate dataset.

Now that you've created syntax and run the model, it's time to look at the results. Output can be viewed using the summary() function. After the fit statistics, you'll see the r-squared values for each of the items, which show the proportion of variance in the factor explained by that item. Below those, you'll see parameter estimates for the item/factor relationships (denoted with lam[]), the covariances between factors (denoted with C[]), and variances of each individual item (denoted with V[]).

This exercise is part of the course

Factor Analysis in R

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Use the sem() function to run a CFA
theory_CFA <- sem(___, data = ___)
Edit and Run Code