Trying to make stat, failing

Questions and discussion about PokerTracker 4 for Windows

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Trying to make stat, failing

Postby bodhisoma » Sun May 06, 2012 2:45 pm

Hi all,

Trying to make a stat that is essentially "number of times player opened from SB <20bb deep." I should probably mention this is HUSNG format.

I found this thread, tried working through it, I just can't quite figure it out. I think the stat should look something like this:

cnt_p_raise / (cnt_p_fold + cnt_p_raise)

...what I can't figure out is how to wrap that in "...when effective stacks are <20bb."

Anyone really good with stats that can give a clue here?

Thanks much in advance!
bodhisoma
 
Posts: 231
Joined: Mon Sep 21, 2009 9:49 am

Re: Trying to make stat, failing

Postby kraada » Mon May 07, 2012 10:12 am

What you need to do is make new columns - the existing columns are for all situations and you need to make more specific ones to encompass the situations you are looking for.

For the percentage of the time a player opened (I'm presuming with a raise) less than 20BB stack you want two columns:

cnt_hands_short_open_opp: sum(if[(tourney_hand_player_statistics.amt_before / tourney_blinds.amt_bb) < 20 and tourney_hand_player_statistics.flg_p_open_opp, 1, 0])

This counts how many times a player had a stack of less than 20BB and a chance to open the pot

and

cnt_open_short:
sum(if[(tourney_hand_player_statistics.amt_before / tourney_blinds.amt_bb) < 20 and tourney_hand_player_statistics.flg_p_first_raise, 1, 0])

That counts how many times a player had a stack of less than2 0BB and actually opened the pot.

Once you've built these columns in the Columns area of the stat configuration, build the stat definition using these columns by putting the latter over the former and multiplying by 100 - so your stat value expression would look like:

(cnt_open_short / cnt_hands_short_open_opp) * 100

If you used the names given above.

I hope that clarifies things for you a bit.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Trying to make stat, failing

Postby bodhisoma » Sat May 12, 2012 10:57 am

Wow, kraada, you just saved me like 30+ hours of trying to figure it out (and failing, no doubt). Thanks a ton.
bodhisoma
 
Posts: 231
Joined: Mon Sep 21, 2009 9:49 am

Re: Trying to make stat, failing

Postby kraada » Sun May 13, 2012 9:22 pm

That's what I'm here for :)
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Trying to make stat, failing

Postby bodhisoma » Mon May 14, 2012 11:13 am

Gak. I made a mistake in my "English version" of what I wanted.

What I wanted was <20bb effective stacks. These columns/stats are tabulating only if the player is <20bb.

Is that even possible?
bodhisoma
 
Posts: 231
Joined: Mon Sep 21, 2009 9:49 am

Re: Trying to make stat, failing

Postby kraada » Mon May 14, 2012 12:23 pm

We have tourney_hand_summary.amt_p_effective_stack - that is same as the smallest stack dealt in. If that is what you prefer to use, that will work (there's also amt_f_effective_stack, amt_t_effective_stack and amt_r_effective_stack which is the smallest remaining stack to see each of the three streets respectively).
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Trying to make stat, failing

Postby b3ck5 » Wed Aug 22, 2012 1:00 pm

kraada, Could you help me out with columns for similar scenarios please?
Such as:
-3bet% vs SB with X to Y BB effective stack
-3bet Shove % vs SB with < X BB effective stack
-Steal from SB with Y> BB effective stack

Just one of each and I will go from there. Sorry for being lazy. But this custom stat programing is just too much for my brain.
b3ck5
 
Posts: 10
Joined: Tue Aug 21, 2012 9:38 pm


Return to PokerTracker 4

Who is online

Users browsing this forum: No registered users and 24 guests