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
Computer says 'no' - How to allocate more memory for STATA[Please note: I've looked at a few other forums with similar problems, but the solutions don't seem …
OlogitI have cross-sectional data for a group of people, the dependent variable is an ordinal variable, an…
Refining starting values stuck during multilevel modellingDear all, I am running a multilevel model for my paper (individuals nested in countries). For the b…
CREATE A BINARY VARIABLE IF A VARIABLE <0 ON SEVERAL YEARSDear statalist, I am trying to construct a binary variable. This binary variable should take the val…
Managing overlapping datesDear all, I am working a study on sick leave in relation to an interested outcome. However, I am st…
Subscribe to:
Post Comments (Atom)
0 Response to Error when using medsem command in simultaneous group SEM estimation
Post a Comment