Average amount of the Raise (in 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

Average amount of the Raise (in BB) ?

Postby jackh69 » Wed Oct 07, 2009 8:45 am

Hi,

I play SNG and usually players raise always (for example) 3 BB and suddenly raise only 2 BB (or 4 BB) and show a big hand like AA, KK, QQ.

I want to know if it's possible to have the average amount of the raise for each players.

Thanks
jackh69
 
Posts: 14
Joined: Tue Sep 29, 2009 8:21 pm

Re: Average amount of the Raise (in BB) ?

Postby kraada » Wed Oct 07, 2009 9:13 am

Yes, this is possible.

Create two new columns in the Holdem Tournament Player Statistics Section:
amt_p_pfr_size_bb:
sum(if[tourney_holdem_hand_player_detail.amt_p_raise_made > 0 and not(tourney_holdem_hand_player_statistics.flg_p_3bet), tourney_holdem_hand_player_detail.amt_p_raise_made / holdem_limit.amt_bb, 0])

amt_p_pfr_no_3b:
sum(if[tourney_holdem_hand_player_detail.amt_p_raise_made > 0 and not(tourney_holdem_hand_player_statistics.flg_p_3bet), 1, 0])

Create a new stat putting the former over the latter and you should be all set. (Note: the reason for making sure there's no 3-bets is that otherwise you might get open 3-bets which would screw with your average. I left the option for 4-bets in there as if you open and get 3bet the 4bet value will be different and I don't suspect cold 4bets will come up enough to matter.)
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Average amount of the Raise (in BB) ?

Postby WhiteRider » Wed Oct 07, 2009 9:43 am

You could use a check for:
tourney_holdem_hand_player_statistics.flg_p_first_raise
..instead of:
not(tourney_holdem_hand_player_statistics.flg_p_3bet)

That would mean that:
tourney_holdem_hand_player_detail.amt_p_raise_made
..was always from a 2-bet.

In fact, if you do that, I think this would work?
sum(if[tourney_holdem_hand_player_statistics.flg_p_first_raise, tourney_holdem_hand_player_detail.amt_p_raise_made / holdem_limit.amt_bb, 0])
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Average amount of the Raise (in BB) ?

Postby jackh69 » Wed Oct 07, 2009 9:50 am

Thank you for your answers, I'd try to do tonight. :geek:
jackh69
 
Posts: 14
Joined: Tue Sep 29, 2009 8:21 pm

Re: Average amount of the Raise (in BB) ?

Postby jackh69 » Wed Oct 07, 2009 11:33 am

I get an error to create the column :

Cash and Tournament tables cannot be used together.

I think "holdem_limit.amt_bb" don't work with tourney (?). I don't know how to get the Big Blind value.
jackh69
 
Posts: 14
Joined: Tue Sep 29, 2009 8:21 pm

Re: Average amount of the Raise (in BB) ?

Postby kraada » Wed Oct 07, 2009 12:12 pm

Sorry, that should be tourney_holdem_blinds.amt_bb.
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 0 guests