Fold to Flop Checkraise

Forum for users that want to write their own custom queries against the PT database either via the Structured Query Language (SQL) or using the PT3 custom stats/reports interface.

Moderator: Moderators

Fold to Flop Checkraise

Postby bloodndef » Sat Dec 05, 2009 3:25 am

cnt_f_fold_to_check_raise

sum(if[(holdem_hand_player_statistics.flg_f_bet) AND (holdem_hand_player_statistics.flg_f_face_raise) AND (holdem_hand_player_statistics.flg_f_fold) AND (holdem_hand_player_detail.flg_f_has_position), 1, 0])

cnt_f_fold_to_check_raise_opp

sum(if[(holdem_hand_player_statistics.flg_f_bet) AND (holdem_hand_player_statistics.flg_f_face_raise) AND (holdem_hand_player_detail.flg_f_has_position), 1, 0])


Fold to Flop Checkraise

(cnt_f_fold_to_check_raise / cnt_f_fold_to_check_raise_opp) * 100


I believe this stat only accounts for pots where the flop bettor has absolute position. Is there any way to account for times where the bettor is checkraised but does not necessarily have absolute position? (I.e. when another player is in the pot and calls the bettor's bet in between the bettor and checkraiser.)

Thank you!
bloodndef
 
Posts: 99
Joined: Fri Feb 27, 2009 1:28 am

Re: Fold to Flop Checkraise

Postby WhiteRider » Sat Dec 05, 2009 5:38 am

Before I answer your question (or try to) I want to make a suggestion about your current expression.

It is basically OK, but it will also count some other cases, such as when the player bets, then re-raises (3-bet) the check/raise and folds to a 4-bet, or when they face 2 raises (C bets, A raises, B re-raises).

You can avoid the first case by using the actions string. e.g. replace:
holdem_hand_player_statistics.flg_f_bet AND holdem_hand_player_statistics.flg_f_face_raise AND holdem_hand_player_statistics.flg_f_fold
..with..
lookup_actions_f.action = 'BF'

For more info on action strings check out the 'Constructing Column Expressions' section of the Tutorial - Custom Reports and Statistics.

To count only cases where the player faced a single raise you would need to add a check for "holdem_hand_player_statistics.flg_f_3bet_opp".


OK, to your question.

"holdem_hand_player_detail.flg_f_has_position" does indeed check that the player has absolute position, but this only means that they are last to act (nearest the button) on the flop.

I think what you want to do is remove the need for the "holdem_hand_player_detail.flg_f_has_position" check but still only count check raises, not include raises from players behind. Is that right?

You can't build this entirely accurately, but you can get pretty close using holdem_hand_player_detail.val_f_raise_aggressor_pos, and comparing it to the player's position (holdem_hand_player_statistics.position).
You should note, however, that holdem_hand_player_detail.val_f_raise_aggressor_pos is the position of the last flop raise, not the first; so [to quote Kraada from his advanced HUD guide] in certain multiway situations these stats are not perfect. However, in all of those spots, it doesn't count as a time when you faced a check/raise either, so the numbers should not be skewed much. These cases are also fairly rare. For example, if A is in front of you and B is behind you, A checks, you bet, B calls, A raises, you fold, B reraises and A folds, it should count as a fold to check/raise if the stat were perfect. The stat is not perfect because the last raise came from someone in position relative to you, despite the initial raise coming from A. In this case, it is neither a check/raise defense opportunity, nor a fold to check/raise. It simply isn't counted at all. Since all spots that cause problems involve multiple raises on the street in question, I don't think it significantly affects the validity of the stat, so I have opted to include it in the popup display.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Fold to Flop Checkraise

Postby bloodndef » Sun Dec 06, 2009 5:42 am

Thanks for the response, WhiteRider.

WhiteRider wrote:I have opted to include it in the popup display.


Has this stat already been created?
bloodndef
 
Posts: 99
Joined: Fri Feb 27, 2009 1:28 am

Re: Fold to Flop Checkraise

Postby WhiteRider » Sun Dec 06, 2009 6:09 am

It is in Kraada's advanced HUD, as linked. I don't know if he has added it to the repository as a stand alone stat, though.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Fold to Flop Checkraise

Postby kraada » Sun Dec 06, 2009 3:50 pm

It hasn't been added separately; if you import my HUD, all of the stats in the HUD will be imported - it's likely easier than importing the stats individually anyway (as I also included call check/raise and raise check/raise for turn and river as well as flop).
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Fold to Flop Checkraise

Postby bloodndef » Sun Dec 06, 2009 4:14 pm

Ah, thanks guys.
bloodndef
 
Posts: 99
Joined: Fri Feb 27, 2009 1:28 am

Re: Fold to Flop Checkraise

Postby kraada » Sun Dec 06, 2009 4:51 pm

No problem :)
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to Custom Stats, Reports, and SQL [Read Only]

Who is online

Users browsing this forum: No registered users and 8 guests