Mediation coefficients #360
Unanswered
swank10009
asked this question in
Q&A
Replies: 2 comments 2 replies
-
I have no idea why the text above was struck through. That was not intentional. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, Can you please provide example scripts and data with pingouin/pingouin/regression.py Lines 952 to 968 in 5c5f61a Please see this screenshot from Hayes and Rockwood 2017 for more details: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have a question about the output from pingouin's mediation_analysis. Shouldn't the 'Indirect' coefficient be the product of the coefficients from 'M
X' and 'YM'? When I compare the output to that from the pyprocessmacro package, everything is the same except the stats for 'YM'. What is interesting is that 'Indirect' (the total indirect effects) is also the same, which suggests that the correct coefficient for 'YM' is being calculated. However, it doesn't seem like that is what is being returned.Please let me know if I am misinterpreting something.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions