Custom stats for summary report

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Custom stats for summary report

Postby kondom91 » Thu Jun 22, 2023 12:13 pm

I would like to create a bunch of custom stats to add into my summary report by position with adj BB/100 filtered by effective stack size.
I.e.
Adj BB/100 at effective stack >= 0 AND effective stack < 5
Adj BB/100 at effective stack >= 5 AND effective stack < 10
Adj BB/100 at effective stack >= 10 AND effective stack < 15

and so on..
kondom91
 
Posts: 14
Joined: Thu Apr 23, 2020 10:18 pm

Re: Custom stats for summary report

Postby kondom91 » Thu Jun 22, 2023 4:43 pm

So I tried creating two new columns:

amt_expected_bb_won__0_2
Code: Select all
sum(if[tourney_hand_player_statistics.amt_p_effective_stack >= 10 and tourney_hand_player_statistics.amt_p_effective_stack < 12, tourney_hand_player_statistics.amt_expected_won / tourney_blinds.amt_bb, 0])


cnt_hands__eff_stack__0_2
Code: Select all
sum(if[tourney_hand_player_statistics.amt_p_effective_stack > 0 and tourney_hand_player_statistics.amt_p_effective_stack < 2, 1, 0])



And a new statistic with them called All-In Adj BB/100 0-2
Code: Select all
amt_expected_bb_won__0_2 / (cnt_hands__eff_stack__0_2bb / 100)


It is not working :D
kondom91
 
Posts: 14
Joined: Thu Apr 23, 2020 10:18 pm

Re: Custom stats for summary report

Postby Flag_Hippo » Fri Jun 23, 2023 12:07 pm

The effective stack sizes you are using in each column are not the same (10 & 12 vs 0 & 2) and if you want the effective stack sizes in big blinds you also need to divide the effective stack sizes in your columns by tourney_blinds.amt_bb.
Flag_Hippo
Moderator
 
Posts: 17044
Joined: Tue Jan 31, 2012 7:50 am

Re: Custom stats for summary report

Postby kondom91 » Sat Jun 24, 2023 1:54 pm

Flag_Hippo wrote:The effective stack sizes you are using in each column are not the same (10 & 12 vs 0 & 2) and if you want the effective stack sizes in big blinds you also need to divide the effective stack sizes in your columns by tourney_blinds.amt_bb.



Thank you! Yes, I was working on two different stack sizes.

I divided the effective stack sizes in the colums as you said and it is now working correctly.
Thank you very much for your help :heart:
kondom91
 
Posts: 14
Joined: Thu Apr 23, 2020 10:18 pm

Re: Custom stats for summary report

Postby WhiteRider » Sat Jun 24, 2023 2:06 pm

That's great to hear - thanks for the update!
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 69 guests