by kraada » Fri Jan 29, 2010 2:57 pm
If the SB completes it is considered limping.
This stat is a bit tricky but doable.
Create the following two columns in the HCPS section:
cnt_p_bb_raise_sb_limp:
sum(if[holdem_hand_player_statistics.position = 8 and holdem_hand_player_statistics.flg_p_first_raise and (holdem_hand_player_detail.amt_p_raise_made / (holdem_hand_player_detail.amt_p_raise_made + 2 * (holdem_limit.amt_bb))) = holdem_hand_player_detail.val_p_raise_made_pct, 1, 0])
This checks to see if (a) you're in the BB (b) you made the first raise and (c) the pot was exactly 2BB before you raise (that's the only way this ratio can be true), which can only happen if the SB limps.
and
cnt_p_bb_raise_sb_limp_opp:
sum(if[(holdem_hand_player_statistics.position = 8 and holdem_hand_player_statistics.flg_p_first_raise and (holdem_hand_player_detail.amt_p_raise_made / (holdem_hand_player_detail.amt_p_raise_made + 2 * (holdem_limit.amt_bb))) = holdem_hand_player_detail.val_p_raise_made_pct) OR (holdem_hand_player_statistics.position = 8 AND lookup_actions_p.action = 'X' AND holdem_hand_player_detail.flg_f_has_position) , 1, 0])
Which checks to see if either you did make the raise or if you checked from the BB and were in position on the flop (you could have raised a SB limp, but did not).
Put the former over the latter, multiply by 100 and you'll have your percentage of the time the BB raises an SB's open limp.