Get startedGet started for free

Examine Modification Indices

The fit indices for our epi.model are low (in the .70s) for CFI and TLI. You can use modification indices to find potential parameters (paths) to add to the model specification to improve model fit.

Examine the modification indices for the epi.model and add the path with the largest mi to your model. The libraries and model have been loaded for you. After you edit your model, rerun the model summary to examine the change in fit indices.

This exercise is part of the course

Structural Equation Modeling with lavaan in R

View Course

Hands-on interactive exercise

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

# Original model summary
summary(epi.fit, standardized = TRUE, fit.measures = TRUE)

# Examine the modification indices
Edit and Run Code