Hi Everyone,
Here we wanted to check the strongest method of comparing a single parameter between SEM models. In this case we have the same DV but different IV's and thus measurement models. E.g., a range of mental health causes. Each of these models have the same DV, Depression. We want to compare the strength of the regression parameter between each of these models - that is, which IV has the strongest relationship with depression.
The solution that comes to mind is to just use t-tests (or Chi-2). However, I am unsure if lavaan or SemTool has a function for this already.
# Run Models
model1 <- sem(model1, data = data1)
model2 <- sem(model2, data = data2)
# Extract the SEs of the parameter estimates
summary1 <- summary(model1)
summary2 <- summary(model2)
# Extract the path coefficient estimates and SEs
coef1 <- summary1$coefficients[["IV -> DV"]]
se1 <- summary1$se[["IV -> DV"]]
coef2 <- summary2$coefficients[["IV -> DV"]]
se2 <- summary2$se[["IV -> DV"]]
Then run a t-test between these values. Ideally, it would be nice to identify the difference between regression parameters required to reach significance. E.g., a difference of .15 is < .01. However, this might not be possible given the differences in error between models.
Kind Regards,
Conal