3Bet Preflop vs Hero

Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Re: 3Bet Preflop vs Hero

Postby WhiteRider » Mon Nov 10, 2014 4:31 am

To do that I think you would just omit the part before the "select" which specifies that the player had a 3bet-def-opp and made the first raise.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: 3Bet Preflop vs Hero

Postby ZeDawning » Tue Nov 11, 2014 10:05 am

Heh. I tried and it didn't work. Pretty sure that w/e the change I made was wrong.

Could you tell exactly how the code should look like. My trial and error method just didnt work.

Numerator: cnt_p_first_raise_hero_3bet_def_opp
sum(if[cash_hand_player_statistics.flg_p_3bet_def_opp and cash_hand_player_statistics.flg_p_first_raise and exists
(select 1
from cash_hand_player_statistics hero
where hero.id_hand = cash_hand_player_statistics.id_hand
and hero.flg_hero
and hero.flg_p_3bet), 1, 0])

Denominator: cnt_p_first_raise_hero_3bet_opp
sum(if[cash_hand_player_statistics.flg_p_first_raise and exists
(select 1
from cash_hand_player_statistics hero
where hero.id_hand = cash_hand_player_statistics.id_hand
and hero.flg_hero
and hero.flg_p_3bet_opp), 1, 0])

So here, the expression on the first line "cash_hand_player_statistics.flg_p_3bet_def_opp and cash_hand_player_statistics.flg_p_first_raise and exists" and "cash_hand_player_statistics.flg_p_first_raise and exists" is only villain-specific.
So for me to know how villain perceives my overall 3bet in his HUD, it should mean that he was dealt in the hand.

I couldn't find any expression (through browsing other stats) for this.

Help appreciated :)
ZeDawning
 
Posts: 47
Joined: Thu Apr 10, 2014 4:07 am

Re: 3Bet Preflop vs Hero

Postby kraada » Tue Nov 11, 2014 11:12 am

Looking at your code I think you're a bit confused about what the stat is going to do. Right now your columns tell you how often a player faced a 3bet when hero made it, and the other tells you how often hero had a chance to 3bet. I think what you want is to change the former to how often hero actually 3bet -- we don't really care if we don't face the 3bet directly or not (as someone might 4bet in between but we'd still want it to count). If that's right, remove "cash_hand_player_statistics.flg_p_3bet_def_opp and" from the first one and you should be good. If that's really what you want though, that's what they do at this point.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: 3Bet Preflop vs Hero

Postby ZeDawning » Wed Nov 12, 2014 6:41 am

It wasnt what I was looking for kraada.

Basically it should be:
3bet by hero when villain and hero was dealt in / 3bet opp. by hero when villain and hero was dealt in

i.e. I dont care if villain made first raise or open folded etc. All that matters is that he was in the hand and saw me 3bet (either him or another).

I think I found a solution. When I tested a bit, it worked so it must be correct right? xD

I swapped the first line w "cash_hand_player_statistics.position>-1 and exists"

This is ok?
ZeDawning
 
Posts: 47
Joined: Thu Apr 10, 2014 4:07 am

Re: 3Bet Preflop vs Hero

Postby 4StarGen » Wed Nov 12, 2014 7:24 am

I'd like to create a stat when Hero folds to specific Villain 3bet, is it possible?

(I didn't read the thread but I will in a few moments)
4StarGen
 
Posts: 932
Joined: Sat Mar 08, 2014 6:58 am

Re: 3Bet Preflop vs Hero

Postby kraada » Wed Nov 12, 2014 10:38 am

ZeDawning: Yes, that will work; it guarantees that villain was dealt in and nothing more.

4StarGen: Yes, the techniques here will work for that.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: 3Bet Preflop vs Hero

Postby 4StarGen » Wed Nov 12, 2014 10:43 am

^ gonna read the whole thread then, ty :)
4StarGen
 
Posts: 932
Joined: Sat Mar 08, 2014 6:58 am

Re: 3Bet Preflop vs Hero

Postby ZeDawning » Thu Nov 13, 2014 8:08 am

On the same vein as my last stat, I tried building a fold to 4bet stat which villain sees in his HUD vs me.

Numerator:
sum(if[cash_hand_player_statistics.position>-1 and exists
(select 1
from cash_hand_player_statistics hero
where hero.id_hand = cash_hand_player_statistics.id_hand
and hero.flg_hero
and hero.enum_p_4bet_action = 'F'), 1, 0])

Denominator:
sum(if[cash_hand_player_statistics.position>-1 and exists
(select 1
from cash_hand_player_statistics hero
where hero.id_hand = cash_hand_player_statistics.id_hand
and hero.flg_hero
and hero.flg_p_4bet_def_opp), 1, 0])

Does this look ok?
And in the column summary type should it be "sum" or "count"?
ZeDawning
 
Posts: 47
Joined: Thu Apr 10, 2014 4:07 am

Re: 3Bet Preflop vs Hero

Postby kraada » Thu Nov 13, 2014 9:02 am

You want summary type Sum. That will work but remember that it presumes a player you are playing against uses a HUD and has always used a HUD and has his entire lifetime of hand histories to rely upon. These are far from guaranteed.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: 3Bet Preflop vs Hero

Postby 4StarGen » Tue Dec 09, 2014 5:36 pm

From a programming POV, is there a way to test this difficult stats, or any stat in general?
4StarGen
 
Posts: 932
Joined: Sat Mar 08, 2014 6:58 am

PreviousNext

Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 30 guests

cron