Dear All,
I am having a huge trouble with figuring out how I can do a moderated mediation in Stata. I have learned about mediation package in Stata and I have used it to see if the variable "m" is mediating the relationship between a and b. however, in my theory I also hypothesize that the effect of a on m is conditional on another variable, which I call here "z". I was therefore wondering how I could test it with the help of either medeff command of the mediation package, or via another way. I would be so grateful if you could help me out with it.
Best
I am having a huge trouble with figuring out how I can do a moderated mediation in Stata. I have learned about mediation package in Stata and I have used it to see if the variable "m" is mediating the relationship between a and b. however, in my theory I also hypothesize that the effect of a on m is conditional on another variable, which I call here "z". I was therefore wondering how I could test it with the help of either medeff command of the mediation package, or via another way. I would be so grateful if you could help me out with it.
Best
Comment