Update README.md

Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
David Rotermund 2024-01-05 14:08:12 +01:00 committed by GitHub
parent 0b19bb128f
commit 2d468a931e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,8 +45,19 @@ scipy.stats.fisher_exact(table, alternative='two-sided')
>
> The probability under the null hypothesis of obtaining a table at least as extreme as the one that was actually observed.
The input table is [[a, b], [c, d]]. Where N_A = a + c for the elements in group A and N_B = b + d for the elements in group B.
[[N_A-c, N_B-d], [c, d]]
The input table is [[a, b], [c, d]].
|||
|---|---|
|a| b |
|c|d|
Where $N_A = a + c$ for the elements in group A and $N_B = b + d$ for the elements in group B.
|||
|---|---|
|$N_A - c$| $N_B-d$ |
|c|d|
## [Example](https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.fisher_exact.html)