Discuss how to create custom stats, reports and HUD profiles and share your creations.
Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators
by erdnase17 » Sun Jul 01, 2012 1:33 pm
I know there is already a column for this cnt_p_facing_limpers but I didn't notice at first so I tried to make my own (for HU tables) like so:
sum(if[tourney_hand_player_statistics.amt_p_raise_facing = 0 and lookup_actions_p.action LIKE '_' and tourney_hand_player_statistics.position = 8, 1, 0])
but I get a different count. What is missing here?
-
erdnase17
-
- Posts: 227
- Joined: Wed Feb 15, 2012 10:07 am
by kraada » Mon Jul 02, 2012 8:06 am
How far off are the counts?
-
kraada
- Moderator
-
- Posts: 54431
- Joined: Wed Mar 05, 2008 2:32 am
- Location: NY
by erdnase17 » Mon Jul 02, 2012 3:56 pm
Over the biggest sample size (my own) it counts 2440 while cnt_p_facing_limpers counts 2474.
It seems like my version undercounts this stat. Any thoughts?
Thanks.
-
erdnase17
-
- Posts: 227
- Joined: Wed Feb 15, 2012 10:07 am
by kraada » Mon Jul 02, 2012 5:04 pm
You're undercounting because you're looking for exactly one action - 34 times you raised and were reraised and thus took a second action, which would filter you out of the expression you put together.
-
kraada
- Moderator
-
- Posts: 54431
- Joined: Wed Mar 05, 2008 2:32 am
- Location: NY
by erdnase17 » Wed Jul 04, 2012 6:54 am
kraada wrote:You're undercounting because you're looking for exactly one action - 34 times you raised and were reraised and thus took a second action, which would filter you out of the expression you put together.
Thanks. I guess if I would remove lookup_actions_p.action LIKE '_' it would return the same value then.
-
erdnase17
-
- Posts: 227
- Joined: Wed Feb 15, 2012 10:07 am
by kraada » Wed Jul 04, 2012 9:14 am
You could make it lookup_actions_p.action LIKE '_%' - that means you had at least one action but maybe more.
-
kraada
- Moderator
-
- Posts: 54431
- Joined: Wed Mar 05, 2008 2:32 am
- Location: NY
Return to Custom Stats, Reports and HUD Profiles
Users browsing this forum: Amazonbot and 22 guests