Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • moderated mediation model

    Dear Professor,
    I'm doing mediated effects now, and in the model, my mediated variables are two categorical variables. Since M+-1SD only makes sense for continuous variables, what should I do if my M is 0.
    Thank you all.

  • #2
    Is your moderator continuous? If so, you could plot a separate slope for each of the groups comprising the mediators. Here is a much simpler example:
    Code:
    sysuse nlsw88.dta, clear
    reg wage i.married##c.age 
    margins married, at(age=(35(1)44))
    marginsplot
    Click image for larger version

Name:	Example_graph_dichotomous_by_continuous_moderation.png
Views:	1
Size:	126.3 KB
ID:	1740611

    Comment


    • #3
      Thank you for your answer. But my moderating variable is also a categorical variable. Then, what have I done?Thank you very much

      Comment


      • #4
        You can still use margins. Play with the marginsplot command to get different types of graphs. See this Stata youtube video on margins with categorical by categorical interactions. See also here.

        Comment

        Working...
        X