Stats by Board Structure

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 by Board Structure

Postby EinSIM » Sat Sep 05, 2009 10:59 am

Hello,

is it possible to make stats like Flop CBet, Fold to F Cbet, Raise F CBet, ...
for Paired Boards, Monochrome Boards etc

If tried something but i find no solution
EinSIM
 
Posts: 74
Joined: Tue May 06, 2008 6:16 pm

Re: Stats by Board Structure

Postby WhiteRider » Sat Sep 05, 2009 1:25 pm

Technically it's possible, yes, but I think that there are performance issues related to using them - I think Kraada will be able to set the record straight; he was building a set of stats which were causing performance problems and I think they were of this kind.
You can get board card information from the database: holdem_hand_summary.card_1 etc.
See this post for card values.
There are database fields for this kind of thing in the database table: holdem_hand_player_combinations too.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Stats by Board Structure

Postby kraada » Sun Sep 06, 2009 9:05 am

The stats I built that had trouble were all based on the holdem_hand_player_combinations table - the one that tells you what hand someone actually hand.

You can build stats for specific board structures otherwise, it just gets a whole lot more complicated the more detailed stuff you want to do.

For example, this is true for a monotone board:

((holdem_hand_summary.card_1 <= 13 and holdem_hand_summary.card_2 <= 13 and holdem_hand_summary.card_3 <= 13) or ((holdem_hand_summary.card_1 <= 26 and holdem_hand_summary.card_1 >= 14) and (holdem_hand_summary.card_2 <= 26 and holdem_hand_summary.card_2 >= 14) and(holdem_hand_summary.card_2 <= 26 and holdem_hand_summary.card_2 >= 14) and (holdem_hand_summary.card_3 <= 26 and holdem_hand_summary.card_3 >= 14)) or
((holdem_hand_summary.card_1 <= 39 and holdem_hand_summary.card_1 >= 27) and (holdem_hand_summary.card_2 <= 39 and holdem_hand_summary.card_2 >= 27) and(holdem_hand_summary.card_2 <= 39 and holdem_hand_summary.card_2 >= 27) and (holdem_hand_summary.card_3 <= 39 and holdem_hand_summary.card_3 >= 27) or
(holdem_hand_summary.card_1 >= 40 and holdem_hand_summary.card_2 >= 40 and holdem_hand_summary.card_3 >= 40)))
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


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

Who is online

Users browsing this forum: No registered users and 0 guests