Thank you sir for the explanation video! Could you tell me the references explanation for my citation on my thesis, sir? Thank you so much for help!
@statisticsmadeeasy5458Ай бұрын
You are welcome. Please have a look at the references in the video description. You can also refer to the official Stata help file.
@fazelakbary7609Ай бұрын
Thank you, sir, for your useful video and your great instruction. If we have two mediators with 3 and 4 categories. Please kindly give me some advice on how we can proceed with the mediate command?
@statisticsmadeeasy545817 күн бұрын
You can use factor variables with the mediate command (type "help mediate" in Stata's command line). The simplest solution is to use "i." in front of categorical variables (e.g., i.var_name) so that Stata knows that the variable is not continuous.
@kalemguy18 күн бұрын
Is this mediate command designed for cross sectional data only? How about panel data?
@statisticsmadeeasy545817 күн бұрын
Currently, the "mediate" command is limited to cross-sectional data. Perhaps the following discussion will provide some further background to your panel data question: www.statalist.org/forums/forum/general-stata-discussion/general/1659266-mediation-analysis-panel-data