problems with summery of a statistic in report
Posted: Fri Apr 29, 2011 2:11 pm
Hi,
I am trying to run a report to analyse 'EV Allin Equity' against 'Actual Hand Outcomes' for a large sample of pre-flop all-in hands. The analysis requires that all hands are considered to have equal value (and not valued by BB or pot size). Details are:
Section:
Holdem Tournament Hand
Filters:
Filter on active player - UNCHECKED
Facing all-in CALLED
With 2 players at the flop
Report Stats (non-custom):
Hand#
Player
Site Icon
Hole 1
Hole 2
Winner
EV Allin Equity
I have built three custom stats as well:
1) 'Won=tick'...................... definition: flg_won_hand.................... format: format_bool( flg_won_hand ,'check')
This has worked fine but what I really want to do is sum the number of boxes that are ticked - I couldn't find a way to do this so I tried:
2) 'Won=1'......................... definition: if(str_winner=str_player,1,0)
This worked as well, giving a value of 1 for every hand won and zero for every hand lost, but the summary output was also 1 and I couldn't find a way to add so I tried:
3) 'Won=one'...................... definition: if(str_winner=str_player,output_equals_1,0)
where I built a new variable 'output_equals_1'... where the expression was simply the number '1' but I was able to change the summary type to 'sum'. However, this seems to have summed every hand (it has counted the lost hands as well) and the summary is equal to the total number of hands!
Is there a way that I can have the summary 'add up' all the won hands?
Many thanks for your help.
I am trying to run a report to analyse 'EV Allin Equity' against 'Actual Hand Outcomes' for a large sample of pre-flop all-in hands. The analysis requires that all hands are considered to have equal value (and not valued by BB or pot size). Details are:
Section:
Holdem Tournament Hand
Filters:
Filter on active player - UNCHECKED
Facing all-in CALLED
With 2 players at the flop
Report Stats (non-custom):
Hand#
Player
Site Icon
Hole 1
Hole 2
Winner
EV Allin Equity
I have built three custom stats as well:
1) 'Won=tick'...................... definition: flg_won_hand.................... format: format_bool( flg_won_hand ,'check')
This has worked fine but what I really want to do is sum the number of boxes that are ticked - I couldn't find a way to do this so I tried:
2) 'Won=1'......................... definition: if(str_winner=str_player,1,0)
This worked as well, giving a value of 1 for every hand won and zero for every hand lost, but the summary output was also 1 and I couldn't find a way to add so I tried:
3) 'Won=one'...................... definition: if(str_winner=str_player,output_equals_1,0)
where I built a new variable 'output_equals_1'... where the expression was simply the number '1' but I was able to change the summary type to 'sum'. However, this seems to have summed every hand (it has counted the lost hands as well) and the summary is equal to the total number of hands!
Is there a way that I can have the summary 'add up' all the won hands?
Many thanks for your help.