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

Add fisher exact #167

Merged
merged 4 commits into from
Jul 6, 2024
Merged

Add fisher exact #167

merged 4 commits into from
Jul 6, 2024

Conversation

Maxyme
Copy link

@Maxyme Maxyme commented May 6, 2022

Adding fisher's exact test (inspiration directly from SciPy). I also created a new folder to host statistical tests.

use crate::distribution::{Discrete, DiscreteCDF, Hypergeometric};
use crate::StatsError;

#[derive(Debug, Copy, Clone)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A brief docstring on this enum would be nice for our docs.rs, but I don't think one is needed for each of the variants.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approved your PR into this branch with your changes, thank you!

@Maxyme Maxyme force-pushed the add_fisher_exact branch from d31c01e to 51cd7ba Compare July 5, 2024 10:35
@Maxyme Maxyme force-pushed the add_fisher_exact branch from 51cd7ba to 6a22355 Compare July 5, 2024 10:36
@YeungOnion
Copy link
Contributor

Thanks for your contribution and for introducing statistical tests!

@YeungOnion YeungOnion merged commit 5e31331 into statrs-dev:master Jul 6, 2024
5 checks passed
@YeungOnion YeungOnion mentioned this pull request Jul 18, 2024
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.

2 participants