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

Mediation analysis #717

Open
ghammad opened this issue Sep 8, 2023 · 4 comments
Open

Mediation analysis #717

ghammad opened this issue Sep 8, 2023 · 4 comments

Comments

@ghammad
Copy link

ghammad commented Sep 8, 2023

Hello,

first, thanks a lot for making Bambi available to the community. Very useful.

I followed PYMC use case example on Bayesian Mediation Analysis but failed to translate it to a Bambi model.

Would it be possible to either add such example in Bambi's doc or to provide some guidance on how to do it?

Thanks you in advance.

Greg

@tomicapretto
Copy link
Collaborator

Hi @ghammad ! Thanks for opening the issue.

I just had a look at the model in the link you shared. I think it could be reproduced with a custom family. If I can, I will have a try in the next few days. In the meantime, just let me know if you have any update.

@ghammad
Copy link
Author

ghammad commented Sep 14, 2023

Hi @tomicapretto

Thanks for the reply. Not sure I can help you out with setting up a custom family. However, I'd be happy to try it and compare it the original pyMC implementation if it helps.

@tomicapretto
Copy link
Collaborator

Thanks a lot for the offering! I'm currently traveling but I'll have a try when I get back home (~ 3 weeks). I'll try to keep you posted!

@danieltomasz
Copy link

this is something I am also interested in:)

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

No branches or pull requests

3 participants