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
Controlling the space occupied by a axis labelsHi all, I am trying to create a panel graph of two histograms and a scatter using graph combine. T…
Comparing regression coefficients across groups in presence of fixed effects with suestHi all, I am trying to run regressions with a building by month panel. Each building have a unique b…
Granger-causality testHello Is it possible to perform a Granger-causality test including an instrumental variable using pa…
Generate dates that correspond to the 1st Tuesday of each monthHi, The Australian RBA meets the first Tuesday of each month 11 times a year (every months but Janu…
How to Aggregate Repeating Dates into new tableI can't remember how to effectively reshape repeating dates in a time series into a new table. Belo…
Subscribe to:
Post Comments (Atom)
0 Response to Error when using medsem command in simultaneous group SEM estimation
Post a Comment