new: Resteal from BB vs BU validate plz!

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

new: Resteal from BB vs BU validate plz!

Postby js2002 » Wed Apr 15, 2009 3:11 pm

js2002_cnt_p_BB_3bet_to_BU_steal
sum(if[holdem_hand_player_statistics.flg_p_3bet AND
holdem_hand_player_statistics.position = 8 AND holdem_hand_player_detail.val_p_raise_aggressor_pos = 0 AND holdem_hand_player_statistics.flg_blind_def_opp,1,0])


js2002_cnt_p_BB_fold_to_BU_opp
(numb name I know)
sum(if[holdem_hand_player_statistics.position = 8 AND holdem_hand_player_detail.val_p_raise_aggressor_pos = 0 AND holdem_hand_player_statistics.flg_blind_def_opp,1,0])

Hi folks,

I took the fold BB vs BU steal Stat and made this one. The denumerator is the same, at the numerator I replaced "substring(lookup_actions_p.action from 1 for 1)='F'" with "holdem_hand_player_statistics.flg_p_3bet".
Do you think this stat expresses what I want?

2. SB was = 9 right?!
js2002
 
Posts: 1502
Joined: Fri Feb 15, 2008 5:44 am
Location: Germany

Re: new: Resteal from BB vs BU validate plz!

Postby kraada » Wed Apr 15, 2009 3:54 pm

Yes the SB is 9 and BB is 8, and that stat should work as you would expect so far as I can tell.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: new: Resteal from BB vs BU validate plz!

Postby js2002 » Wed Apr 15, 2009 4:02 pm

Ca u tell me whats the SB (and BB) in this column:

holdem_hand_player_detail.val_p_raise_aggressor_pos = ?
js2002
 
Posts: 1502
Joined: Fri Feb 15, 2008 5:44 am
Location: Germany

Re: new: Resteal from BB vs BU validate plz!

Postby WhiteRider » Wed Apr 15, 2009 4:20 pm

That's the same.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: new: Resteal from BB vs BU validate plz!

Postby js2002 » Wed Apr 15, 2009 4:26 pm

Just to be sure and not build wrong stats:
holdem_hand_player_detail.val_p_raise_aggressor_pos = 9 == SB correct?!

so that Resteal BB vs SB Steal =

sum(if[holdem_hand_player_statistics.flg_p_3bet AND
holdem_hand_player_statistics.position = 8 AND holdem_hand_player_detail.val_p_raise_aggressor_pos = 9 AND holdem_hand_player_statistics.flg_blind_def_opp,1,0])
_________________________

sum(if[holdem_hand_player_statistics.position = 8 AND holdem_hand_player_detail.val_p_raise_aggressor_pos = 9 AND holdem_hand_player_statistics.flg_blind_def_opp,1,0])

ok?
js2002
 
Posts: 1502
Joined: Fri Feb 15, 2008 5:44 am
Location: Germany

Re: new: Resteal from BB vs BU validate plz!

Postby kraada » Wed Apr 15, 2009 6:10 pm

Yes, and yes.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: new: Resteal from BB vs BU validate plz!

Postby js2002 » Thu Apr 16, 2009 3:02 pm

[quote="js2002"]js2002_cnt_p_BB_3bet_to_HJ_steal
sum(if[holdem_hand_player_statistics.flg_p_3bet AND
holdem_hand_player_statistics.position = 8 AND
holdem_hand_player_detail.val_p_raise_aggressor_pos = 2 AND
holdem_hand_player_statistics.flg_blind_def_opp
,1,0])


js2002_cnt_p_BB_fold_to_HJ_opp
(numb name I know)
sum(if[holdem_hand_player_statistics.position = 8 AND
holdem_hand_player_detail.val_p_raise_aggressor_pos = 2 AND
holdem_hand_player_statistics.flg_blind_def_opp
,1,0])

How do I do this for "Resteal in BB vs HJ" ? , because the column "flg_blind_def_opp" will always return false.
js2002
 
Posts: 1502
Joined: Fri Feb 15, 2008 5:44 am
Location: Germany

Re: new: Resteal from BB vs BU validate plz!

Postby kraada » Thu Apr 16, 2009 4:07 pm

You're not going to be able to get it working right from the HJ because there's no way to be certain as the player on the button that the raise you're facing came from the HJ; we can be certain most of the time, but not all of the time, so this stat won't be able to be 100% accurate.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: new: Resteal from BB vs BU validate plz!

Postby js2002 » Fri Apr 17, 2009 8:23 am

kraada wrote:You're not going to be able to get it working right from the HJ because there's no way to be certain as the player on the button that the raise you're facing came from the HJ; we can be certain most of the time, but not all of the time, so this stat won't be able to be 100% accurate.


Why cant we be certain? holdem_hand_player_detail.val_p_raise_aggressor_pos = 2 tells us that the PFA sits in HJ.
js2002
 
Posts: 1502
Joined: Fri Feb 15, 2008 5:44 am
Location: Germany

Re: new: Resteal from BB vs BU validate plz!

Postby kraada » Fri Apr 17, 2009 9:33 am

Because if the BB reraises after, then val_p_raise_aggressor_pos is 8.

Also, if the HJ limps, you raise from the button and the HJ 3-bets val_p_raise_aggressor_pos is 2 but it's not the situation you're looking for.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Next

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

Who is online

Users browsing this forum: No registered users and 96 guests