Hi Statalist Members,
I am using the following code to run some mediation analyses (single mediator) to my entire sample. I wondered whether it is possible to do a mediation analysis to a subsample of the same sample in Stata? I am using Stata 17.
sem (X -> M Y) (M -> Y)
Thank you.
Related Posts with How to do Mediation Analyses to Subsamples
Controlled interrupted time series with count data using glm, panel data, and Newey-West standard errorsHi, I am trying to conduct an interrupted time series analysis with an intervention group and a con…
Problem with misspecificationHello All, Using a dataset of 600,000 observations and 60 variables I ran regress and then tested f…
Help with SFA - sfpanel model BC95Dear Stata users, I am working on "the trade potential between China and Central and Eastern Europe…
How to use data in ARDL Bounds testThis is my first time to use Stata in fairly complicated research. Must the variables which are in l…
2SLS/ Interpreting Cragg-Donald Wald F statistic and Stock-Yogo weak ID test critical valuesHello, I am running a robustness check using 2SLS and was having trouble interpreting the Cragg-Dona…
Subscribe to:
Post Comments (Atom)
0 Response to How to do Mediation Analyses to Subsamples
Post a Comment