Wednesday, June 18, 2014

Poker: An Overview

Hand Ranges

I was doing some house keeping the other day and decided to re-look at my hand ranges to open and raise in a 9 handed game:
  • UTG (7% for 2 opponents) 77+, ATs/AQo+, KQs
  • UTG+1 (10% for 2 opponents) 77+, A9s/AJo+,  KTs+/KQo, QJs
  • UTG+2 (14% for 2 opponents) 66+, A7s/ATo+, K9s/KJo+, QTs+, JTs
  • MP1 lowjack (20% for 2 opponents) 55+, A3s/A8o+, K7s/KTo+, Q9s+/QJo, JTs
  • MP2 highjack (25% for 1 opponent) 44+, Axs/A7o+/A5o, K6s/K9o+, Q9s/QTo+, JTs
  • cutoff (35% for 1 opponent) 33+, Ax, K3s/K7o+, Q6s/9o+, J8s+/JTo, T9s
  • dealer (50% for 1 opponent) 22+, Ax, Kx, Qxs/Q5o+, J5s/J8o+, T7s+/T9o, 98s
  • SB (50)
We can see this gives an attempt to steal of ~40-45% over the cutoff/dealer/SB positions. This sounds slightly high but still reasonable in online poker. Notice that our range is also skewed to play less OOP and more IP, because I just find it to be easier that way. This is in comparison to a "typical" opening range for UTG to SB: 12/14/16/19/24/31/45/60. ie. open UTG with 12% and hands, open UTG+1 with 14% of hands etc.

Using our opponent's "typical" opening range, we can calculate how frequently we will open: (7% + 0.88*10% + 0.88*0.86*14% + 0.88*0.86*0.84*20% + 0.88*0.86*0.84*0.81*25% + 0.88*0.86*0.84*0.81*0.76*35% + 0.88*0.86*0.84*0.81*0.76*0.69*50% + 0.88*0.86*0.84*0.81*0.76*0.69*0.55*50%) / 9 = (7% + 0.88*10% + 0.7568*14% + 0.6357*20% + 0.5149*25% + 0.3913*35% + 0.2700*50% + 0.1485*50%) / 9 = 8.8%

Now also consider the number of times that we 3bet. Roughly, we should 3bet if we are in the top half of the range of the raiser. Instead, let us approximate by saying we are going to 3bet/call raises with the top half of our own open raise range for that position (UTG+1 to dealer). From SB and BB, let's say we will play top 5% of range. Let us approximate our 3bet/call frequency as follows:
(0.12*5% + 0.25*7% + 0.36*10% + 0.49*14% + 0.6*20% + 0.73*25% + 0.85*5% + 0.95*5%) / 9 = 6%

This means we have a VP$IP of very roughly 14%-15%. Tracking my own statistics, I see that I have a VP$IP between 12%-20% each session, and PFR 10%-16%. This sounds roughly inline with what we looked at above (a bit looser) and points to a roughly 50/50 split between 3betting (3%) vs calling (3%) when facing a raise. Whereas previously, most of the calling came from set mining OOP because I was getting say 1:3 odds, I am working on reducing that and instead changing some IP 3bets into flat calling to limit pot sizing, especially against calling stations.

Bet Sizing

Preflop Bet Sizing
Whereas previously I have employed a 3bb bet sizing for late position steals, recently I am testing out a smaller size so the pot doesn't get too bloated. I've frequently had hands before where SPR gets so low that I am committed with mediocre hands.
  • 2bb for UTG, UTG+1, UTG+2
  • 2.5bb MP and LP
  • 3.5bb in SB
For 3bets, I tend to do a bit over half pot if IP and close to full pot if OOP.

Flop Cbet Sizing
Previously, I always ran into trouble betting 1x pot OOP because I would lose pots like overpairs/two pairs against sets or better. That itself is not an issue, but I would be way too committed to fold by the time the opponent showed enough strength/their hand range had clarified to the pt where I am behind/have < 50% equity. Hopefully, the smaller preflop bet sizing should help with the "Bayesian updating" before the pot gets too big. In a 3betted/4betted pot though, I might have to check-call more often on the flop/turn/river, or use 1/2x pot bet sizes.
  • OOP- usually 1x pot
  • IP- usually 1/2x pot
Adjustments:
  • adjust size up by 1.5x-2x of normal bet if flop is super wet
  • adjust down to 2/3-1/2x if the flop is super dry
However, I have not thought very deeply on how to incorporate probe bets into flop betting yet. Also, what % of flops should you cbet, and what % should you check raise/call/fold? Should your hand range or bet sizes change as the effective stack size changes? I hope to think about these points in another article.

Monday, May 12, 2014

Behavior Design

Just read this pdf that David Ngo came out with called learn behavior design. Here are some notes/thoughts:
  • fog behavior model
    • to do anything (eg: pick up phone), you need all three of (1) trigger, (2) ability, (3) motivation
    • hot triggers- something u can do right now- vs billboards
    • ability vs motivation tradeoff-
      ​ doing something hard requires high motivation; if your motivation ever drops, then you break your habit​
  • ​​tiny habits + celebrations
    • ​LT behavior chg can come from chging environment​
    • ​LT behavior chg cannot come from just motivation​ (because it is too unstable and so you will break habit)
    • ​u want to ​
      get to the "blue path"
      ​ from the behavior grid​
      ​ at behaviorgrid.org​. ie. how to start doing familiar behavior, and then slowly increase/build from there
    • ​ design many many beneficial behaviors that get to ​​good outcomes (eg: a bunch of behaviors that make you healthy)​ and then wait for the tiny habits to take hold and grow naturally
      • ​easy to do in beginning and end of day​
    • http://www.behaviorwizard.org
  • ​motivation wave
    • natural to have ​peaks where you can temporarily do hard things and troughs/normal periods
    • ​​
      ​help people succeed on the most desirable behavior that matches their current motivation
    • ​
      ​should somehow measure how motivated u r and then do the hardest work possible (any higher == not enough motivation and give up)
    • when you are at peak motivation, do hard things that will 
      1. ​​
        structure future behavior
      2. ​reduce barriers to behavior
      3. increase skill/capability so it's easier to do activity in the future
    • these all move future activities further down the motivation/ability curve towards easier to do --> less motivation required later​
    • ​do your tiny habits, prestructured behavior, and easy one time behaviors, baby steps during trough
    • ​you cannot "motivate" behavior change; artificially boosting motivation doesn't work​

Monday, April 28, 2014

Setting up podcast alarms for your mac

Quick notes on how to configure your mac so that you can wake up to podcasts/get podcasts to play every hr etc.
  1. make a podcast playlist on itunes
    1.  create a smart playlist from your musics tab as follows (I called mine "New Podcasts") 
    2. you probably want to configure the podcast settings so that you only keep the most recent episode (otherwise say for NPR hourly podcasts, your playlist will include multiple podcasts from NPR hourly)
  2. create an application with automator
    1. create a new application and save it somewhere
    2. search for itunes and put "get specified itunes times" into the right side (then add your playlist u just made)
    3. search for itunes and put "play itunes playlist" into the right side
    4. this is how it should look at the end.
  3. system preferences -> users & groups -> login items: add your automator application to get it to run on login
    1. to get computer to automatically turn on, system preferences -> energy saver -> schedule -> startup/wakeup every day at xyz time
  4. go to calendar and add repeating items for daily/hourly runs
    1. create a new event, make it repeat
    2. go to the alerts -> custom -> open file. and instead of opening calendar, open the application
  5. to automatically download/get the most recent podcasts, the easiest would probably be to write an applescript, then export it as an application (and then schedule to run it right before your podcast alarm)

Saturday, September 14, 2013

Poker: running cards multiple times

Consider the following a quick exercise in combinatorics. We are investigating the effects of running cards twice. You can see a real life example here. It is known that the EV doesn't change when you run multiple times (but you lower your variance). Let us check this claim.

Let's take the case of KK vs AA allin after a blank flop. After the flop, there are 45 cards left. If we run it once:

EV for KK = Pr(K on turn and no A on river) + Pr(no A on turn and K on river) + Pr(K's on turn and river) = 2/45 * 41/44 + 41/45 * 2/44 + 2/45 * 1/44 = 8.383838...%

Notice that the first two terms are the same because turn/river is interchangeable. Double checking this on pokerstove and using a flop with 0 chances of runner runner flush/straights, we get 8.384%. Nice. Exact.

Let's say we run it the second time. A couple possibilities in the first run:

  • one A came out (2/45 * 41/44 * 2 = 8.2828%)
    • then EV for second run is 2/43 * 40/42 * 2 + 2/43 * 1/42 = 8.9701%
  • two A's came out (2/45 * 1/44 = 0.1010%)
    • then EV for second run is 2/43 * 2 - 2/43 * 1/42 == 2/43 * 41/42 * 2 + 2/43*1/42 == 9.1915%
  • one K and one A came out (2/45 * 2/44 *2 = 0.4040%)
    • then EV for second run is 1/43 * 41/42 * 2 = 4.5404%
  • one K came out and no A's came out (2/45 * 41/44 *2 = 8.2828%)
    • then EV for second run is 1/43 * 40/42 * 2 = 4.4297%
  • two K's came out (2/45 * 1/44 = 0.1010%)
    • then EV for second run is 0%
  • no A/K came out (41/45 * 40/44 * 2 )
    • then EV for second run is 2/43 * 39/42 * 2 + 2/43 * 1/42 = 8.7486%
The above EVs were also double checked with pokerstove using dead cards (A, K and blanks) and should be the exact probabilities. Adding these all up, the EV over all cases for the second run is 8.3838%- same as the first run.

Friday, August 30, 2013

Poker: Pot Odds 2

Some follow up thoughts on the first post about odds. To get the most precise numbers for your hand's equity/odds, you should compare pot odds with your hand's odds of hitting its outs.

So using the same scenario from the first post, the third/most precise method is as follows:

Method 3 == Pot Odds vs Odds of Hitting Outs
Pot odds == 1:5
Your hand has 8 outs. On the turn, there is 52 - 5 = 47 cards left. Your odds of hitting  outs is 8 : (47-8) == 8:39 == 1:4.875
Since pot odds > odds of hitting outs, you should call.

So note that this is much more precise, and only deals with the turn card (ie. if you had read the second post about bet sizing, this assumes that you will bet optimally on the turn again and that effective stack size is large enough for optimal bet)

However, the disadvantage of pot odds is that when the probability is small, the odds change very rapidly to any small change in probability. ie. 1:49 vs 1:99 is actually only 1% apart. So whereas for equity calculation, you are "safe" if you have say a 5% buffer between required equity vs hand equity, here there is no similar rule and you might be easily mislead as to how much edge you have.

Let's look at what a 5% equity edge means for different pot odds.

Bet SizePot OddsRequired # of Turn Outs Without BufferEquity + 5% BufferRequired Hand Odds With BufferRequired # of Turn Outs With Buffer
1/4x pot1:57.821.7%1:3.610.2
1/2x pot1:311.830.0%1:2.314.2
1x pot1:215.738.3%1:1.618.1
2x pot1:1.518.845%1:1.221.4

Without the 5% buffer, the Required Hand Odds should equal pot odds. Instead, as you can see, 1:5 -> 1:3.6, while 1:1.5 -> 1:1.2. Hence there is no easy way to build in some buffer with pot odds. However, you may have noticed that the required outs actually increases by a constant (2.4 outs) when you build in a 5% buffer. This makes perfect sense- 2.4 outs --> an extra 5% chance of drawing out.

Thus the optimal way to give yourself a buffer is to calculate the odds as is, but then require a couple extra outs to be conservative.

Interestingly, if you look at the # of outs required for 1x pot and 2x pot bets on the flop, they are actually "ahead" (> 50% chance of drawing out by the river). So it seems as though any drawing hand that could call a > pot sized bet could also just raise or push all-in. More on this next.