New stat for sng bubble...

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

New stat for sng bubble...

Postby Narcis13 » Fri Dec 05, 2008 7:44 am

Hello,

Can i find a way to determine the average stack a player aproach the bubble for all tournaments i loaded?
Thank you!
Narcis13
 
Posts: 5
Joined: Thu Aug 21, 2008 2:08 am

Re: New stat for sng bubble...

Postby kraada » Fri Dec 05, 2008 10:33 am

There might be a way to do this, but you're going to have to define "approaches the bubble" a lot more before I can help you further.

Are you only talking 9 man SnGs? Is this when 4/5 handed or just 4 handed?

There are details like that which need to be worked out before the stat can be built.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: New stat for sng bubble...

Postby Narcis13 » Mon Dec 08, 2008 7:30 am

I play 6 man sngs so i need to know what is my average stack size when i am dealt first hand when we are down to 3 players...
Thank you very much for your help...

Narcis
Narcis13
 
Posts: 5
Joined: Thu Aug 21, 2008 2:08 am

Re: New stat for sng bubble...

Postby kraada » Mon Dec 08, 2008 10:49 am

Picking out the first hand when you reach 3 players may be tough. I'll have to think about whether that's doable.

Average stack size for you while 3 handed though shouldn't be too hard and I can walk you through that if you'd like.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: New stat for sng bubble...

Postby Narcis13 » Tue Dec 09, 2008 7:18 am

OK, i am waiting for your help through this...

Thank you!
Narcis13
 
Posts: 5
Joined: Thu Aug 21, 2008 2:08 am

Re: New stat for sng bubble...

Postby kraada » Tue Dec 09, 2008 2:02 pm

Average stack size while 3 handed:

Create two columns:

(1) cnt_hands_3handed defined as:

sum(if[tourney_holdem_hand_summary.cnt_players = 3, 1, 0])

This is the total number of 3 handed hands a player has played

(2) amt_before_3handed defined as:

sum(if[tourney_holdem_hand_summary.cnt_players = 3, tourney_holdem_hand_player_detail.amt_before, 0])

This sums up how much of a stack someone had for all hands that were 3 handed.

Then create the stat:

Average stack size when 3 handed

with value expression:

amt_before_3handed / cnt_hands_3handed

make sure to give it a title and a width on the format tab, and you'll want format expression to be /%.2f.
kraada
Moderator
 
Posts: 54431
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 12 guests

cron
highfalutin