I have a data set of an experimental survey with 3 conditions (manipulation 1, manipulation 2 & control). I want to test a mediation model using path analysis and compare the mediation on the three groups on a model with 2IVs, 2 Mediators and 2 DVs. First, I have fitted a direct model (2 IVs predicting 2 DVs + covariances between the two IVs and the two DVs) and use the command group="Condition". The results obtained in R look like this:
lavaan 0.6-4 ended normally after 66 iterations
Optimization method NLMINB
Number of free parameters 42
Number of equality constraints 2
Row rank of the constraints matrix 2
Number of observations per group
2 102 <-- Condition 2
1 97 <-- Condition 1
0 109 <-- Control Condition
Estimator ML
Model Fit Test Statistic 3.515
Degrees of freedom 2
P-value (Chi-square) 0.172
Chi-square for each group:
2 3.515
1 0.000
0 0.000
Model test baseline model:
Minimum Function Test Statistic 86.690
Degrees of freedom 18
P-value 0.000
User model versus baseline model:
Comparative Fit Index (CFI) 0.978
Tucker-Lewis Index (TLI) 0.801
Loglikelihood and Information Criteria:
Loglikelihood user model (H0) -1925.258
Loglikelihood unrestricted model (H1) -1923.500
Number of free parameters 40
Akaike (AIC) 3930.516
Bayesian (BIC) 4079.720
Sample-size adjusted Bayesian (BIC) 3952.857
Root Mean Square Error of Approximation:
RMSEA 0.086
90 Percent Confidence Interval 0.000 0.231
P-value RMSEA <= 0.05 0.249
Standardized Root Mean Square Residual:
SRMR 0.020
Parameter Estimates:
Information Expected
Information saturated (h1) model Structured
Standard Errors Standard
Group 1 [2]:
Regressions:
I am assuming that the multigroup command is fitting the model to each group independently, right? Should I be using a different command to fit the model independently to each group or subset of the data?
I am able to compare if the models are significantly different from each other as I would do with a two group model? What does the p value highlighted is indicating? Differences between the three groups or differences between the two conditions (indicated as 1 and 2 in the Condition variable) and the Control condition (marked as 0 in the Condition variable)?
Why do I only get a chi-square for group 2? Should I do two comparison using a dummy variable each time (i.e., 1 = conditions vs 0 = control and then, condition 1 = 1 vs condition 2 = 0 on a subset without the control group scores)?