Quote:
Originally Posted by alon.albert
Thanks. I don't know where your code is though...
The lastest version is here:
http://www.jukofyork.com/Juks_BackTe...uck_v1_03b.rar
If you look in the "SourceCode" subfolder in that RAR file then you will see the way I did it.
Quote:
I treat each pot separately so a 3 way hand will have 2 values, 1 for the 3 way main pot and 1 for the heads up side pot.
I'm not quite sure how you are doing it, but one thing to be clear on is that you can't just take the hero's "average stack" at the end of the hand and pass it through the ICM function to convert chipEV into $EV. Using the "average stack" is fine for working with chipEV, but because the ICM function is non-linear you have to work with each of the outcomes separately. For example, to calculate the $EV_luck for a 2-way all-in you would need to work out:
$EV_luck = P(win)*$EQ_win + P(tie)*$EQ_tie + P(lose)*$EQ_lose - $EQ_actual
and for a 3-way all-in you will need to work out:
$EV_luck = P(outcome 1)*$EQ_outcome_1 + P(outcome 2)*$EQ_outcome_2 + .. + P(outcome 13)*$EQ_outcome_13 - $EQ_actual
(you use the ICM function to estimate the $ equities, $EQ_x).
It gets much more messy with more than 3 players (I forget how many outcomes there are for 4; 80ish IIRC) so that's why I (re-)wrote my code the way I did (see the "outcome generator" class).
Juk