100% / $500 + Free Gifts 33% RAKEBACK - US FRIENDLY!
ITH Poke Forum

ITH Poker Forum

The Friendliest Online Poker Community

Skip to content


Advanced search
  • Poker Forum

  • Rakeback

  • Dimat Poker Books

  • Party Poker Bonus

  • Cake Poker Bonus

  • PokerStars Bonus

  • Board index ‹ Poker Topics ‹ Texas Hold'em Probabilities and Poker Odds
  • Change font size
  • FAQ
  • Register
  • Login

  • Announcements

US Friendly Poker Rooms

Lock Poker - 150% Bonus up to $750, Bonus Code LOCK150
Cake Poker - 110% Bonus up to $600, Bonus Code ITHFGO, plus $50 Amazon Gift Card through the ITH Free Gift Offer
Bovada Poker (formerly Bodog) - 100% Bonus up to $1000, no Bonus Code required. Accepts Visa credit cards for deposits and pays out via check. Also has a Sportsbook.

  • View unanswered posts • View active topics

Simulating Variance (warning, many pictures)

Moderator: Bugsbunny

Post a reply
23 posts • Page 1 of 2 • 1, 2

Next

Simulating Variance (warning, many pictures)

Postby Willem » Aug 20 2008

I've decided to do a little experiment to look at variance. For that purpose, I've created a small computer program that simulates a large number of 'games'.

Both players have a 50% chance to win any given game (a poker hand). But when our hero wins, he wins slightly more compared to his opponent (assuming our hero has a positive edge). And when our hero loses, he loses slightly less. In the end, our will have a 2bb/100 edge in this game. A 2bb/100 edge is very hard to achieve except for the micro's.

The simulation works by simulating a large number of poker hands. Each player has a 50% chance to win the hand. But when our hero wins the hand, he wins the pot plus 0.02bb. When villain wins, he wins the pot minus 0.02bb. The size of the pot is random between 2bb and 8bb. So with a pot size of 5, hero wins 5.02bb while villain would only win 4.98bb. (All with a 2bb/100 edge for hero).

This all will make the standard deviation around 2.34 which is consistent with my own results (Heads-up LHE).

Here is the run long of 1 billion hands. Not much variance at this scale.
Image
Last edited by Willem on Aug 25 2008, edited 4 times in total.
The road to poker enlightenment is paved with every conceivable FPS move.
User avatar
Willem
53o
 
Posts: 3178
Joined: Sep 16 2006
Location: Netherlands
Top

Postby Willem » Aug 20 2008

1 billion hands is a lot. Lets suppose our hero usually plays 500 hands in a day. Here is how his days would look like.

Image

Image

Image

Image

Image

Image
Last edited by Willem on Aug 21 2008, edited 4 times in total.
The road to poker enlightenment is paved with every conceivable FPS move.
User avatar
Willem
53o
 
Posts: 3178
Joined: Sep 16 2006
Location: Netherlands
Top

Postby Willem » Aug 20 2008

Suppose our hero plays 20 days in a month. WIth 500 hand per day, he would play 10000 hands in a month. How do typical 10000 hand swings look like?

Image

Image

Image

Image

Image
Last edited by Willem on Aug 21 2008, edited 4 times in total.
The road to poker enlightenment is paved with every conceivable FPS move.
User avatar
Willem
53o
 
Posts: 3178
Joined: Sep 16 2006
Location: Netherlands
Top

Postby Willem » Aug 20 2008

Now we look at how things look in a year's time. A few 120000 hand swings.

Image

An average year.
Image

A crappy year.
Image

And a very good year.
Image
Last edited by Willem on Aug 21 2008, edited 2 times in total.
The road to poker enlightenment is paved with every conceivable FPS move.
User avatar
Willem
53o
 
Posts: 3178
Joined: Sep 16 2006
Location: Netherlands
Top

Postby Willem » Aug 20 2008

And for completeness. A few 1 million hand streaks.

Image

Image

Image
Last edited by Willem on Aug 21 2008, edited 2 times in total.
The road to poker enlightenment is paved with every conceivable FPS move.
User avatar
Willem
53o
 
Posts: 3178
Joined: Sep 16 2006
Location: Netherlands
Top

Postby nsidestrate » Aug 20 2008

Do you know what the SD is for your sample data? It looks a bit more swingy than I would expect.
User avatar
nsidestrate
The Shark
 
Posts: 26722
Joined: May 26 2004
Top

Postby Willem » Aug 20 2008

nsidestrate wrote:Do you know what the SD is for your sample data? It looks a bit more swingy than I would expect.


It is more swingy since hero plays every single hand. Even HU play isn't this swingy as some people actually preflop. Games with more players produce even less swings since the player folds more.

I don't know what the standard deviation is. I suspect gnuplot is capable of determining it though, I'll look at it tomorrow.
The road to poker enlightenment is paved with every conceivable FPS move.
User avatar
Willem
53o
 
Posts: 3178
Joined: Sep 16 2006
Location: Netherlands
Top

Postby Willem » Aug 21 2008

Ok, updated now. I'm now using a 2.34 standard deviation which is typical for HU LHE.
The road to poker enlightenment is paved with every conceivable FPS move.
User avatar
Willem
53o
 
Posts: 3178
Joined: Sep 16 2006
Location: Netherlands
Top

Postby toronexti » Sep 22 2008

doesn't hero have a 4bb/100 edge here?
toronexti
53o
 
Posts: 4738
Joined: Sep 03 2004
Top

Postby PauliF » Sep 22 2008

toronexti wrote:doesn't hero have a 4bb/100 edge here?


very good point

Willem what programme are you using for this?

I have been thinking about crunching numbers for some time and would dearly love to do some curve fitting for MTT results to see if we can find a distribution which describes what goes in a bit better

man this rocks though
"It is not what you are called, but what you answer to"
African Proverb
User avatar
PauliF
Renaissance Man
 
Posts: 3867
Joined: Jun 16 2004
Location: London
Top

Postby toronexti » Sep 22 2008

Also it'd be nice if you could graph all the possible results of say 10k hands on a normal graph since that would be far easier to visualize the likelihood of the good/average/bad years.
toronexti
53o
 
Posts: 4738
Joined: Sep 03 2004
Top

Postby PauliF » Sep 23 2008

I think you mean a few runs on the same graph so we get one of those pretty tunnel of doubt pictures

Willem I am gonna be in Amsterdam the weekend after next if you fancy a smook and a took
"It is not what you are called, but what you answer to"
African Proverb
User avatar
PauliF
Renaissance Man
 
Posts: 3867
Joined: Jun 16 2004
Location: London
Top

Postby Willem » Sep 23 2008

It's something I made myself. I'll look later today and maybe post the code that actually does the work. I can probably adjust it for MTT's.

PauliF wrote:Willem I am gonna be in Amsterdam the weekend after next if you fancy a smook and a took


I was in Amsterdam a few weeks ago, but don't remember that much from the evening. I do remember not feeling all to well the next morning. Anyway, I already have other obligations.
User avatar
Willem
53o
 
Posts: 3178
Joined: Sep 16 2006
Location: Netherlands
Top

Postby Willem » Sep 24 2008

toronexti wrote:doesn't hero have a 4bb/100 edge here?


If you look at the first picture, you see hero winning 20M big bets in 1000M hands, averaging 2bb/100.

It works in the following way. I made a routine which simulates a single hand:

Code: Select all
double run_hand( double edge ){

    /**
     *  @param edge The number of bets Hero win in 100 hands.
     */

    // Determine pot size
    double pot_size = rand() % 5;

    // Determine winner. All players win half the time.
    if( rand() > INT_MAX / 2 ){
        // Hero wins the pot

        // Adjust pot_size according to hero's edge. He win a little more here.
        pot_size += edge / 100.0;

        return pot_size;
    }else{
        // Hero loses the pot

        // Adjust pot_size according to hero's edge. He loses a little less here.
        pot_size -= edge / 100.0;
        return -pot_size;
    }
}



I then run this routine a lot of times and keep track of a bankroll. After it's done, I plot the bankroll progress and get the pictures you see above.

If you want to simulate MTT's, all you need to do is make a different routine which simulates a single MTT.
User avatar
Willem
53o
 
Posts: 3178
Joined: Sep 16 2006
Location: Netherlands
Top

Postby PauliF » Sep 24 2008

hmmmm
"It is not what you are called, but what you answer to"
African Proverb
User avatar
PauliF
Renaissance Man
 
Posts: 3867
Joined: Jun 16 2004
Location: London
Top

Post a reply
23 posts • Page 1 of 2 • 1, 2

Return to Texas Hold'em Probabilities and Poker Odds

Who is online

Users browsing this forum: No registered users and 1 guest

  • Board index
  • The team • Delete all board cookies • All times are UTC - 5 hours
  • News News
  • Site map Site map
  • SitemapIndex SitemapIndex
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Facebook connect for phpBB by SVmods.

phpBB SEO
Time : 0.142s | 11 Queries | GZIP : On
Protected by Anti-Spam ACP
Advertisements by Advertisement Management