I don´t find some stats

Forum for users that want to write their own custom queries against the PT database either via the Structured Query Language (SQL) or using the PT3 custom stats/reports interface.

Moderator: Moderators

I don´t find some stats

Postby snejjj » Thu Jun 18, 2009 7:41 am

Hello,
i am playing only HU and i need some stats i couldn´t find: call steal % (not call steal% (x/y)!!) donk flop % (not donkbet flop (x/y)!!)

fold donkbet flop bet vs missed cb ip% bet vs missed cb oop %

In Holdem manager this exists. Have this stats other names in PT3; if doesn´t pls tell me how i can make this stats by myself or somebody who can send me this stats by email ?

thx
snejjj
 
Posts: 6
Joined: Thu May 29, 2008 5:21 pm

Re: I don´t find some stats

Postby kraada » Thu Jun 18, 2009 9:28 am

You can turn off the showing (x/y) by turning off "Show Times/Opportunities" in the properties box for the specific statistic in question. See this FAQ for more details.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: I don´t find some stats

Postby WhiteRider » Thu Jun 18, 2009 11:58 am

If you downloaded my stats from the Repository then you can change the Format Expression so that the opportunities (x/y) part isn't shown.
See this post which explains how to add them and you should be able to remove them again.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: I don´t find some stats

Postby zoidberg » Mon Sep 14, 2009 7:36 pm

Is the bet vs missed cb oop stat available now? If not, could someone show me how to build it?

To be clear: This is for heads-up! The stat i am looking for should show me the following: When I am in position, raise my button and villain calls, he checks the flop and I check behind, how often does he (donk)bet the turn.

Ty!
zoidberg
 
Posts: 14
Joined: Thu Jun 26, 2008 10:37 am

Re: I don´t find some stats

Postby WhiteRider » Tue Sep 15, 2009 4:30 am

For heads up positions are really easy - SB is always position 9 and BB is 8. So in and out of position can be done just by checking for the appropriate position.
holdem_hand_player_statistics.position=8
...means the player is in the big blind.

To see if the BB faces an open-raise you can check for facing a steal:
holdem_hand_player_statistics.flg_blind_def_opp
..and if they call this then their actions string will be exactly "C".
lookup_actions_p.action = 'C'

To see if you both check the flop you can again use the actions string:
lookup_actions_p.action = 'X'
..says that the only thing the player did on the flop was check, so the SB must have checked too.

So far, both your columns (the actions and the opportunities) will need all of the checks.
The difference comes for seeing if the BB bets the turn.
holdem_hand_player_statistics.flg_f_bet

Have a look at the Custom Statistics and Reports FAQ and have a go at putting your stat together - if you get stuck please post back and tell us where you're up to.

NOTE: If you ONLY play heads up then columns built like this will be fine, but they won't behave correctly at other table sizes.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: I don´t find some stats

Postby zoidberg » Tue Sep 15, 2009 7:43 pm

First of all thank you for the reply. I haven´t created a stat before so I don´t know if I really will be able to create this stat but we´ll see...

I read a bit through the Custom Statistics and Reports FAQ and now have a first few questions:

WhiteRider wrote:So far, both your columns (the actions and the opportunities) will need all of the checks.
The difference comes for seeing if the BB bets the turn.
holdem_hand_player_statistics.flg_f_bet


this should be holdem_hand_player_statistics.flg_t_bet, right?

WhiteRider wrote:To see if you both check the flop you can again use the actions string:
lookup_actions_p.action = 'X'
..says that the only thing the player did on the flop was check, so the SB must have checked too.


this should be lookup_actions_f.action = 'X', right? Also, doesn´t this just say that the BB checks the flop (but since the BB is first to act on the flop the SB would still have the opportunity to bet)?
zoidberg
 
Posts: 14
Joined: Thu Jun 26, 2008 10:37 am

Re: I don´t find some stats

Postby kraada » Wed Sep 16, 2009 8:53 am

Yes it should have been flg_t_bet for betting the turn.

WhiteRider's other point though was that you specifically stated you wanted the stat to be for when you are in position; if you use position = 9 (that is, you're in the SB, which heads up always has position), if your flop action was to check, your out of position opponent must have checked too.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: I don´t find some stats

Postby zoidberg » Wed Sep 16, 2009 9:31 am

kraada wrote:WhiteRider's other point though was that you specifically stated you wanted the stat to be for when you are in position; if you use position = 9 (that is, you're in the SB, which heads up always has position), if your flop action was to check, your out of position opponent must have checked too.


I got it now, thanks kraada
zoidberg
 
Posts: 14
Joined: Thu Jun 26, 2008 10:37 am

Re: I don´t find some stats

Postby WhiteRider » Wed Sep 16, 2009 11:55 am

You are not building this stat from your own point of view - you want to know how often the BB bets the turn, so you are building the stat from his point of view.
If his only action on the flop is to check, then you MUST have checked too. If he checks and you bet then he must make another action - fold, call or raise, so his action string wouldn't be exactly 'X'. (It would start with X, but ='X' means that the string is exactly X - a check and no other actions.)
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: I don´t find some stats

Postby zoidberg » Sat Sep 19, 2009 12:53 pm

So i tried to create this stat but it doesn´t seem to work. Here´s what I did

I created to columns. The first one should count the opportunities for the BB to steal and 2nd one is meant to count how often he actually does try to steal

1) cnt_t_steal_bb_opp --> sum(if[holdem_hand_player_statistics.position=8 AND holdem_hand_player_statistics.flg_blind_def_opp AND lookup_actions_p.action = 'C' AND lookup_actions_f.action = 'X',1,0])
2) cnt_t_steal_bb --> sum(if[holdem_hand_player_statistics.position=8 AND holdem_hand_player_statistics.flg_blind_def_opp AND lookup_actions_p.action = 'C' AND lookup_actions_f.action = 'X' AND holdem_hand_player_statistics.flg_t_bet,1,0])

so the stat should be: (cnt_t_steal_bb / cnt_t_steal_bb_opp) * 100

could you tell me where my mistake is?
zoidberg
 
Posts: 14
Joined: Thu Jun 26, 2008 10:37 am

Next

Return to Custom Stats, Reports, and SQL [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests