ComeçarComece de graça

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.

Este exercício faz parte do curso

Structural Equation Modeling with lavaan in R

Ver curso

Instruções do exercício

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

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

# 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
Editar e executar o código