-
Notifications
You must be signed in to change notification settings - Fork 252
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
Harmonize prior and posterior predictive plots in MMM module #1170
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1170 +/- ##
==========================================
- Coverage 95.61% 95.59% -0.03%
==========================================
Files 39 39
Lines 4063 4059 -4
==========================================
- Hits 3885 3880 -5
- Misses 178 179 +1 ☔ View full report in Codecov by Sentry. |
I'll revert the error message change that is making a test fail. |
Can I ask why there is an "observed" series plotted in the |
There is also an "observed" series in the MMM example notebook prior predictive plot. |
@cluhmann this is the observed series we (I?) usually compare with when I am doing the prior-predictive checks. |
Ah. So the observed series looks like it's zero because it's variability is an order of magnitude smaller than the prior predictive plot? |
Exactly! I'll probably make the prior stricter. |
I should have realized that. I need more coffee. |
I am rushing to get my pymc-marketing talk done (which is why I am running into these little documentation issues), so I can't give this a thorough review right now. But I probably could tomorrow (or someone like @wd60622 could). Sorry 😬 |
all good! I will start solving in another branch the other issues (good luck in the talk ;) and thanks for all the feedback) |
I will give review today when I can |
@@ -45,7 +45,7 @@ | |||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we change the verbiage here as well. The use of "reasonable" is a bit strange
Also, would we want to comment on the fact that the prior predictive includes negative values... That might element to highlight
Reply via ReviewNB
View / edit / reply to this conversation on ReviewNB wd60622 commented on 2024-11-06T20:35:15Z Can we switch this out with Prior class. Also, why the change in prior for the other notebook and not here |
View / edit / reply to this conversation on ReviewNB wd60622 commented on 2024-11-06T20:35:16Z Same idea here for conclusion. At least highlight that idea of negative density |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some commentary on the verbiage around the stuff mainly. Do you think the Likelihood distribution is something that we would like to change? Maybe first here in the notebook then in the defaults
WDYT?
Yes, let's look this into next iterations. |
@wd60622 I addressed your comments :) |
Let's ship it! |
Failing because of this: #1148 |
Closes #1144
I simply extend the posterior predictive functionality to the prior predictive case without copy-paste but rather abstracting the plotting function by "group".
📚 Documentation preview 📚: https://pymc-marketing--1170.org.readthedocs.build/en/1170/