ComeçarComece de graça

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[]).

Este exercício faz parte do curso

Factor Analysis in R

Ver curso

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

# Use the sem() function to run a CFA
theory_CFA <- sem(___, data = ___)
Editar e executar o código