Two Plus Two Publishing LLC Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > Internet Poker > Software

Notices

Software Discussions about gambling-related and poker software.

Reply
 
Thread Tools Display Modes
Old 08-08-2012, 04:55 AM   #1
journeyman
 
ceorge's Avatar
 
Join Date: Aug 2011
Location: NO SET --> 3 BET
Posts: 299
Where I can find PT3 stats in the database?

I'd like to do some stats analysis with the data contained in my Poker tracker 3 database.

In particular I want to classify players in classes given some parameters (VP$IP,AF...), however I can't manage to find a table in the database that has this info... (I just see holdem_cache, _handhistory etc...).

Where are they stored? Don't tell me I need to recalculate them!
ceorge is offline   Reply With Quote
Old 08-08-2012, 09:56 PM   #2
_Pooh_Bah_
 
Join Date: Feb 2005
Location: UK
Posts: 9,191
Re: Where I can find PT3 stats in the database?

it's most all in holdem_hand_player_statistics, occasionally holdem_hand_player_detail has interesting stuff too. join to table player on id_player to get their names.

you kinda do need to work them out, but it's easy. sometimes lot of the time they're bools, so you need to case and sum them. then divide by opportunities. for example:

Code:
SELECT
  SUM (CASE WHEN (hhps.flg_vpip) THEN 1.0 ELSE 0.0 END) / COUNT(hhps.id_player) AS vpip
FROM
  holdem_hand_player_statistics hhps, player
WHERE
  player.id_player = hhps.id_player AND player.player_name = 'screenname_here';
would get you the VPIP for screenname_here

note 1.0 and 0.0 in the case, important to cast as a float since it'll give a result like 0.223422, and round to zero if using ints.
_dave_ is offline   Reply With Quote
Old 08-09-2012, 04:08 AM   #3
journeyman
 
ceorge's Avatar
 
Join Date: Aug 2011
Location: NO SET --> 3 BET
Posts: 299
Re: Where I can find PT3 stats in the database?

Great man!
ceorge is offline   Reply With Quote
Old 08-10-2012, 05:51 AM   #4
journeyman
 
ceorge's Avatar
 
Join Date: Aug 2011
Location: NO SET --> 3 BET
Posts: 299
Re: Where I can find PT3 stats in the database?

Excuse me, I don't know SQL sintax in deep, is it possible to create a query to identify betting pattern of opponent with at least xxx hands? Or just find out how they're playing preflop (how much they're opening and if they use the same amount every time)?
ceorge is offline   Reply With Quote

Reply
      

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -4. The time now is 07:19 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2008-2010, Two Plus Two Interactive