I am trying to fit a multilevel model that includes mediators. In particular I am interested in whether women have higher responses to stress than men (cortisol is my outcome). I believe there are two pathways that may explain these differences. One path way hypothesizes that women will report more stressors in a day which will lead to higher negative affect for women. The final portion of this path is that negative affect will lead to higher cortisol levels. (so, gender -> stressors -> NA -> cortisol). These data are taken from a daily diary study in which people provided data over four days However, the documentation on ml_mediation doesn't show me how to fit more than one mediator, and, sadly, gsem keeps telling me that "<- is specified where a option is expected." The "<-" symbol appears to be part of the syntax, but my Stata doesn't seem to like it. Anyhow, I'm wondering if anyone would suggest whether gsem or ml-mediation is better for my model and how to fit more than one mediator. Further, can anyone explain why the arrows "<-" that are specified in the gsem syntax won't work in my commands. Thanks (long time reader, first time user).
-
Login or Register
- Log in with
Comment