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

adjustments to the negative binomial tutorial - #884

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

connor-pph
Copy link
Contributor

hey @tomicapretto - I was working through the negative binomial tutorial (which is great btw!) and was wondering if you'd be open to some edits/adjustments for clarity (in the introduction mostly)

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@GStechschulte
Copy link
Collaborator

Hey @connor-pph thanks for the PR and suggestions. Briefly looking at the commit, it looks you try to remove the first person point of view and add some (and or reword) sections for clarity?

@connor-pph
Copy link
Contributor Author

hey sorry, should have said more in pr summary.

I was a bit confused by the intro when working through the notebook and it was helpful for me to frame the difference between modeling failures/trials and where y starts based on that. I had no problem with the first person POV - it would have just felt strange to pretend I was the original author =]

And I did a couple small typo's later in the notebook.

@@ -18,28 +18,36 @@
"cell_type": "markdown",
Copy link
Collaborator

@tomicapretto tomicapretto Jan 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would replace "we can use the following definition:" with "the probability mass function (pmf) results:" and directly show the first pmf you list.

Then I find it a bit repetitive that you say twice, and very close, that Y starts at zero when modeling failures, but it's fine.


Reply via ReviewNB

@@ -18,28 +18,36 @@
"cell_type": "markdown",
Copy link
Collaborator

@tomicapretto tomicapretto Jan 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you replace PyMC3 with PyMC and put an up-to-date link?


Reply via ReviewNB

@@ -18,28 +18,36 @@
"cell_type": "markdown",
Copy link
Collaborator

@tomicapretto tomicapretto Jan 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SciPy people write it with capital P :)


Reply via ReviewNB

@tomicapretto
Copy link
Collaborator

@connor-pph thanks for the changes. I liked the first person when I wrote it, but I think the modifications are good. I'm asking to update a few things. And I would like to ask to update any outdated link you may find. Thanks!

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

Successfully merging this pull request may close these issues.

3 participants