Hi all,
I am running a between groups SEM with multiple mediators. In one group there is a significant indirect effect. To determine which mediator is contributing to this indirect effect, I was attempting to use the medsem command. I did the following:
1) installed the medsem package using, "scc install medsem, replace"
2) ran my group SEM with the correct level of invariance
3) then ran the command for the first mediator, "medsem, indep(X) med(M) dep(Y)" - where X, M, Y, are all latent variables within the SEM. However when I run the command I get the error, "Y:M not found r(111)".
Any help would be greatly appreciated! I have used this command before, and didn't run into any problems, so am wondering if it something about the group level analysis.
Related Posts with Error when using medsem command in simultaneous group SEM estimation
Need advice on recoding categorical variables into continuous variables and vice versaI am new to data analysis and Stata, so I apologise if I have not explained this very well. I have …
Stata 17- Percentages of the total sumHello Everyone, I have a list of individuals and their incomes. I have divided them into 5 quintiles…
Monthly Unemployment Rate Calculation for Two Groups of StatesHi, I am working on a project in which I have data from the CPS. I also have data that tells me when…
Consolidating two line graphs and editing X and Y axis labels and title on Line GraphHi, I am working with a dataset of 14 observations, and I am trying to make a line graph using these…
testing difference between coefficients in different equationsI would like to run the following regressions: xtreg a x y z i.mth_seq, fe vce(robust) *equation 1 …
Subscribe to:
Post Comments (Atom)
0 Response to Error when using medsem command in simultaneous group SEM estimation
Post a Comment