I'm making a stat that tells me how likely it is for me to make an opponent to fold either preflop or on flop after he 3bets me. For example, I open-raise light from CO and get 3bet by the button -> If the value of this stat is high, I might 4bet him preflop or call and then donk/check-raise flop. If this is low, then I'm likely to fold. The stat should account for all opportunities to fold preflop and flop after the villain has 3bet preflop. I'm not including the turn here because obviously I'm looking to get away cheap and quickly with a bluff, not prepared to fire multiple barrels OOP.
So would these be the proper expressions for the columns or is there something missing:
numerator:
sum(if[cash_hand_player_statistics.flg_p_3bet
AND NOT cash_hand_player_statistics.flg_p_4bet
AND (cash_hand_player_statistics.flg_p_fold OR cash_hand_player_statistics.flg_f_fold), 1, 0])
denominator:
sum(if[cash_hand_player_statistics.flg_p_3bet
AND NOT cash_hand_player_statistics.flg_p_4bet
AND (cash_hand_player_statistics.flg_p_4bet_def_opp OR cash_hand_player_statistics.flg_f_face_raise OR cash_hand_player_statistics.amt_f_bet_facing>0), 1, 0])
