I need to estimate a multilevel moderated mediation model, but I can't find the right code for it. I was hoping someone can help me with the syntax. The group variable is country, the outcome variable is wellbeing, the independent variable is female, the control variables are education and income, the mediator is emotions, the moderators are social stability and economic stability (3 way interaction). Social stability and Economic stability are level 2 variables while the rest are level 1. Can someone please provide the syntax? I attached a screenshot of the model. Andrew Musau Clyde Schechter

Array