This is an automated email from the ASF dual-hosted git repository. aherbert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-statistics.git
commit c7dfc8d0c3c2e326e7759167368ebcc2443f808e Author: Alex Herbert <[email protected]> AuthorDate: Sat Dec 5 10:40:28 2026 +0000 STATISTICS-104: Update changes.xml Shorten the description of the fix. The description covers values that are equal by symmetry, including reflected parameters and arguments. Generated-by: Claude Code (claude-opus-5-5) --- src/changes/changes.xml | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 529b4518..ca461e17 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -54,20 +54,13 @@ If the output is not quite correct, check for invisible trailing spaces! <body> <release version="1.4" date="TBD" description="Adds new features (requires Java 8)."> <action dev="aherbert" type="fix" due-to="Alex Herbert, Eran Shaham" issue="STATISTICS-104"> - "distribution/inference": Improve values used for inference comparisons. - This changes the binomial and hypergeometric distributions and the - BinomialTest, FisherExactTest and UnconditionedExactTest. - The inference tests compare values using less-than-or-equal-to. - Rounding errors in the computation for values that should be exactly equal - caused the p-value for the statistic to have high error. - Exactly equal values occur due to symmetry in the underlying binomial - and hypergeometric distributions. These distributions are now symmetric - at the mode when bimodal; the binomial distribution is symmetric when - the probability of success is 0.5; the hypergeometric distribution - has parameter symmetry for number of successes (K) and sample size (n), - and supports symmetry when either K or n = N / 2 where N is the - population size. The computation of the Z statistic for the - UnconditionedExactTest was reimplemented to reduce rounding error. + "distribution/inference": Ensure values that are equal by symmetry are computed + as exactly equal for inference comparisons. Rounding errors in these values caused + high error in the p-value of the BinomialTest, FisherExactTest and + UnconditionedExactTest. The binomial and hypergeometric distributions now compute + exactly equal values for both modes of a bimodal distribution, and for symmetric or + reflected parameters and arguments. The Z statistic of the UnconditionedExactTest + has reduced rounding error. </action> <action dev="aherbert" type="add" due-to="Alex Herbert" issue="STATISTICS-101"> "ZetaDistribution": Add a zeta distribution. This is the large N limit
