Fold to Check Raise Total?

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

Fold to Check Raise Total?

Postby Searix » Sat Aug 21, 2010 3:47 pm

Made this
((cnt_f_face_xr_fold / cnt_f_face_xr) * 100 + (cnt_t_face_xr_fold / cnt_t_face_xr) * 100 + (cnt_f_face_xr_fold / cnt_f_face_xr) * 100) / 3

by combining the three individual streets and dividing by 3.

Problem is it seems like my stats and others are lower than they should be. I know i believe CR a lot so it should be ~60-70 instead of the 40 it is.

What am i missing?
Searix
 
Posts: 13
Joined: Sat Aug 21, 2010 3:39 pm

Re: Fold to Check Raise Total?

Postby WhiteRider » Sat Aug 21, 2010 4:39 pm

You're adding up percentages there - you should add up all the actions and divide that by all the opportunities.

Imagine if you check raise 50 out of 80 on the flop, 10 out of 50 on the turn and 10 out of 10 on the river.
In total that is 70 times out of 140, which is 50%.

If you use your expression you get (62.5% + 20% + 100%) / 3, which is 185 / 3 = 62% (roughly)

So you need this:

((cnt_f_face_xr_fold + cnt_t_face_xr_fold + cnt_r_face_xr_fold) / (cnt_f_face_xr + cnt_t_face_xr + cnt_r_face_xr)) * 100

Actually, I just spotted another problemm, although this may just be a typo - you have the flop columns twice in your expression, instead of the river column.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Fold to Check Raise Total?

Postby Searix » Sat Aug 21, 2010 5:33 pm

Typo, which solves the weird %s i was having. Thanks
Searix
 
Posts: 13
Joined: Sat Aug 21, 2010 3:39 pm


Return to Custom Stats, Reports, and SQL [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests