Hand matchups

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

Hand matchups

Postby silvia » Wed May 19, 2010 1:54 pm

Hi there,

I have been trying to find a way to compare the expected probabilites for certain hands match ups (like qq vs A-x, for example ), versus my occurrences while playing. In this case I would need to look at a sample of filtered hands (by 'starting hand = qq, went to showdown=true' in the previous example), then filter the other players as something like 'starting hand=A-x, went to showdon).
How can I do it? :?:

Thanks a lot,

S.
(PS: 'I have been trying' means that I didn't succeed, my brain hurts and I still have not a clue)
silvia
 
Posts: 41
Joined: Thu May 29, 2008 4:12 am

Re: Hand matchups

Postby kraada » Wed May 19, 2010 3:18 pm

Have you taken a look at this thread?
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Hand matchups

Postby silvia » Thu May 20, 2010 4:57 am

Hi,

Great! Fantastic!! Thank you so much.

I am posting the following just in case there are other people trying to do hand matchups with tournaments (it took me a little bit to work it out). Because I am looking at tournaments, my report is run under section Holdem Tournament Hand. After adding the simple filters 'went to showdown' and 'hole cards = AA'. I modified the command line that you suggested in that thread to make it match the tournamets, i.e., my custom filter reads:

tourney_holdem_hand_player_statistics.id_hand in (SELECT tourney_holdem_hand_player_statistics.id_hand from tourney_holdem_hand_player_statistics WHERE tourney_holdem_hand_player_statistics.id_holecard = 1)
and
tourney_holdem_hand_player_statistics.id_hand in (SELECT tourney_holdem_hand_player_statistics.id_hand from tourney_holdem_hand_player_statistics WHERE tourney_holdem_hand_player_statistics.id_holecard = 26)


(I replaced 'holdem_hand_player_statistics.id_hand with 'tourney_holdem_hand_player_statistics').

Now I will try to work out how to display the winning/loosing percentages. I hope this will be easy after I learn how to write my own statistics. If not I will be back :)

Thanks again,

S.
silvia
 
Posts: 41
Joined: Thu May 29, 2008 4:12 am

Re: Hand matchups

Postby kraada » Thu May 20, 2010 9:03 am

Yep that's how you'd modify it for tournaments.

Good luck and if you have any more trouble I'll be here all day :)
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Hand matchups

Postby silvia » Fri May 21, 2010 1:59 am

Thank you kraada! I learnt how to do the statistics!!! I am so excited, I love SQL :D
S.
PS: by the way, I am very pleased with the excellent support you people provide for PT users. Thank you :heart:
silvia
 
Posts: 41
Joined: Thu May 29, 2008 4:12 am

Re: Hand matchups

Postby kraada » Fri May 21, 2010 9:16 am

You're welcome, I'm always glad to see people learning :)
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