Sorry about the delay..
This looks pretty simple.
This is the expression I'm using for the 'Column' you need to create first. Use the 'Holdem Player Statistics' section.
Naming convention for this column would be "cnt_p_limp_fold".
cnt_p_limp_fold = sum( if[holdem_hand_player_statistics.flg_p_limp AND holdem_hand_player_statistics.flg_p_fold, 1, 0] )
Then create a Statistic based on this new Column.
Expression = (cnt_p_limp_fold / cnt_p_limp) * 100
The other column you need is:
cnt_p_limp = sum( if[holdem_hand_player_statistics.flg_p_limp, 1, 0] )
This led me onto working out how to generate the stat for how often they limped when they had the chance.
Which leads to the need for "cnt_p_limp_opp", the number of times the player had the opportunity to limp (i.e. when the pot was not raised before their first action).
This seems trickier, but I came up with this:
cnt_p_limp_opp = sum( if[ (NOT(holdem_hand_player_statistics.flg_p_face_raise) OR (holdem_hand_player_statistics.flg_p_limp) OR (holdem_hand_player_statistics.flg_p_first_raise)) AND NOT(holdem_hand_player_statistics.flg_blind_b), 1 , 0 ] )
Can anyone see a problem with this? Or think of a better way of doing it?
Obviously, the stat then becomes:
Preflop Limp% = ( cnt_p_limp / cnt_p_limp_opp ) * 100
Attached are the above 2 stats. Bear in mind these have not been checked by anyone else, so if you want to have a play with them please test carefully. I'll submit them for the repository too, but they won't appear there for a while..
I've also attached 2 stats I used to test - "Preflop Limp" and "Preflop Limp Opp" are counts, not percentages.
EDIT: updated version of the file now uploaded.
I have changed Preflop Limp Fold to be the percentage of times the player limped and then folded when raised.
Preflop Limp Fold = (cnt_p_limp_fold / cnt_p_limp_fold_opp) * 100
cnt_p_limp_fold_opp = sum( if[holdem_hand_player_statistics.flg_p_limp AND holdem_hand_player_statistics.flg_p_face_raise, 1, 0] )
- Preflop Limp Stats.zip
- (2.09 KiB) Downloaded 137 times
Last edited by WhiteRider
on Sun Aug 03, 2008 10:25 am, edited 2 times in total.
Reason: Correct the stat and change the attached file.