Hello,
I need some advice on whether what I want to do is nonsense because I didn't find previous examples on this. I'm running an SEM with a linear and quadratic term (X and X2) and a continuous mediator (M) on Y. With -estat teffects- I can get the indirect effects of X and X2. However, I'd like to learn about their joint indirect effect. What I see in the output is that there is a direct effect of X on Y but not an indirect effect via M, while there is no direct effect of X2 on Y but an indirect one via M.
I tried -sem, coeflegend- followed by -nlcom- like in:
nlcom ([M: b_X] * [Y: b_M]) + ([M: b_X2] * [Y: b_M])
Best wishes,
Seb
Related Posts with SEM: estimating curvilinear effects
How to do a DiD-analysis in stata with multiple pre- and post-observations per firm and different treatment times per firm?Hi all, I am studying the effects of stock splits on the liquidity of a firm. In my sample I have c…
Dataex to describe dataHi all, I need help merging two sets of confidential data and I am not sure who to sure dateex to p…
Marginal effects using dydx for panel data regression using country fixed effects and a time-invariant variable in the interaction term.Dear Statalisters, I am new to the forum and I have tried to find a solution for my problem. I coul…
Problems merging dataHi all, I have been trying to merge my data using key variables but error I keep getting is : " key…
georoute troubleshootingI'm trying to generate travel distances using georoute in Stata but getting different error messages…
Subscribe to:
Post Comments (Atom)
0 Response to SEM: estimating curvilinear effects
Post a Comment