Opened 5 years ago
Closed 5 years ago
#908 closed defect (fixed)
Fisher::p_value incorrect
Reported by: | Peter | Owned by: | Peter |
---|---|---|---|
Priority: | major | Milestone: | yat 0.15.1 |
Component: | statistics | Version: | 0.15 |
Keywords: | Cc: |
Description
Calling Fisher::oddsratio(3, 13, 0, 3) followed by ::p_value(void) triggers an assertion:
yat/statistics/Fisher.cc:273: double theplu::yat::statistics::Fisher::p_value_exact(unsigned int, unsigned int, unsigned int, unsigned int) const: Assertion `k' failed.
It looks like there is a bug with the calculation of the where peak of the distribution occurs (mode).
Change History (2)
comment:1 Changed 5 years ago by
Status: | new → assigned |
---|
comment:2 Changed 5 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
(In [3739]) fixes #908