How to include time and unit fixed effects in a mediation model using R?
I’m trying to get the indirect effects of the mediation variables m1, m2, and m3 in my dependent variable “y”. But also considering the effect of the independent variable “iv” on each of these mediation variables and on the dependent variable.