Dear Statalisters,
I am performing a mediation analysis using path models (using sem or gsem) where I am investigating how locus of control (continuous mediator) mediates the impact of socioeconomic status (income or education) on obesity (binary outcome). Studies on similar questions model this constellation of continuous mediator-binary outcome using weighted least-squares regression (WLSMV) using the software Mplus. I read the Stata Manuals, where I found information regarding the modelling of binary outcomes in path analysis/sem using logit or probit, but no information on how to carry out a mediation analysis where part of the indirect effect is represented by the effect of the exposure (income, continuous) on mediator (locus of control, continuous). Furthermore I found no explanation on how to implement a WLSMV in Stata. My questions therefore are:
1. do you have any advice on how I should model my mediational model with continuous mediator and binary outcome in Stata?
2. do you have any advice on how I could implement a WLSMV in Stata?
Thank you very much in advance for any help!
Sarah
PS: I am new on this forum, any advice on how I should improve my post is appreciated!
Related Posts with Mediation analysis using path models with continuous mediator and binary outcome
Constant weight variable in panel dataDear users, I am working with a static panel dataset including variables at the household level for…
Systems of simultaneous equations with non-linear constraintsDear Stata users, I have the following issue: I have to estimate a system of simultaneous equations…
Weight in panel dataDear users, I am working with a static panel dataset including variables at the household level for…
Excel Table split by socio-demographics using PutexcelHello fellow Stata community, I´m looking for a way to automate my Analysis Output to Excel using P…
egen maxdate gives dates 01/01/2500Hello everyone I am trying to get the difference between two dates to calculate follow up per patie…
Subscribe to:
Post Comments (Atom)
0 Response to Mediation analysis using path models with continuous mediator and binary outcome
Post a Comment