IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Structural Equation Modeling with lavaan in R

Visualizza il corso

Istruzioni dell'esercizio

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

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# 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
Modifica ed esegui il codice