Combining two stats to make a new custom stat

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Combining two stats to make a new custom stat

Postby tryptamean » Tue Dec 11, 2012 8:56 am

Hi,

I'm interested in creating a custom HUD pop-up for blind vs blind play in LHE. I'm having trouble finding a way to display the desired information.

For instance, when a player is in the SB, I'd like to know how often they 4-bet vs a BB 3-bet. It seems simplest to select the SB position within the HUD options. Then I'd like to say "Raise First In = TRUE and (cnt_p_raise_3bet / cnt_p_3bet_def_opp) * 100" .... I simply copy/pasted the value expression for 4Bet Preflop from the PT4 statistic configuration window. I can't figure out the correct way to enter conditional statements.

Once I figure out that process I want to add other stats such as c-bet flop, turn, river, street by street fold %, etc.... all combined with raise first in from SB.

Thanks for any help you can provide.
tryptamean
 
Posts: 2
Joined: Mon May 26, 2008 6:13 pm

Re: Combining two stats to make a new custom stat

Postby kraada » Tue Dec 11, 2012 10:51 am

You don't need to combine anything for this setup - the 4Bet Preflop stat will be sufficient. Use that and set it to the SB position by changing the Position drop down in the Item Properties area at the top right. That will be how often you made exactly a 4bet preflop when in the SB. You can set PT4 to only show heads up data when playing heads up via the Number of Players Filtered area in the Hud -> Edit Hud Options window.

Most stats will work like this and this should give you some of the information you do want.

To create a custom statistic that filters to only hands where someone has raised first in what you want to do is create a custom column based on the originals the stat uses - you can see the columns the stat uses in its Value Expression. Those columns are listed on the Columns page. These are what you want to duplicate and edit, then you create your new stat out of these modified columns.

To add "raise first in" to any existing column add:
AND cash_hand_player_statistics.flg_p_first_raise

within the part of the column shown here as an X:
sum(if[X, 1, 0])
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Combining two stats to make a new custom stat

Postby tryptamean » Tue Dec 11, 2012 12:40 pm

Ok I think I have it now. Didn't know I need to go into the columns to use the AND function.

I also found a column that already served my purpose: cnt_p_4bet_after_raising, so I only needed to edit it to make an opportunities column.

Definitely need to filter for raise first in for my purposes since I assume an overall 4bet will include instances of the player cold-4-betting, while many players never 4bet in a blind vs blind spot.
tryptamean
 
Posts: 2
Joined: Mon May 26, 2008 6:13 pm

Re: Combining two stats to make a new custom stat

Postby kraada » Tue Dec 11, 2012 1:06 pm

Yes, that's 4Bet+ Preflop After Raising - which will probably work well for you for limit because most sites cap betting after 4 bets.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: ricardomreis22 and 39 guests

cron