Hey everyone!
I get an unknow error message when i try to run the following modell with lavaan:
modell_5f <- 'f1 =~ bfi10_1r + bfi10_6
f2 =~ bfi10_4r + bfi10_9
f3 =~ bfi10_3r + bfi10_8
f4 =~ bfi10_10 + bfi10_5r
f5 =~ bfi10_2 + bfi10_7r
'
fit.modell_5f <- cfa(modell_5f, data=daten, meanstructure=T,
std.lv=T)
summary(fit.modell_5f, fit.measures=TRUE)
Warning messages:
1: In lav_model_vcov(lavmodel = lavmodel, lavsamplestats = lavsamplestats, :
lavaan WARNING: could not compute standard errors!
lavaan NOTE: this may be a symptom that the model is not identified.
2: In lav_object_post_check(object) :
lavaan WARNING: some estimated ov variances are negative
this is the modell output:
++lavaan (0.5-23.1097) converged normally after 8638 iterations
Number of observations 168
Estimator ML
Minimum Function Test Statistic 28.489
Degrees of freedom 25
P-value (Chi-square) 0.286
Model test baseline model:
Minimum Function Test Statistic 307.693
Degrees of freedom 45
P-value 0.000
User model versus baseline model:
Comparative Fit Index (CFI) 0.987
Tucker-Lewis Index (TLI) 0.976
Loglikelihood and Information Criteria:
Loglikelihood user model (H0) -2313.887
Loglikelihood unrestricted model (H1) -2299.643
Number of free parameters 40
Akaike (AIC) 4707.775
Bayesian (BIC) 4832.733
Sample-size adjusted Bayesian (BIC) 4706.085
Root Mean Square Error of Approximation:
RMSEA 0.029
90 Percent Confidence Interval 0.000 0.071
P-value RMSEA <= 0.05 0.756
Standardized Root Mean Square Residual:
SRMR 0.050
Parameter Estimates:
Information Expected
Standard Errors Standard
Latent Variables:
Estimate Std.Err z-value P(>|z|)
f1 =~
bfi10_1r 0.982 NA
bfi10_6 0.624 NA
f2 =~
bfi10_4r 0.389 NA
bfi10_9 1.676 NA
f3 =~
bfi10_3r 0.011 NA
bfi10_8 38.268 NA
f4 =~
bfi10_10 0.519 NA
bfi10_5r 0.869 NA
f5 =~
bfi10_2 38.788 NA
bfi10_7r 0.004 NA
Covariances:
Estimate Std.Err z-value P(>|z|)
f1 ~~
f2 -0.337 NA
f3 -0.004 NA
f4 0.243 NA
f5 0.005 NA
f2 ~~
f3 0.002 NA
f4 -0.012 NA
f5 -0.000 NA
f3 ~~
f4 0.001 NA
f5 0.000 NA
f4 ~~
f5 0.002 NA
Intercepts:
Estimate Std.Err z-value P(>|z|)
.bfi10_1r 3.280 NA
.bfi10_6 3.768 NA
.bfi10_4r 3.190 NA
.bfi10_9 3.042 NA
.bfi10_3r 3.244 NA
.bfi10_8 4.190 NA
.bfi10_10 3.875 NA
.bfi10_5r 3.655 NA
.bfi10_2 3.571 NA
.bfi10_7r 3.101 NA
f1 0.000
f2 0.000
f3 0.000
f4 0.000
f5 0.000
Variances:
Estimate Std.Err z-value P(>|z|)
.bfi10_1r 0.083 NA
.bfi10_6 0.444 NA
.bfi10_4r 1.062 NA
.bfi10_9 -1.472 NA
.bfi10_3r 1.363 NA
.bfi10_8 -1463.813 NA
.bfi10_10 0.780 NA
.bfi10_5r 0.745 NA
.bfi10_2 -1503.422 NA
.bfi10_7r 1.127 NA
f1 1.000
f2 1.000
f3 1.000
f4 1.000
f5 1.000
Also modindices isn't working:
lavaan ERROR: could not compute modification indices; information matrix is singular
If someone could help me, i'll be glad!
Thank you!
P.S.