aherbert opened a new pull request, #141:
URL: https://github.com/apache/commons-statistics/pull/141

   The BinomialTest is updated to use a tolerance of 1e-15 when testing if p(i) 
<= p(k). This avoids small ULP errors when probabilities should be equal 
causing the observation i to be missed from the p-value sum. The binomial 
distribution probability is very accurate so a small tolerance can be used.
   
   The FisherExactTest is updated to use a 1e-14 tolerance for the 
hypergeometric distribution probabilities. This probability is a sum of 3 
binomial log probabilities with cancellation.
   
   The UnconditionedExactTest is updated to use the same 1e-14 tolerance when 
computing Fisher p-values. A tolerance is also used when comparing the Fisher 
p-values in Boschloo's test.
   
   The computation of Z values in the UnconditionedExactTest has been updated 
to reduce rounding errors. A ULP tolerance is used when comparing Z values.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to