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

Calculate P-Value for Chi Square #8

Merged
merged 3 commits into from
Oct 21, 2024
Merged

Conversation

RobbieMcKinstry
Copy link
Contributor

@RobbieMcKinstry RobbieMcKinstry commented Oct 21, 2024

Calculate P-Value for Chi Square

This commit calculates the p-value for the Chi Square distribution.


Refactor Chi Square API to use u64.

usize isn't consistent across platforms, and sometimes we really
need the degrees of freedom to be non-zero, so this commit changes
the API and some cast sites to prefer NonZeroU64 and some u64 values
where approperate.


Add public API for Chi Square

This commit adds a Chi Square test using a provided alpha cutoff
to the public API of the Chi module.

This commit calculates the p-value for the Chi Square distribution.
usize isn't consistent across platforms, and sometimes we really
need the degrees of freedom to be non-zero, so this commit changes
the API and some cast sites to prefer NonZeroU64 and some u64 values
where approperate.
This commit adds a Chi Square test using a provided alpha cutoff
to the public API of the Chi module.
Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @RobbieMcKinstry and the rest of your teammates on Graphite Graphite

@RobbieMcKinstry RobbieMcKinstry added the enhancement New feature or request label Oct 21, 2024 — with Graphite App
@RobbieMcKinstry RobbieMcKinstry marked this pull request as ready for review October 21, 2024 15:12
@RobbieMcKinstry RobbieMcKinstry added this pull request to the merge queue Oct 21, 2024
Merged via the queue into trunk with commit 2e25c4a Oct 21, 2024
4 checks passed
@RobbieMcKinstry RobbieMcKinstry deleted the robbie/calc-p-value branch October 21, 2024 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant