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

Implement Maxwell Distribution #261

Merged
merged 6 commits into from
Nov 11, 2023
Merged

Conversation

wd60622
Copy link
Contributor

@wd60622 wd60622 commented Nov 7, 2023

Have the logp tests working like the other two distributions. I tried to implement the logcdf but am hitting some difficulties with those. The values are relatively close but are off by only a decimal in a few cases. I'm checking the translation from wikipedia formula and will look for some simplifications if possible. I see the scipy implements like this. If anything is obvious, let me know

@ricardoV94
Copy link
Member

You don't have to implement the logp or logcdf for this one, PyMC can figure it out

@ricardoV94
Copy link
Member

@wd60622 We also need to revisit the Skellam for the case rv_size_is_none right?

@wd60622
Copy link
Contributor Author

wd60622 commented Nov 10, 2023

@wd60622 We also need to revisit the Skellam for the case rv_size_is_none right?

I added it to the BNB PR. I just tagged you

@ricardoV94 ricardoV94 added the enhancements New feature or request label Nov 10, 2023
@ricardoV94
Copy link
Member

Just need to solve the conflicts from merging the other PR

@ricardoV94 ricardoV94 merged commit 6d8f569 into pymc-devs:main Nov 11, 2023
@ricardoV94
Copy link
Member

Thanks @wd60622 !

@wd60622 wd60622 deleted the add_maxwell branch November 11, 2023 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancements New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants