Fisher's exact test for a 2×2 table. Reliable even with small counts.
fishersExactTest({ table: [[3, 1], [1, 3]], alternative: "greater" }); Copy
fishersExactTest({ table: [[3, 1], [1, 3]], alternative: "greater" });
Fisher's exact test for a 2×2 table. Reliable even with small counts.