ComenzarEmpieza gratis

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.

Este ejercicio forma parte del curso

Structural Equation Modeling with lavaan in R

Ver curso

Instrucciones del ejercicio

  • 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.

Ejercicio interactivo práctico

Prueba este ejercicio y completa el código de muestra.

# 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
Editar y ejecutar código