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.
Diese Übung ist Teil des Kurses
Structural Equation Modeling with lavaan in R
Anleitung zur Übung
- Analyze the updated data
adoptsurveyfor the two factoradopt.modelwith thecfa()function. - Watch for warnings after the
cfa()has been analyzed. - Use the
summary()function to explore which manifest variable is problematic.
Interaktive Übung
Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.
# 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