From 2d468a931e23ddfefe1ca6bcf32bbe2aa7262a34 Mon Sep 17 00:00:00 2001 From: David Rotermund <54365609+davrot@users.noreply.github.com> Date: Fri, 5 Jan 2024 14:08:12 +0100 Subject: [PATCH] Update README.md Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com> --- scipy/scipy.stats.fisher_exact/README.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/scipy/scipy.stats.fisher_exact/README.md b/scipy/scipy.stats.fisher_exact/README.md index 12f1b64..9004790 100644 --- a/scipy/scipy.stats.fisher_exact/README.md +++ b/scipy/scipy.stats.fisher_exact/README.md @@ -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)