fslaborg / fslaborg/FSharp.Stats

[Feature Request] X² test for 2×2 contingency tables

Open
#180 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
F#
Stars
227
Forks
58
Avg merge
55m
Merged PRs (30d)
1

Description

**Is your feature request related to a problem? Please describe.**
An often used variant of the X² (Chi-squared) test is that for 2×2 contingency tables (aka Cochran-Mantel-Haenszel test). Since the original X² test is already implemented, a version for 2×2 contingency tables can easily be implemented.

**Describe the solution you'd like**
Implement it.

**Describe alternatives you've considered**
Always write it yourself with the already existing X² test.

**Additional context**
https://en.wikipedia.org/wiki/Cochran%E2%80%93Mantel%E2%80%93Haenszel_statistics (eng)
https://de.wikipedia.org/wiki/Chi-Quadrat-Test#Vierfeldertest (ger)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.