Skip to main content

MultiwayIndependenceGapResult

Returned by multiwayEquityIndependenceGap.

FieldTypeMeaning
exactnumberMonte Carlo multiway equity (one simulation stream, N villains)
independentApproxnumber1 − Π(1 − huEquity_j) from separate HU sims
gapnumberexact - independentApprox
villainsnumberVillain count passed to the API

Semantics

exact uses simulateHandOutcome with the given numSimulations, seed, and villains. independentApprox runs one HU simulation per villain with seeds seed + 1000 + j and combines with the independence formula. The gap measures how much treating villains as independent underestimates or overestimates multiway equity. Both values are Monte Carlo estimates — increase numSimulations for stability (see McEquityDetailedResult for interval tooling on single draws).

Example

const poker = require('poker-calculations');

const gap = poker.multiwayEquityIndependenceGap(
['Ah', 'Kh'],
['Qh', 'Jh', '2c'],
50_000,
42,
2,
);
console.log(gap);

See also

multiwayEquityIndependenceGap · simulateHandOutcome