BaşlayınÜcretsiz Başlayın

Fix the Manifest Heywood Model

To fix the error in the last model, we can use the var() function to calculate the variance of the manifest variable that is estimated as negative. Add a new line to the model specification code that sets the variance of the manifest variable and reanalyze the model to determine if the new adoption survey can be fit to a two-factor model. You should see that the model does not produce errors after fixing the variance for the problem manifest variable.

Bu egzersiz

Structural Equation Modeling with lavaan in R

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Summarize the model to view the negative variances
summary(adopt.fit, standardized = TRUE, fit.measures = TRUE, ___)
Kodu Düzenle ve Çalıştır