a couple of questions

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

a couple of questions

Postby pantik » Thu Sep 03, 2009 4:40 pm

cnt_p_4bet_after_raise is defined as sum(if[holdem_hand_player_statistics.flg_p_first_raise AND holdem_hand_player_statistics.flg_p_4bet,1,0])

The description says "Number of times player 4+bets when raised first in." and i wonder if it really is "raise first in". I think it covers RFI and RWPC, correct?

Another question:

Any stat that define % first raise preflop ( RFI + RWPC ), ie. %2bet . I already know "cnt_p_first_raise" but i dont know very well as defining the opportunities (denominator), ¿perhaps sum(if[not (holdem_hand_player_statistics.flg_p_face_raise ),1, 0]) ??

Thank you.
pantik
 
Posts: 75
Joined: Sun Feb 03, 2008 4:45 pm

Re: a couple of questions

Postby kraada » Thu Sep 03, 2009 5:26 pm

To your first question, flg_p_first_raise is true if you raise and you are the first person to enter the pot, so it would not count times you raised when there were other callers.

To your second question, you could try just using the PFR stat.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: a couple of questions

Postby pantik » Thu Sep 03, 2009 5:41 pm

kraada wrote:To your first question, flg_p_first_raise is true if you raise and you are the first person to enter the pot, so it would not count times you raised when there were other callers.


In database schema pdf says flg_p_first_raise is true if the player was the first to raise the pot pre-flop and otherwise false. I understanded that it is a 2bet independentrly of if we open the pot or not; and for this reason we include hold_holdem_player_statistics.flg_p_open_opp in stats with columns as cnt_p_raise_first_in = sum( if[holdem_hand_player_statistics.flg_p_first_raise AND holdem_hand_player_statistics.flg_p_open_opp , 1, 0]). Ohterwise RFI could be defined with the column sum(if[holdem_hand_player_statistics.flg_p_first_raise,1,0] instead sum(if[holdem_hand_player_statistics.flg_p_first_raise, holdem_hand_player_statistics.flg_p_open_opp,1,0]. am i wrong ¿?¿?¿?

If it is so , now i dont understand nothing :?

kraada wrote:To your second question, you could try just using the PFR stat.


But... PFR is (nº hands player raised preflop / hands ) and this includes 3bet, 4bet, .... I only want % times player 2bet preflop. do i explain it well ?
pantik
 
Posts: 75
Joined: Sun Feb 03, 2008 4:45 pm

Re: a couple of questions

Postby WhiteRider » Fri Sep 04, 2009 4:29 am

pantik wrote:In database schema pdf says flg_p_first_raise is true if the player was the first to raise the pot pre-flop and otherwise false. I understanded that it is a 2bet independentrly of if we open the pot or not; and for this reason we include hold_holdem_player_statistics.flg_p_open_opp in stats with columns as cnt_p_raise_first_in = sum( if[holdem_hand_player_statistics.flg_p_first_raise AND holdem_hand_player_statistics.flg_p_open_opp , 1, 0]).

That's correct - flg_p_first_raise only means the player made the first raise (2-bet) preflop, it says nothing about first action or the existance of limpers.

kraada wrote:To your second question, you could try just using the PFR stat.


But... PFR is (nº hands player raised preflop / hands ) and this includes 3bet, 4bet, .... I only want % times player 2bet preflop. do i explain it well ?[/quote]
To count only 2-bets you can just use flg_p_first_raise.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: a couple of questions

Postby pantik » Fri Sep 04, 2009 8:02 am

WhiteRider wrote:To count only 2-bets you can just use flg_p_first_raise.

¿and the opportunities? Would it be correct sum(if[not (holdem_hand_player_statistics.flg_p_face_raise ),1, 0]) ??
pantik
 
Posts: 75
Joined: Sun Feb 03, 2008 4:45 pm

Re: a couple of questions

Postby kraada » Fri Sep 04, 2009 8:43 am

Opportunities you can get by adding up the number of times someone does raise first in, limps, and open folds.

RFI we already have, limps is flg_p_limp, and open folds would be: lookup_actions_p.id_action = 'F' and NOT(holdem_hand_player_statistics.flg_p_face_raise)

Since those are the only options, by adding them up we get all opportunities to open raise.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: a couple of questions

Postby pantik » Fri Sep 04, 2009 10:05 am

Ok, i think "sum(if[not (holdem_hand_player_statistics.flg_p_face_raise ),1, 0])" would not define the opportunities because when we are in the bb "not(holdem_hand_player_statistics.flg_p_face_raise" is true however we have not a 2bet opportunities.
pantik
 
Posts: 75
Joined: Sun Feb 03, 2008 4:45 pm

Re: a couple of questions

Postby kraada » Fri Sep 04, 2009 10:28 am

No because you could limp, then face a raise, and you would have had a chance to raise first in, but did not do so.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: a couple of questions

Postby pantik » Fri Sep 04, 2009 10:38 am

kraada wrote:No because you could limp, then face a raise, and you would have had a chance to raise first in, but did not do so.


Sure, I have just thinked it. Thank you.
kraada wrote:Opportunities you can get by adding up the number of times someone does raise first in, limps, and open folds.

RFI we already have, limps is flg_p_limp, and open folds would be: lookup_actions_p.id_action = 'F' and NOT(holdem_hand_player_statistics.flg_p_face_raise)

Since those are the only options, by adding them up we get all opportunities to open raise.


"cnt_p_limp_after_limper_opp + cnt_p_open_opp" is correct too ??
pantik
 
Posts: 75
Joined: Sun Feb 03, 2008 4:45 pm

Re: a couple of questions

Postby pantik » Fri Sep 04, 2009 11:02 am

and if you are in big blind and the pot is not raised (only limped) and you check ? you would had a 2bet opportunity, and you dont raise,dont limp, and dont fold. :?:
pantik
 
Posts: 75
Joined: Sun Feb 03, 2008 4:45 pm

Next

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

Who is online

Users browsing this forum: No registered users and 0 guests