Get startedGet started for free

Analyze a Manifest Heywood Case

After reporting your findings, the adoption group recreated their survey to measure two factors: how effective their online story posts were in goodstory and how much an inperson interaction mattered. The new data is loaded under adoptsurvey. In this exercise, you will look for a Heywood cases on one of the manifest variables, rather than on the latent variable.

This exercise is part of the course

Structural Equation Modeling with lavaan in R

View Course

Exercise instructions

  • Analyze the updated data adoptsurvey for the two factor adopt.model with the cfa() function.
  • Watch for warnings after the cfa() has been analyzed.
  • Use the summary() function to explore which manifest variable is problematic.

Hands-on interactive exercise

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

# Build the model
adopt.model <- 'goodstory =~ pictures + background + loveskids
inperson =~ energy + wagstail + playful'

# Analyze the model and include the data argument
adopt.fit <- cfa(___)

# Summarize the model to view the negative variances
Edit and Run Code