Skip to content

fisherExactTest

fisherExactTest(table, options?): any

Defined in: ds/src/stats/tests.js:838

Fisher’s exact test for 2x2 contingency tables

Parameters

table

number[][]

2x2 contingency table [[a,b],[c,d]]

options?

any = {}

{alternative: ‘two-sided’|‘less’|‘greater’}

Returns

any

{pValue, oddsRatio, alternative}