columna API reference - v0.5.0
    Preparing search index...

    Function fisherExact2x2

    • Exact 2x2 Fisher test via a modal hypergeometric recurrence, avoiding PMF underflow at the observed tail. Both tails use the probability-order definition for two-sided p, not twice the smaller tail. Counts are literal frequencies, not survey weights. The sample odds ratio is NOT a conditional MLE.

      Parameters

      Returns {
          alternative: Alternative;
          oddsRatio: number | undefined;
          pValue: number;
          test: string;
      }