lavaan (0.5-23.1097) converged normally after 24 iterations
Used Total
Number of observations 210 320
Estimator DWLS
Minimum Function Test Statistic 0.000
Degrees of freedom 0
Minimum Function Value 0.0000000000000
Model test baseline model:
Minimum Function Test Statistic 25.446
Degrees of freedom 3
P-value 0.000
User model versus baseline model:
Comparative Fit Index (CFI) 1.000
Tucker-Lewis Index (TLI) 1.000
Root Mean Square Error of Approximation:
RMSEA 0.000
90 Percent Confidence Interval 0.000 0.000
P-value RMSEA <= 0.05 NA
Standardized Root Mean Square Residual:
SRMR 0.000
Weighted Root Mean Square Residual:
WRMR 0.000
Parameter Estimates:
Information Observed
Standard Errors Bootstrap
Number of requested bootstrap draws 1000
Number of successful bootstrap draws 1000
2) add group="Gender", force parameters to be the same between gender:
lavaan (0.5-23.1097) converged normally after 33 iterations
Used Total
Number of observations per group
Female 125 193
Male 85 127
Estimator DWLS
Minimum Function Test Statistic 4.772
Degrees of freedom 4
P-value (Chi-square) 0.311
Chi-square for each group:
Female 1.330
Male 3.442
Model test baseline model:
Minimum Function Test Statistic 24.908
Degrees of freedom 6
P-value 0.000
User model versus baseline model:
Comparative Fit Index (CFI) 0.959
Tucker-Lewis Index (TLI) 0.939
Root Mean Square Error of Approximation:
RMSEA 0.043
90 Percent Confidence Interval 0.000 0.160
P-value RMSEA <= 0.05 0.440
Standardized Root Mean Square Residual:
SRMR 0.045
Weighted Root Mean Square Residual:
WRMR 0.892
Parameter Estimates:
Information Observed
Standard Errors Bootstrap
Number of requested bootstrap draws 1000
Number of successful bootstrap draws 1000
3) allow parameters to be different between gender:
Used Total
Number of observations per group
Female 125 193
Male 85 127
Estimator DWLS
Minimum Function Test Statistic NA
Degrees of freedom -2
Minimum Function Value 0.0000000000000
Chi-square for each group:
Female NA
Male NA
User model versus baseline model:
Comparative Fit Index (CFI) NA
Tucker-Lewis Index (TLI) NA
Root Mean Square Error of Approximation:
RMSEA NA
90 Percent Confidence Interval NA NA
P-value RMSEA <= 0.05 NA
Standardized Root Mean Square Residual:
SRMR 0.000
Weighted Root Mean Square Residual:
WRMR NA
Parameter Estimates:
Information Observed
Standard Errors Bootstrap
Number of requested bootstrap draws 1000
Number of successful bootstrap draws 1000
4) check if the two models are different
> anova(fit.p16a18c24,fit.p16a18c24.d)
Chi Square Difference Test
Df AIC BIC Chisq Chisq diff Df diff Pr(>Chisq)
fit.p16a18c24.d -2
fit.p16a18c24 4 4.7721 6
Thanks in advance,
NewInMediation