Page 1 of 1
Column to count how often a player faced a limp
Posted:
Sun Jul 01, 2012 1:33 pm
by erdnase17
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?
Re: Column to count how often a player faced a limp
Posted:
Mon Jul 02, 2012 8:06 am
by kraada
How far off are the counts?
Re: Column to count how often a player faced a limp
Posted:
Mon Jul 02, 2012 3:56 pm
by erdnase17
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.
Re: Column to count how often a player faced a limp
Posted:
Mon Jul 02, 2012 5:04 pm
by kraada
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.
Re: Column to count how often a player faced a limp
Posted:
Wed Jul 04, 2012 6:54 am
by erdnase17
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.
Re: Column to count how often a player faced a limp
Posted:
Wed Jul 04, 2012 9:14 am
by kraada
You could make it lookup_actions_p.action LIKE '_%' - that means you had at least one action but maybe more.