Add more causal thinking into moderation notebook#662
Open
drbenvincent wants to merge 11 commits intopymc-devs:mainfrom
Open
Add more causal thinking into moderation notebook#662drbenvincent wants to merge 11 commits intopymc-devs:mainfrom
drbenvincent wants to merge 11 commits intopymc-devs:mainfrom
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Member
|
@drbenvincent @NathanielF can we merge this? |
Contributor
|
Oh gosh. Totally missed this. Will review today @drbenvincent , @aloctavodia |
Contributor
Author
|
Good catch! I've probably learnt a lot more about causality since, so I'm fine if there are edits needed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR partially addresses #555 in that it adds more causal thinking into the existing moderation notebook, but not the mediation notebook. There is more that I want to do to this notebook, but unfortunately it will have to wait a little while. But I think the updates so far are worth a merge.
ConstantData->Datanodes in the pymc modelDefinitely bring in insights from Rohrer, J. M., Hünermund, P., Arslan, R. C., & Elson, M. (2022). That’s a lot to process! Pitfalls of popular path models. Advances in Methods and Practices in Psychological Science, 5(2), 25152459221095827.I've added this into Further Reading, but there isn't much concrete actionable information in this paper to add here.Almost certainly add this reference as a good primer for causal thinking with observational data: Rohrer, Julia M. "Thinking clearly about correlations and causation: Graphical causal models for observational data." Advances in methods and practices in psychological science 1.1 (2018): 27-42.I've added this into Further Reading, but there isn't much concrete actionable information in this paper to add here.📚 Documentation preview 📚: https://pymc-examples--662.org.readthedocs.build/en/662/