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.
Diese Übung ist Teil des Kurses
Structural Equation Modeling with lavaan in R
Anleitung zur Übung
- Use the
summary()function on yourtext.fitmodel. - Include the argument to view the standardized loadings.
- Do not include
fit.measuresarguments in this exercise.
Interaktive Übung
Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.
# 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