Skip to content

Proposal: Censored Distribution Modifier#26

Merged
aloctavodia merged 4 commits intopymc-devs:mainfrom
juanitorduz:censored
Feb 6, 2026
Merged

Proposal: Censored Distribution Modifier#26
aloctavodia merged 4 commits intopymc-devs:mainfrom
juanitorduz:censored

Conversation

@juanitorduz
Copy link
Contributor

Follows the logic in https://www.pymc.io/projects/docs/en/latest/_modules/pymc/distributions/censored.html#Censored

I am open to the api design; this is just a proof of concept. Feedback is welcome :)

@aloctavodia
Copy link
Member

Great! Here you can find the PreliZ interpretation, which can be useful as a reference to implement moments, entropy, etc
https://github.com/arviz-devs/preliz/blob/main/preliz/distributions/censored.py

@juanitorduz
Copy link
Contributor Author

Added some additional stats :)

@aloctavodia
Copy link
Member

Is this ready for review? Should we remove the docstrings? we don't have them for the other distributions

@juanitorduz
Copy link
Contributor Author

Yes, it is ready for review :)

I can certainly remoev the docstrings :)

@aloctavodia
Copy link
Member

Not sure how we will handle docstrings, users of these functions are likely people who already understand the details. Still, it makes sense to have some documentation.

@aloctavodia
Copy link
Member

Let's remove them.

@juanitorduz
Copy link
Contributor Author

6afbb9c

removed inhttps://github.com//pull/26/commits/6afbb9c57f946ce2230d6c2fbf6c59d0fedf143a

@aloctavodia aloctavodia merged commit 10c7a99 into pymc-devs:main Feb 6, 2026
2 checks passed
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.

2 participants