Update README.md
Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
parent
0b19bb128f
commit
2d468a931e
1 changed files with 13 additions and 2 deletions
|
@ -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 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.
|
The input table is [[a, b], [c, d]].
|
||||||
[[N_A-c, N_B-d], [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)
|
## [Example](https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.fisher_exact.html)
|
||||||
|
|
Loading…
Reference in a new issue