IcmShapleyValuesResult
Returned by icmShapleyValues.
| Field | Type | Meaning |
|---|---|---|
values | number[] | Float64Array | Shapley fair-share $EV per seat (not chip chop) |
method | string | Echo of option, e.g. "exact" or "monteCarlo" |
se | number[] | Float64Array (optional) | Per-seat Monte Carlo standard error when method is monteCarlo |
Semantics
values[i] is player i's Shapley allocation: average marginal contribution to coalition ICM prize pools over all join orders. Compare to chip-proportional chop or icmExpectedPayouts for the full-table Harville vector.
Under exact, se is omitted. Under monteCarlo, se holds per-player stderr from the permutation sampler.
Example
const poker = require('poker-calculations');
const { values, method, se } = poker.icmShapleyValues(
[12000, 8000, 5000, 2000],
[10000, 6000, 3000, 1000],
{ method: 'exact' },
);
console.log({ method, values, se });
See also
IcmShapleyValuesOptions · icmExpectedPayouts · Tournament, runouts, and bots