TIGANCIC wrote:I am on the Small Blind (SB) and limp.
The Big Blind (BB) isolates my limp.
From the detail you have given here it sounds like you want this for hands against
you only and there is nothing in your expressions that specifies
you are in the small blind. If you want this to be for when you specifically are in the SB then that would be what is referred to as a 'vs Hero' statistic which would require an additional subquery. There is a thread on the topic of creating stats vs hero
here if that's what you want.
TIGANCIC wrote:The Button (BTN) folds preflop.
If you want this 100% of the time you need to specify that 3 players were dealt in otherwise heads up hands with no BTN will be counted too:
- Code: Select all
tourney_hand_summary.cnt_players = 3
TIGANCIC wrote:The calculation should account for specific ranges of effective stacks, for example:
10–12 BB,
15–17 BB.
When a player has an effective stack between 10 and 12 big blinds the following is true:
- Code: Select all
(tourney_hand_player_statistics.amt_p_effective_stack / tourney_blinds.amt_bb) between 10 and 12
You can change the
10 and
12 as needed for different stack ranges.
TIGANCIC wrote:Here’s the current version of the custom stat I’ve created so far. I’d like to confirm if I’m moving in the right direction with this approach and if there are any improvements or best practices I should consider.
As the statistic is for the BB I'd recommend including that in the columns:
- Code: Select all
tourney_hand_player_statistics.position = 8
While the columns as they are shouldn't count hands for any other position it's good practice as there may be some edge cases in some stats where a hand could get counted for a player/position you didn't want.
- Code: Select all
tourney_hand_summary.str_aggressors_p SIMILAR TO '8%'
The above isn't actually doing anything since the aggressors string always starts with an '8' - see
this post for more information on how the actors and aggressors strings work.
- Code: Select all
tourney_hand_player_statistics.cnt_p_face_limpers > 0 AND NOT(tourney_hand_player_statistics.flg_p_open_opp)
Sometimes testing for one thing means it's not necessary to include other tests. In this case you don't need to test for not having an open opportunity if you are already specifying the player faced a limp.
tig_bb_iso_sb_limp_10_12
- Code: Select all
sum(if[tourney_hand_player_statistics.position = 8 and tourney_hand_summary.cnt_players = 3 and tourney_hand_player_statistics.cnt_p_face_limpers = 1 and tourney_hand_summary.str_actors_p LIKE '9%' and (tourney_hand_player_statistics.amt_p_effective_stack / tourney_blinds.amt_bb) between 10 and 12 and tourney_hand_player_statistics.flg_p_first_raise, 1, 0])
tig_bb_facing_sb_limp_10_12
- Code: Select all
sum(if[tourney_hand_player_statistics.position = 8 and tourney_hand_summary.cnt_players = 3 and tourney_hand_player_statistics.cnt_p_face_limpers = 1 and tourney_hand_summary.str_actors_p LIKE '9%' and (tourney_hand_player_statistics.amt_p_effective_stack / tourney_blinds.amt_bb) between 10 and 12, 1, 0])