Dear Statalistusers,
i want to perform a 2-1-1 and a 1-1-1 multileve mediationanalysis. One antecedent Variable is messured at Level 1 (Xij) and the other one at level 2 (Xj). The mediatorvariable (Mij) and the dependent Variable (Yij) at level 1. I want to analyse if the effect from Xij and/ or Xj on Yij is mediated by Mij. I am using Stata 12.

I read the following articles, which suggest different methods:
Is there anyone how has had to deal whith this problem as well? Can anyone recommend a stata command or a approach for doing a multilevel-mediation?
I am conscious that this isn't a very specific question but i would be very greatful for any advice.
Thanks in advance and kind regards,
Amelie
i want to perform a 2-1-1 and a 1-1-1 multileve mediationanalysis. One antecedent Variable is messured at Level 1 (Xij) and the other one at level 2 (Xj). The mediatorvariable (Mij) and the dependent Variable (Yij) at level 1. I want to analyse if the effect from Xij and/ or Xj on Yij is mediated by Mij. I am using Stata 12.
I read the following articles, which suggest different methods:
- Krull & MacKinnon (2001): Multilevel Modeling of Individual and Group Level Mediated Effects: https://pdfs.semanticscholar.org/fe1...756.1531144934
I found the following stata command that refers to this article and is provided from UCLA: Statistical Consulting: https://stats.idre.ucla.edu/stata/fa...data-method-1/
Code:ml_mediation
- Bauer, Preacher & Karen (2006): Conceptualizing and Testing Random Indirect Effects and Moderated Mediation in Multilevel Models: New Procedures and Recommendations: https://pdfs.semanticscholar.org/8a5...cfc2c053c9.pdf
For this article UCLA uploaded a stata-syntax as well: perform-mediation-with-multilevel-data-method-2/This approach combines the dependent variable and the mediator into a single stacked response variable and runs one mixed model with indicator variables for the DV and mediator to obtain all of the values needed for the analysis.
Is there anyone how has had to deal whith this problem as well? Can anyone recommend a stata command or a approach for doing a multilevel-mediation?
I am conscious that this isn't a very specific question but i would be very greatful for any advice.
Thanks in advance and kind regards,
Amelie
Comment