Hello everyone!
I built a gsem model in the SEM builder where I had 1 continuous indepedent, 1 continuous mediator and 1 binary outcome. I run the model and took the regression coefficients; however, the command to estimate "Direct and indirect effects" didn't run and returned the following messege "invalid subcommand teffects".
How can I procced with this analysis?
Related Posts with Mediation analysis with binary outcome
mlogit + margins + testUsing Stata 15.1, I was wondering how I test for equality of the coefficients for the marginal effec…
Time series ARIMA, how to forecast future?Hi everyone, I am new to STATA time series, and here is a question I have on how to perform forecas…
marginsplot with custom labelsHi, I saw a discussion about this topic here: https://www.statalist.org/forums/for...-custom-labels…
Set title for the second y-axis in scatter chart with by()Dear Statalisters, I plot the chart as below Code: twoway (scatter var1 rev, sort) (scatter var2…
Identify if single cell contains multiple substringsHi, I'd like to identify observations when a string variable contains multiple substrings. In my d…
Subscribe to:
Post Comments (Atom)
0 Response to Mediation analysis with binary outcome
Post a Comment