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
Moving average for panel data with missing valuesGood morning I am trying to solve an issue with a big dataset (unbalanced panel with several missing…
Creating RDD Tables with Rdrobust and Estout PackagesI'm working on a project where I'm using running a regression discontinuity design for multiple band…
Growth rates from Panel dataset.Hi Statalist, I have a panel dataset (monthly survey responses) which is defined by a firm id varia…
Stata data manipulation filtering, summing and removing duplicates from quarterly observation dataHello dear Statalist, I am quite new with Stata and I could really need help for my thesis. I have…
Unduplicating data and creating a new dataset with distinct observationsHello, I have a dataset that contains duplicate observations. I would like to create and save a new…
Subscribe to:
Post Comments (Atom)
0 Response to Error when using medsem command in simultaneous group SEM estimation
Post a Comment