Hello,
I would like to know if the medeff command is taking into account the 'panel data characteristic' of the dataset? I assumed that preparing the dataset to panel data (with tsset / xtset) in stata was sufficient to run the (normal) medeff command and retrieve the results. Subsequently, that Stata 'reads' the dataset as panel data when performing the medeff command. I am not that familliar with Stata so therefore I am not entirely sure that what I am doing is correct. I hope someone has experience in using the medeff command on longitudinal data, since I am quite stuck with my analysis at the moment. Moreover, if there are other methods of analyzing a mediation effect on longitudinal data. Thanks in advance!!
Best,
Quint Koevoets
I would like to know if the medeff command is taking into account the 'panel data characteristic' of the dataset? I assumed that preparing the dataset to panel data (with tsset / xtset) in stata was sufficient to run the (normal) medeff command and retrieve the results. Subsequently, that Stata 'reads' the dataset as panel data when performing the medeff command. I am not that familliar with Stata so therefore I am not entirely sure that what I am doing is correct. I hope someone has experience in using the medeff command on longitudinal data, since I am quite stuck with my analysis at the moment. Moreover, if there are other methods of analyzing a mediation effect on longitudinal data. Thanks in advance!!
Best,
Quint Koevoets
Comment