Position when SB Open Folds

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Position when SB Open Folds

Postby tobakudan » Tue Jun 16, 2015 12:05 am

I'm creating an open limping lifetime stat for hero against a single opponent, and here's what I have at the moment:

Code: Select all
(cnt_p_limp_h / cnt_p_limp_opp_h) * 100


Where cnt_p_limp_h is:

Code: Select all
sum(if[tourney_hand_player_statistics.cnt_p_face_limpers > 0, 1, 0])


and cnt_p_limp_opp_h is:

Code: Select all
sum(if[tourney_hand_player_statistics.position = 8, 1, 0])


Strangely, cnt_p_limp_opp_h is not incremented when I open fold in the SB. Is the value of tourney_hand_player_statistics.position not 8 for my opponent when I open fold?
tobakudan
 
Posts: 84
Joined: Mon Dec 22, 2014 10:03 pm

Re: Position when SB Open Folds

Postby WhiteRider » Tue Jun 16, 2015 3:11 am

When making stats all the data refers to the player you're making the stat on, so if you're looking at the stat value for you then "tourney_hand_player_statistics.position" is your position.

I'm not sure exactly what you're trying to calculate - can you elaborate please?
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Position when SB Open Folds

Postby tobakudan » Tue Jun 16, 2015 3:52 am

I'll try to be clearer. Because the only two options are hero stats for the current tournament and lifetime hero stats against all opponents, I'm creating hero stats that are lifetime stats against a single opponent. This requires some reverse engineering, creating stats for opponents that are actually meant to be for hero.

In my stat, if my opponent is the BB, I am the SB and therefore have an opportunity to limp. If my opponent faces a limp, that means I limped. So although the stat is "applied" to my opponent in order to be calculated, the stat gives the percentage of the time that I limped against him, not just during this session but over all the tournaments I've played against him.
tobakudan
 
Posts: 84
Joined: Mon Dec 22, 2014 10:03 pm

Re: Position when SB Open Folds

Postby kraada » Tue Jun 16, 2015 7:15 am

Creating vs hero stats are considerably more complex. See this thread for a detailed discussion.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Position when SB Open Folds

Postby tobakudan » Tue Jun 16, 2015 7:48 am

Okay, I kind of understand the alternative method presented in that thread, but I don't see the problem with my method; what's causing it to not work?
tobakudan
 
Posts: 84
Joined: Mon Dec 22, 2014 10:03 pm

Re: Position when SB Open Folds

Postby kraada » Tue Jun 16, 2015 8:17 am

Several things:
First, the HUD shows you session stats for Hero.
Second, if you're using the replayer to see your lifetime stats they're exactly that - your lifetime stats, not against one specific opponent.
Third, if you're using the replayer for an opponent to see how you act, if you play any more than heads up, you can't guarantee (without the extra data as explained in the other method) that you were the player who took the other actions the person faced.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Position when SB Open Folds

Postby tobakudan » Tue Jun 16, 2015 8:35 am

I'm still not getting it.

First, the HUD shows you session stats for Hero.


But I'm using the stat I proposed as an opponent stat, not a hero stat (in the HUD, the group it is placed in has "Everyone But Hero" selected).

Second, if you're using the replayer to see your lifetime stats they're exactly that - your lifetime stats, not against one specific opponent.


Yes, I understand this, and it's not what I'm doing (precisely because of what I explained above, namely that the stat is a lifetime stat of an opponent; it is simply being interpreted as a hero stat).

Third, if you're using the replayer for an opponent to see how you act, if you play any more than heads up, you can't guarantee (without the extra data as explained in the other method) that you were the player who took the other actions the person faced.


I only play heads up.
tobakudan
 
Posts: 84
Joined: Mon Dec 22, 2014 10:03 pm

Re: Position when SB Open Folds

Postby kraada » Tue Jun 16, 2015 12:06 pm

Ok, when you are doing heads up only play that does give you considerable more flexibility for this kind of thing. At that point though why not just think about it as a stat from your opponent's point of view how often he does . . . whatever you're interested?
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Position when SB Open Folds

Postby tobakudan » Tue Jun 16, 2015 9:08 pm

Because I'm actually creating hero stats. I'm not interested in how often an opponent did something, but how often I did something against him. I can find this by using how often he had certain opportunities, because that will tell me how often I did something against him. For example, in the stat I've been discussing, I'm interested in the number of times he faced a limp, because that tells me how many times I've limped against him. Divide that by the number of times I had the opportunity to limp against him, which is when my opponent is the BB, and the result I get is my limping frequency against this particular opponent. I don't see any simpler method than this, and I don't see why this isn't working...
tobakudan
 
Posts: 84
Joined: Mon Dec 22, 2014 10:03 pm

Re: Position when SB Open Folds

Postby WhiteRider » Wed Jun 17, 2015 3:02 am

Nothing in hero's data indicates who the opponent was in each hand. If you make a stat which is shown for hero and uses information about limps, that is how often hero limped. If you use information about facing limps, that is how often hero faced a limp in all hands they player (regardless of opponent).
One of our advanced stat makers may be able to build what you want, but it will require a considerably more advanced expression than basic stats.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Next

Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 28 guests

cron
highfalutin