CommencerCommencer gratuitement

Examine Standardized Loadings

You have created and summarized the text-speed model in previous steps using the HolzingerSwineford1939 dataset. You were able to view the coefficients for the model using the summary() function. However, the unstandardized coefficients in the Estimate column are often hard to interpret for how well they represent the latent variable.

In this exercise, add the standardized = TRUE argument to your summary() function to view the standardized loadings. Look at the Std.all column for the completely standardized solution to see which variables have a poor relationship to the text speed latent variable.

Cet exercice fait partie du cours

Structural Equation Modeling with lavaan in R

Afficher le cours

Instructions

  • Use the summary() function on your text.fit model.
  • Include the argument to view the standardized loadings.
  • Do not include fit.measures arguments in this exercise.

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Load the lavaan library
library(lavaan)

# Load the data and define model
data(HolzingerSwineford1939)
text.model <- 'textspeed =~ x4 + x5 + x6 + x7 + x8 + x9'

# Analyze the model with cfa()
text.fit <- cfa(model = text.model, data = HolzingerSwineford1939)

# Summarize the model
Modifier et exécuter le code