## How to create a custom stat of limped then folded to a raise

General discussion of PokerTracker 3.

Moderator: Moderators

### How to create a custom stat of limped then folded to a raise

Hi,

I want to create a stat which shows how often a player limped then folded preflop to a raise. Does anyone know how to do this?
fisherman

Posts: 24
Joined: Sun Feb 03, 2008 8:33 am

### Re: How to create a custom stat of limped then folded to a raise

This is one that I've been meaning to get round to building.
I don't have time to work it out just now, but I'll try to do it later on and let you know.

Unless someone else has already made it..?
WhiteRider
Moderator

Posts: 52495
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

### Re: How to create a custom stat of limped then folded to a raise

It should be really easy. Surely the % of the time they do this is 1-(times called/times folded PF out of blinds) but I can't find the second of these stats
fisherman

Posts: 24
Joined: Sun Feb 03, 2008 8:33 am

### Re: How to create a custom stat of limped then folded to a raise

Sorry about the delay..

This looks pretty simple.
This is the expression I'm using for the 'Column' you need to create first. Use the 'Holdem Player Statistics' section.
Naming convention for this column would be "cnt_p_limp_fold".

cnt_p_limp_fold = sum( if[holdem_hand_player_statistics.flg_p_limp AND holdem_hand_player_statistics.flg_p_fold, 1, 0] )

Then create a Statistic based on this new Column.
Expression = (cnt_p_limp_fold / cnt_p_limp) * 100

The other column you need is:
cnt_p_limp = sum( if[holdem_hand_player_statistics.flg_p_limp, 1, 0] )

This led me onto working out how to generate the stat for how often they limped when they had the chance.
Which leads to the need for "cnt_p_limp_opp", the number of times the player had the opportunity to limp (i.e. when the pot was not raised before their first action).
This seems trickier, but I came up with this:

cnt_p_limp_opp = sum( if[ (NOT(holdem_hand_player_statistics.flg_p_face_raise) OR (holdem_hand_player_statistics.flg_p_limp) OR (holdem_hand_player_statistics.flg_p_first_raise)) AND NOT(holdem_hand_player_statistics.flg_blind_b), 1 , 0 ] )

Can anyone see a problem with this? Or think of a better way of doing it?

Obviously, the stat then becomes:
Preflop Limp% = ( cnt_p_limp / cnt_p_limp_opp ) * 100

Attached are the above 2 stats. Bear in mind these have not been checked by anyone else, so if you want to have a play with them please test carefully. I'll submit them for the repository too, but they won't appear there for a while..
I've also attached 2 stats I used to test - "Preflop Limp" and "Preflop Limp Opp" are counts, not percentages.

EDIT: updated version of the file now uploaded.
I have changed Preflop Limp Fold to be the percentage of times the player limped and then folded when raised.
Preflop Limp Fold = (cnt_p_limp_fold / cnt_p_limp_fold_opp) * 100

where
cnt_p_limp_fold_opp = sum( if[holdem_hand_player_statistics.flg_p_limp AND holdem_hand_player_statistics.flg_p_face_raise, 1, 0] )
Attachments
Preflop Limp Stats.zip
Last edited by WhiteRider on Sun Aug 03, 2008 10:25 am, edited 2 times in total.
Reason: Correct the stat and change the attached file.
WhiteRider
Moderator

Posts: 52495
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

### Re: How to create a custom stat of limped then folded to a raise

Here are the same 4 stats as boolean (checkbox) values for the 'Holdem Cash Hands' section.
These can be added to the 'Known Starting Hands Detail' report, or your Custom Reports under the 'holdem cash hands' section.
Again, any problems or questions on these, please let me know.
Attachments
Hand_PF Limp.zip
WhiteRider
Moderator

Posts: 52495
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

### Re: How to create a custom stat of limped then folded to a raise

I did this for tournaments and whenever I display the limp/fold stat on the HUD, none of the numbers show up. The only way I could get the numbers to show up is if I changed (cnt_p_limp_fold / cnt_p_limp_fold_opp) * 100 to (cnt_p_limp_fold / cnt_p_limp) * 100. This leads me to believe the cnt_p_limp_fold_opp column isnt working properly. Whats wrong?

EDIT: Solved i forgot to add tourney_ to the front on this column like i did to the others

Posts: 2
Joined: Tue May 20, 2008 5:24 pm

### Re: How to create a custom stat of limped then folded to a raise

I tried to import to PT3 but it doesnt work any suggestions?
dustyg

Posts: 3
Joined: Wed May 07, 2008 4:35 am

### Re: How to create a custom stat of limped then folded to a raise

Did it give you an error message? If so, what did it say?
Josh

Posts: 6222
Joined: Sat Dec 08, 2007 6:03 pm

### Re: How to create a custom stat of limped then folded to a raise

yes it says "wrong header in start of stream, expected header PT3.report.export and got " ????
dustyg

Posts: 3
Joined: Wed May 07, 2008 4:35 am

### Re: How to create a custom stat of limped then folded to a raise

That sounds like you may be importing to the wrong place.
You need to open the Configure -> Configure Stats window, click Statistics tab and then Import.
WhiteRider
Moderator

Posts: 52495
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Next