# Poker Analytics For Beginners

If there weren’t luck involved, I would win every time

Phil Hellmuth

Poker at the core is a decision theory problem statement. Poker is a game where, over a large number of samples aka hands, winning is a game of skill. Additionally, there is a fair bit of decision making that happens behind each round of a poker game to win the hand. Thus, the need for Poker Analytics and using numbers/stats to understand one’s own game! The prime questions when betting is:

• Should we bet ?
• If we do, how much ?

And these decisions are taken over four parts of each poker game with later ones being optional and dependent on the outcomes of the early rounds. Therefore we break the game into Pre-Flop, Post-Flop, Turn and River. The entire game is about these right decisions over and over again to be able to win in the long run.

##### Source

Now what makes this decision theory problem statement: complicated is the fact that this is an imperfect information game, unlike Chess where we see the entire board. Here, we can only estimate our opponent’s hands. Being a winners take all game, our decision making in terms of betting needs to reflect this. The winners take all add the variance aspect to the game.

Even the best winning hand with a probability of 60% winning will take all prize money. Thus, an extra 40% worth of prize money. This makes the game, worth playing and is what makes it a profitable game.

### Expected Value

All decision making is based on the expected value of the decision. EV is the probability of winning the hand multiplied by the size of the pot. If the money/chips we put into the pot at that point of time, less than the expected value of winning money or chips, we are making the right bet and it’s not if it’s negative and it’s a losing decision.

Let’s look at a couple of resources for poker analytics to get started on this topic, an article and a more detailed deep-dived course for the same.

Another term used in conjunction with expected value is equity. Here, equity is as our winning probability into the pot size and in percentage terms is the same as winning probability.

### Position

Given the need to compute somewhat accurate guesses of our equity before every decision, the position becomes one of the most important aspects of the games. AFAIK, it’s more important than the hands held by the player.

Source

In the below hand played, the user just to our right when I was on the button, bluffed on 9, which I happened to have. By just calling his bluffs, I allowed him to barrel into the pot where I held the equity. This is a perfect example of imperfect information playing in our favour due to position.

### Hand History Example

No Limit Hold’em Rs5.00/Rs10.00
PokerStars
6 players
Formatted by pokercopilot.com: Poker HUD for Mac and Windows

Stacks:
UTG – UTG (Rs3,011.04)
MP – MP (Rs1,745.65)
CO – CO (Rs1,128.92)
BTN – Hero (Rs980.00)
SB – SB (Rs2,663.76)
BB – BB (Rs2,067.27)

Preflop: (Rs15.00, 6 players) Hero is BTN with 9♣ K♥
UTG raises to Rs30.00, MP calls Rs30.00, 1 fold, Hero calls Rs30.00, 2 folds

Flop: 3♠ 6♣ 9♠ (Rs105.00, 3 players – MP: Rs1,715.65, Hero: Rs950.00, UTG: Rs2,981.04)
UTG checks, MP bets Rs100.00, Hero calls Rs100.00, UTG calls Rs100.00

Turn: 7♠ (Rs405.00, 3 players – MP: Rs1,615.65, Hero: Rs850.00, UTG: Rs2,881.04)
UTG checks, MP checks, Hero checks

River: 9♦ (Rs405.00, 3 players – MP: Rs1,615.65, Hero: Rs850.00, UTG: Rs2,881.04)
UTG checks, MP bets Rs190.00, Hero calls Rs190.00, 1 fold

Total Pot: Rs785.00
MP shows 4♥ 6♥ (two pairs
, Nines and Sixes)
Hero shows 9♣ K♥ (three of a kind, Nines)

Hero wins Rs751.64

Screenshot of the play from PokerStars Desktop Client.

In conclusion, to give a sense of how important Button as a position is, this is the graph for one of the biggest losing months. Despite going on tilt and not doing well, it’s really hard to screw up performance over the button.

The graph is from Poker-CoPilot which has been a really useful HuD while playing the game. We will be getting to it as a concept some down the article.

### Hand Ranges

Most important, the hands you hold along with what the board shows up Post-Flop. Especially considering the importance of position and the four rounds of betting, you need a solid strategy in terms of what hands to play Pre-Flop and which ones to continue as you go through the betting rounds.

The current school of thought is around having a range of hands that you open/call or raise depending upon your position. You may deviate depending upon opponents and their plays but having a defined pre-flop strategy helps with discipline and also incorporate aspects of GTO into the play.

The general rule of thumb is you play tight when in early positions and looser over the later ones as you have more manoeuvrability because you can alter decisions based on others’ decision making.

This is an infographic from the guys at Upswing Poker on how to adjust the ranges on the basis of the position.

Create your own hand ranges based on your playing history and also read this for more details.

### Playing Styles

Based on the open ranging and other actions such as raise to call ratio to fold, there are broadly three 4 playing styles. To be able to classify, we need two important metrics VPIP(Voluntarily Put in Pot) and PFR (Pre-Flop Raise).

• Rock/Nit: This is very rare in my experience but this is someone who plays very few hands and very aggressively. Think VPIP of ~5-10%, which means, they only play 5-10% of hands dealt.
• TAG (Tight and Aggressive): Has more broader range than a Nit, opening range could be 2-3 times that of a nit with VPIP around 10-15%.
• LAG (Loose and Aggressive): Further evolution over the TAG, the game needs to be aggressive and quite a difficult style to play. VPIP around 30%.
• Calling Station (Fish): VPIP over 40%, passive play. Very difficult to be profitable with such a broad range for consistent period of time.

The ideal style switches between the top 3 depending upon the table. The opposite style to the table dynamics is difficult to execute but is true from experience.

Source

Besides your strategy and play, HUD is a key tool everyone requires to have a positive win rate over online poker. In addition to this, the fact that other players use it makes it impossible to be able to act/ make decisions without one.

The HuD has two aspects to it, a Heads-Up Display for your poker client to be able to visualise your opponent’s play. This kinda gives you an edge when trying to decide on your opponents’ bluffing instinct. At least that’s what its has been really useful for me.

In addition, the other use case for it is to use for maintaining a database of your plays and being able to track your performance over time. In conclusion, with your hand histories, understanding your opponents and identifying leaks in your game, you will be able to study and improve the game.

Strongly recommended that you wanna give Poker-Copilot a try, which comes with a 30 day trial period. Alternatively, PokerTracker and Holdem-Manager are other popular tools out there.

Finally learn to choose one of the probable settings for HUDs here

## Metrics

Indeed there are a bunch of metrics used to measure and track one’s performance along with playing styles. At this time, someone new to the game would be surprised with the gamut of metrics used to understand the game. There are over 222 features or variables available for every hand export including meta-features like player name, table etc.

#### Pre-Flop

• VPIP(Voluntarily Put in Pot): Most important metric of all. Single-handedly can tell a lot about one’s looseness which is strongly correlated with the game’s skills.
• PFR(Pre-Flop Raise): Gives a sense of aggressiveness, which is given for any player but too much can be a sign of too many bluffs. This combines well with VPIP to categorise the players. This is the sum of both initiated by the player and when he calls.
• Called Pre-Flop Raise: How many times we called our way into the pot and not initiated the raises.
• Unopened Pre-Flop Raise: The number of times, we were the initiators of the raise
• Flops Seen: For a session, this is an indication of how many flops were seen. Because, every time you put money into the pot, either you or others might have folded pre-flop itself.
• 3-Bet Pre-Flop: This means, this is the 3rd bet in the Pre-Flop round. First being the Blinds, second being a raise on it and then a further raise by you or others. Very strong move, when you believe you hold the strongest hands. Similarly, the other way around is when you folded to 3-bet from your opponent.

There is open by big-blind followed by a raise from TheIntegrated and then a 3-bet from me (UNNA007).

• 4-Bet Pre-Flop: This is a further continuation of the previous metric when there is 3rd raise within the same round. 4-bet and 3-bet are useful for means to sometime defend the blinds. The opposite move is to fold to 4-bet by an opponent.
• Squeeze Bet: Quite a rare occurrence but is defined as a Pre-Flop bet wherein a player raises, another one or more call in between before being raised again.

#### Post Flop

This is where the big bucks are either made or lost. The most important round IMO given it sets up the stage for both river and turn.

• Aggression(%): This is the percentage of times, we raised or bet over total instances of flops seen. If we bet 6 out of the 10 times, we saw the flop including calls and folds, our aggression is defined as 60%.
• Aggression Factor: Similar to the first metric but we take the ratio of raise or bet over calls. This could be used alternatively with aggression.
• Check Raised: One of the interesting plays which can happen over the flop, turn or river. Here, the Hero can check the flop, allow the opponent to raise and then re-raise them. Perfect play against an overtly aggressive player against whom, we are sure of an advantage whereas folded to Check-Raise is the opposite, where we folded against such a move.
• Continuation Bet (C-Bet): This is when a Post-Flop bet is continued with our initial raise pre-flop. Thus the name continuation bet, aggressive continuation bet can be used to barrel your opponents out of a weak or moderate hand. There are two more metrics related to it, folded to C-Bet and raised a C-Bet. The second signals a strong flop or maybe even nuts.
• Donk Bet: This is when an out of position player raises before the Pre-Flop Raise. This supposed to have a negative image and is a bit of a complicated move. You can read more here.

### Learnings

The above are the broad categories of the different metrics that can be further broken down by turn, river. Also by whether you raised, folded or called your moves. As can be seen from above, the game has gotten fairly advanced in terms of strategies employed by players.

Most players measure their win rate in terms of BB (BigBlinds) per 100 hands and try to maintain a steady number. You can make more money by either improving the win rate or by moving over to bigger blinds/tables. Subsequently, with a similar win rate, you can leverage higher winnings. By getting a sense of your win rate over a decent sample of hands (~10,000). Grinders can often multi-table to reduce both the variance and to increase winnings.

## Machine Learning For Poker

What makes this an interesting use case for the application of machine learning is the nature of the problem. While a self-playing AI-based bot or player is out of scope. Imperfect information games are yet to be completely solved. A few attempts have been ongoing though, such as Pluribus by Facebook here.

The idea is to more of building a decision support tool to help you aid your game by identifying leaks in your decision-making process. However, the nature of the game, makes for an interesting ML use case, given the urgent and important attribute of the problem. For serious poker players, each hand is important and the time limit on making a decision, limited to 30 odd seconds, makes it urgent.

Also now add the abundance of attributes and metrics to keep track, around 220 odd and you have a complex decision theory problem at hand. Trying to analyse many variables quickly and often conflicting can be daunting and prone to errors. A separate model can use the corresponding metrics related to each round of betting, aka Pre-Flop, Flop, Turn and finally River.

The right way to look at the problem though is through Game Theory! A combination of game theory and using ML within that construct could be the way!

## Conclusion

When tried applying for my hand history analysis, this resulted in giving some very interesting outputs. By running it for very specific use cases, players, tables or positions, a decision tree, in this case, can give some insightful and actionable output aka Poker Analytics.

The way to read this is percentage represents the percentage of the total sample and it sums up to 100%. 1 represents the right decision and 0 does not. The problem is labelled as a classification problem with inputs as your meta decisions such as VPIP, CALLED_PREFLOP_RAISE and so on.

This builds upon personalising the actionable output which is not the case for generic leak outputs from HuD tools, which are also less actionable. Liked what you read and want to get your hand’s history analysed for leaks, reach out !!