Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PM in no interaction #2

Open
jhcreed opened this issue Aug 26, 2019 · 0 comments
Open

PM in no interaction #2

jhcreed opened this issue Aug 26, 2019 · 0 comments

Comments

@jhcreed
Copy link
Member

jhcreed commented Aug 26, 2019

Proportion mediated differs largely from the values from SAS when there is no interaction between exposure and mediator. See tests-no-interaction. However the PM from SAS doesnt necessarily make sense either. For example in Explanation In Causal Inference pg 47 it says "When the effects are used on the difference scale, the proportion mediated is then just defined as the ratio of the natural indirect effect to the total effect, that is, PM = NIE/TE". Using the continuous outcome/mediator example in tests-no-interaction the SAS macro returns a NIE = -0.001643, TE = 0.071753 and PM = 0.49434 but -0.001643/ 0.071753 = -0.022898 not 0.49434. So different rules when there is no iteration?

Please double check @tgerke ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant