doc: detailed documentation of Beta and BetaProportion distribution#2185
Merged
Conversation
juanitorduz
approved these changes
May 7, 2026
Collaborator
juanitorduz
left a comment
There was a problem hiding this comment.
LGTM!
In principle, do we want this for all distributions? Is that the plan? (We could do this over time). @fehiepsi ?
Collaborator
Author
|
Following #2109, I planned to gradually improve the documentation by adding implementation details for each method. I would be delighted to see others contribute to this effort as well 😄. |
Collaborator
Amazing! I can help as well! |
Member
|
That would be awesome! |
Qazalbash
added a commit
that referenced
this pull request
May 11, 2026
…al distributions (#2188) * doc: add math explanations for Normal, Cauchy, and Exponential distributions (#2187) Add LaTeX math explanations, parameter documentation, and method docstrings following the format established in #2185 (Beta/BetaProportion). Covers PDF, log_prob, CDF, ICDF, mean, variance, entropy, and sample for each distribution. Cauchy docstrings note the undefined mean/variance. * Address review feedback: add log_cdf equation and use \frac - Add equation for Normal.log_cdf with note about jax.scipy.stats.norm.logcdf implementation - Replace \tfrac with \frac in Cauchy.icdf equation Addresses review comments from @Qazalbash in PR #2188 * add icdf equation for Normal distribution * fix: documenting equations as per the implementation --------- Co-authored-by: Meesum Qazalbash <[email protected]>
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 adds implementation details and mathematical references to the documentation for the
BetaandBetaProportiondistributions.