SB Pushes all in on BB

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

SB Pushes all in on BB

Postby Th0rgal » Sun Feb 07, 2010 4:17 pm

Hi There,

I would like this stat specific for sngs

does this look correct?

cnt_p_open_push_sb
sum(if[ tourney_holdem_hand_player_statistics.enum_allin = 'P' AND
tourney_holdem_hand_player_statistics.flg_blind_s AND
tourney_holdem_hand_player_statistics.flg_p_open_opp, 1, 0])
Number of times small blind pushes all in when folded to him.

cnt_p_open_opp_sb
sum(if[tourney_holdem_hand_player_statistics.flg_blind_s AND
tourney_holdem_hand_player_statistics.flg_p_open_opp, 1, 0])

Number of opportunities player had to open the preflop action in the Small Blind

Stat
(cnt_p_open_push_sb / cnt_p_open_opp_sb ) * 100
Th0rgal
 
Posts: 90
Joined: Sat Apr 19, 2008 7:45 am

Re: SB Pushes all in on BB

Postby WhiteRider » Sun Feb 07, 2010 4:25 pm

That looks good, although it doesn't specify that the open raise was all-in - that would also count times the player open raised, was re-raised, then pushed.

You could add a check for:
lookup_actions_p.action = 'R'
If their actions are only/exactly R and they were all-in then they must have gone all-in with their first action.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: SB Pushes all in on BB

Postby Th0rgal » Sun Feb 07, 2010 10:26 pm

I am really looking for just pushes, no raises or re-raises so it looks like itsok then?
Th0rgal
 
Posts: 90
Joined: Sat Apr 19, 2008 7:45 am

Re: SB Pushes all in on BB

Postby WhiteRider » Mon Feb 08, 2010 5:39 am

In that case you will need to add the check that I suggest - your original expression will include raise / re-raise all-in.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: SB Pushes all in on BB

Postby Th0rgal » Mon Feb 08, 2010 7:29 am

ok So this is what it finally looks like then?

sum(if[ tourney_holdem_hand_player_statistics.enum_allin = 'P'AND
tourney_holdem_hand_player_statistics.flg_blind_s AND
substring(lookup_actions_p.action from 1 for 1)='R' AND
tourney_holdem_hand_player_statistics.flg_p_open_opp, 1, 0])
Th0rgal
 
Posts: 90
Joined: Sat Apr 19, 2008 7:45 am

Re: SB Pushes all in on BB

Postby WhiteRider » Mon Feb 08, 2010 3:01 pm

Th0rgal wrote:ok So this is what it finally looks like then?

sum(if[ tourney_holdem_hand_player_statistics.enum_allin = 'P'AND
tourney_holdem_hand_player_statistics.flg_blind_s AND
substring(lookup_actions_p.action from 1 for 1)='R' AND
tourney_holdem_hand_player_statistics.flg_p_open_opp, 1, 0])

No - the expression you are using:
substring(lookup_actions_p.action from 1 for 1)='R'
..will check whether the players first action was to raise, but that doesn't rule out any later actions like a call or another raise. What we need to know is that they only made one action, and that was "raise".

You can use exactly the expression I wrote: lookup_actions_p.action = 'R'

sum(if[ tourney_holdem_hand_player_statistics.enum_allin = 'P'AND
tourney_holdem_hand_player_statistics.flg_blind_s AND
lookup_actions_p.action = 'R' AND
tourney_holdem_hand_player_statistics.flg_p_open_opp, 1, 0])
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