Hello, I am a PhD student and working on my thesis. I have the longitudinal data, and thus, I am using the three-level HLM to examine the association between y (country level) and x (individual level) with mixed code: mixed y x control variables(individual level) || ID2:|| ID: age, covariance(unstructured) log.
when I gradually introduced meditator variables (country level) into this model, I found the reduced significance of x. Now, I would like to know the mediation ratio of mediators, but I did not find a suitable code. I found ml_mediation is for two-level models. Are there any other codes for this analysis? Any ideas would be greatly appreciated.
when I gradually introduced meditator variables (country level) into this model, I found the reduced significance of x. Now, I would like to know the mediation ratio of mediators, but I did not find a suitable code. I found ml_mediation is for two-level models. Are there any other codes for this analysis? Any ideas would be greatly appreciated.
Comment