Closed rohanmaddamsetti closed 1 year ago
Indeed. We should detect parameter values which would throw an error if passed to FisherNoncentralHypergeometric
as we do now, and instead fill the FisherExactTest
object with values similar to what R does. Any help welcome.
Fixed by #279
Hello,
FisherExactTest()
dies horribly if you supply matrices like the following:FisherExactTest(5, 0, 5, 0)
.Of course one could say "don't do that", which is reasonable when running statistics interactively, but users like myself may want to run a series of statistical tests on data within a loop, without having to write error-checking code for the inputs going into
FisherExactTest()
.It would be great if this julia function could gracefully report the outcome rather than dying with an
ArgumentError
. For comparison, R reports the following given the same input.Thanks for your consideration, Rohan