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

Stats

Postby raph156 » Sun Sep 12, 2010 6:54 am

Hi,

That's possible to know the % of time i have "high card" on the flop?
That's possible to know the % of time i have a groupe of hands, for exemple: % time i have groupe 1 wich feature AA, KK, QQ, JJ ?
If 1bet = 1 big blind and 1 big bet = 2 big blind and the limit is 4bet, its hard to use in NL holdem. That's possible to know the "amount VP$IP", for exemple: 3% 25bb VP$IP and 97% 10bb VP$IP ?

Thanks for your help.
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: Stats

Postby kraada » Sun Sep 12, 2010 9:25 am

Yes, you can create custom stats to see this sort of information.

The database fields you'll need for your stats are:
(1) holdem_hand_player_combinations.flg_f_highcard (which is true if you have just a high card hand on the flop, false otherwise)
(2) For data on individual holecards, see this post
(3) holdem_hand_player_summary.amt_bet_ttl (the total amount you bet in the hand in question)
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Stats

Postby raph156 » Tue Sep 14, 2010 9:47 am

Hi,

section holdem cash hand, columns:

amt_bet_tot
holdem_hand_player_summary.amt_bet_ttl
total amount bet
valid

amt_call_tot
holdem_hand_player_detail.amt_call_ttl
total amount call
not valid

amt_bet_tot>10bb
holdem_hand_player_statistics.amt_bet_ttl > 10bb
If the player bet more than 10bb
not valid


id_holecard_AA
sum( if[ holdem_hand_player_statistics.id_holecard = 1, 1, 0])
not valid

id_holecard_AA_kk
sum( if[ (holdem_hand_player_statistics.id_holecard = 1) OR if[ (holdem_hand_player_statistics.id_holecard = 26), 1, 0])
ID of the player's holecards
not valid

Whats wrong with my "expression"?

Thanks for your help.
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: Stats

Postby raph156 » Tue Sep 14, 2010 10:22 am

raph156 wrote:Hi,

section holdem cash hand, columns:

amt_bet_tot
holdem_hand_player_detail.amt_bet_ttl
total amount bet
valid

amt_call_tot
holdem_hand_player_detail.amt_call_ttl
total amount call
not valid

amt_bet_tot>10bb
holdem_hand_player_statistics.amt_bet_ttl > 10bb
If the player bet more than 10bb
not valid


id_holecard_AA
sum( if[ holdem_hand_player_statistics.id_holecard = 1, 1, 0])
not valid

id_holecard_AA_kk
sum( if[ (holdem_hand_player_statistics.id_holecard = 1) OR if[ (holdem_hand_player_statistics.id_holecard = 26), 1, 0])
ID of the player's holecards
not valid

section holdem cash player statistics, columns:

cnt_highcard_f
sum( if[holdem_hand_player_combinations.flg_f_highcard ,1 ,0])
If the player have high card on the flop
valid

cnt_highcard_f_win
sum( if[ (holdem_hand_player_ combinations.flg_f_highcard) AND (holdem_hand_player_statistics.flg_won_hand), 1, 0])
If the player have high card on the flop and win the hand
not valid

Whats wrong with my "expression"?

Thanks for your help.
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: Stats

Postby kraada » Tue Sep 14, 2010 12:19 pm

Please read through the Tutorial: Using Custom Statistics and Reports; it will explain a lot of this for you.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Stats

Postby raph156 » Tue Sep 21, 2010 11:01 am

Hi,

The amount of bet and call are valid but a raise isnt.
I tried to make stats with the % win of high card, nothing look help me. All my columns combinations and groupes hands are valid. Can you see me the good way.

Thanks for your help
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: Stats

Postby kraada » Tue Sep 21, 2010 11:45 am

If you'll pick one example you're having trouble with, I'll gladly help you work through it.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Stats

Postby raph156 » Tue Sep 21, 2010 1:21 pm

hi,

columns:
I have “sum(if[holdem_hand_player_detail.amt_bet_ttl > 0 and holdem_hand_player_detail.amt_bet_ttl <3 , 1, 0]) “
I dont find something like that for call, raise, reraise

I want total number of hands a player make a total of big blind >0 and <3 for all actions ( call , bet, raise, reraise)
So 1= amt call + amt bet + amt raise + amt reraise >0 and <3
Or a VP$IP amount >0 and <3 not only pre flop


I have “sum( if[ (holdem_hand_player_combinations.flg_f_highcard) AND (holdem_hand_player_statistics.flg_won_hand), 1, 0])”

I want thise in stats
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Re: Stats

Postby kraada » Tue Sep 21, 2010 2:12 pm

amt_bet_ttl is the total amount that you wagered, not just for bets. To break it down into bet sizing made and bet sizing facing you'd want to use other data in the holdem_hand_player_detail table. Please note also that these numbers are in absolute dollar amounts, not in big blinds.

If you wanted to count up all hands in which a player faced a bet of less than $3 on the flop you could do:
sum(if[holdem_hand_player_detail.amt_f_bet_facing >0 and holdem_hand_player_detail.amt_f_bet_facing < 3, 1, 0])

If you wanted it to be < 3 big blinds:
sum(if[holdem_hand_player_detail.amt_f_bet_facing >0 and holdem_hand_player_detail.amt_f_bet_facing < ( 3 * holdem_limit.amt_bb), 1, 0])
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Stats

Postby raph156 » Wed Sep 22, 2010 4:01 am

hi,

So with thise expression do I have? : hands which player put a total X (0<X<3) and ( X= call + bet + raise + reraise)
exemple: a 3bet pre flop or a call and a bet or a call and a call ( bet and call of 1bb )
sum(if[holdem_hand_player_detail.amt_bet_ttl >0 and holdem_hand_player_detail.amt_bet_ttl < ( 3 * holdem_limit.amt_bb), 1, 0])

I wants the stats : % high card on the flop
I tried flg_f_highcard... not valid

Thanks for your help.
raph156
 
Posts: 159
Joined: Tue Feb 09, 2010 3:22 pm

Next

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

Who is online

Users browsing this forum: No registered users and 0 guests