Check Fold Turn

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

Check Fold Turn

Postby Th0rgal » Wed May 13, 2009 5:59 pm

Hi there,

Trying to get a check fold stats going.

I saw a custom stat for check call turn
Check Call Turn
(cnt_t_check_call / cnt_t_check) * 100

So I need to make a column cnt_t_check_fold

The check_call colum is
sum(if[holdem_hand_player_statistics.flg_t_check AND holdem_hand_player_statistics.cnt_t_call > 0, 1, 0])

I cant find holdem_hand_player_statistics.cnt_t_fold in the database so was wondering if I could just change the ">" to "<"

if I put
sum(if[holdem_hand_player_statistics.flg_t_check ANDNOT holdem_hand_player_statistics.cnt_t_call > 0, 1, 0]) Then it could still be check raising, ...

So I am a bit at a loss here.

Thanks for the guidance
Th0rgal
 
Posts: 90
Joined: Sat Apr 19, 2008 7:45 am

Re: Check Fold Turn

Postby kraada » Thu May 14, 2009 8:56 am

What you want is:

sum(if[holdem_hand_player_statistics.flg_t_check AND holdem_hand_player_statistics.flg_t_fold , 1, 0])

flg_t_fold is true if the player in question in the hand in question folded on the turn :)
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Check Fold Turn

Postby Rickstermar555 » Thu Dec 17, 2009 5:34 am

I'm trying to get this going as well...but I can't seem a way to get the right formula to get it into percentages that won't go over 100. If the numerator is more than the denominator, then it will show a number larger than 100. If someone has figured out a formula this, please share.

Ex: (cnt_t_check / cnt_t_fold) * 100


Also....Is "Fold to Turn Cbet" mean folding to a double barrel on the turn from a preflop raiser, cbet the flop and fires again on the turn.
Or is this stat calculated by a person who bets the flop and bets the turn again (whether or not he was the initial raiser)? How about an unraised pots?

Thanks.
Rickstermar555
 
Posts: 17
Joined: Fri Jul 11, 2008 8:30 pm

Re: Check Fold Turn

Postby WhiteRider » Thu Dec 17, 2009 5:45 am

It really depends what you want to see..
Do you want to see the percentage of times the player folded after they checked and faced a bet or raise?
Or do you want to see how often then check and fold out of times they have the opportunity to check? (that doesn't sound right, because they might check and then not face any action)
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Check Fold Turn

Postby Rickstermar555 » Sat Dec 19, 2009 6:55 pm

hmmm...this does seem like a difficult stat to really define.

The more accurate check fold stat I would want would have to be...they check fold every time they faced a bet or raise after they check. I see what your saying about checking and they might not face action, so the stats may be skewed if it's the total turn check.
Rickstermar555
 
Posts: 17
Joined: Fri Jul 11, 2008 8:30 pm

Re: Check Fold Turn

Postby WhiteRider » Sun Dec 20, 2009 5:17 am

cnt_t_check_fold =
sum( if[ lookup_actions_t.action = 'XF', 1, 0 ] )

cnt_t_check_face_action =
sum( if[ lookup_actions_t.action = 'X_%', 1, 0 ] )

Both of these use the actions string (see the "Constructing Column Expressions" section of the linked tutorial for info) - the 'actions' column counts when the actions were exactly check then fold; and the 'opportunities' column counts when the actions were check followed by at least one more action (_ is one action of any kind, and % means zero or more actions).

Tutorial - Custom Reports and Statistics
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


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

Who is online

Users browsing this forum: No registered users and 0 guests