Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fisher test #250

Merged
merged 5 commits into from
Jul 19, 2024
Merged

Fix fisher test #250

merged 5 commits into from
Jul 19, 2024

Conversation

YeungOnion
Copy link
Contributor

#167 introduced fisher exact tests

This adds some minor docs, most notably, specifying that the expected table, provided as a slice of floats (i.e. flat), is row-major.

Also fixes a "bug" for short circuiting the evaluation of the test when both values in either row are 0's. Full evaluation is exactly "1.0f64" as well, but pushing for consistency here.

@YeungOnion YeungOnion force-pushed the fix-fisher-test branch 2 times, most recently from e788de5 to 56eb7a9 Compare July 18, 2024 17:44
@YeungOnion YeungOnion merged commit d436f7c into statrs-dev:master Jul 19, 2024
10 checks passed
@YeungOnion YeungOnion deleted the fix-fisher-test branch July 19, 2024 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant