Jump to content


Running It Once Vs Twice: Can You Prove Ev Is The Same?!


  • This topic is locked This topic is locked
29 replies to this topic

#1 Andy Beal

Andy Beal

    Poker Forum Regular

  • Members
  • 114 posts

Posted 23 March 2006 - 08:37 PM

There has been much discussion on this forum of whether "running it twice" has an effect on the expected value (EV) of the hand. Several of us---including Daniel himself---have argued that running it once versus twice makes no difference in the EV.

I agreed but that was based on intuition alone; intuition is often the foe of the mathematician which brings me to the reason for this post.

Can you offer a mathematical proof of the following statement?

"The EV of running a hand once is the same as the EV of running it twice regardless of how many cards are left in the deck or the number of outs a player has."

Of course, an example is not a proof. Neither is 100 examples. We are looking for a bona fide proof here. I would go so far to doubt very seriously if the poker pros themselves know why this is in fact true.

I have a proof that I shall share soon. In the meantime, give it some thought and enjoy! biggrin.gif
Just call me THE BANKER.

#2 xtxoxpxd

xtxoxpxd

    Poker Forum Regular

  • Members
  • 108 posts

Posted 23 March 2006 - 09:12 PM

QUOTE (Andy Beal @ Thursday, March 23rd, 2006, 8:37 PM) <{POST_SNAPBACK}>
There has been much discussion on this forum of whether "running it twice" has an effect on the expected value (EV) of the hand. Several of us---including Daniel himself---have argued that running it once versus twice makes no difference in the EV.

I agreed but that was based on intuition alone; intuition is often the foe of the mathematician which brings me to the reason for this post.

Can you offer a mathematical proof of the following statement?

"The EV of running a hand once is the same as the EV of running it twice regardless of how many cards are left in the deck or the number of outs a player has."

Of course, an example is not a proof. Neither is 100 examples. We are looking for a bona fide proof here. I would go so far to doubt very seriously if the poker pros themselves know why this is in fact true.

I have a proof that I shall share soon. In the meantime, give it some thought and enjoy! biggrin.gif
x = pot size
a = % chance of winning it

EV = ax

EV of running it twice = (x/2)a + (x/2)a

ax = (x/2)a + (x/2)a
ax = ax/2 + ax/2
ax = ax

are you serious? unless this is somehow not "correct" mathematical proof. whatever.. englighten us. this can't possible be correct if you're making such a big deal out of it, because a middle schooler in algebra I could figure this out.

#3 Andy Beal

Andy Beal

    Poker Forum Regular

  • Members
  • 114 posts

Posted 23 March 2006 - 09:21 PM

The % chance of winning the pot on each run isn't fixed. Suppose you only have 1 out in the deck. Then the % chance you win it on the second run is affected by what happened on the first run, i.e. it is not constant.
Just call me THE BANKER.

#4 xtxoxpxd

xtxoxpxd

    Poker Forum Regular

  • Members
  • 108 posts

Posted 23 March 2006 - 09:41 PM

well, i could make a longer equation by using "a" and "b" and making them representative of the odds of winning each half of the pot. it would be longer, but it would still be algrebra. how is this for "mathematically inclined"? it seems to be more for those with basic mathematics skills who have a lot of time. sure, throw in the non-replacement factor and it becomes much more complicated but hell why not throw in redraws, backdoor outs, etc etc too. hey why not throw in a 3rd player and wild cards?

your question is just like asking "how often will AKs beat 72o with 5 cards to come, NOT calculated emphrically? ridiculously complicated to calculate which gives little to nothing of value.

#5 Andy Beal

Andy Beal

    Poker Forum Regular

  • Members
  • 114 posts

Posted 23 March 2006 - 09:56 PM

QUOTE (xtxoxpxd @ Thursday, March 23rd, 2006, 11:41 PM) <{POST_SNAPBACK}>
well, i could make a longer equation by using "a" and "b" and making them representative of the odds of winning each half of the pot. it would be longer, but it would still be algrebra. how is this for "mathematically inclined"?


I didn't say the proof would be sophisticated. It is indeed just algebra. Either you want to prove it or you don't: saying there is some a and some b that work is hand waving. How do you know until you sit down and look at the details?

Again, don't get me wrong: I'm not saying the proof is anything outside the realm of a person who passed algebra class. I'm just saying the devil is in the details. huh.gif
Just call me THE BANKER.

#6 LongLiveYorke

LongLiveYorke

    Ending the world one proton at a time

  • Members
  • 8,221 posts
  • Gender:Male
  • Location:Manhattan
  • Interests:fizziks, teh maths, Raid-o-head, Rod Reynolds

Posted 24 March 2006 - 12:53 PM

I did something like a proof this morning. Okay, it's not a real proof and it makes some silly assumptions and simplifications, but here's how it goes:

We assume that one player is on a "draw" and has x outs to win with two cards to come. Of course, x could be above 24 meaning he is really ahead, but this doesn't matter. For the sake of this example, we will assume that x is greater than 3.

We then enumerate the 16 possibilities of the next four cards (the first turn and river and the second turn and river). We will call hitting an out H and missing an out M:

HHHH 1
HHHM 1
HHMH 1
HHMM .5
HMHH 1
HMHM 1
HMMH 1
HMMM .5
MHHH 1
MHHM 1
MHMH 1
MHMM .5
MMHH .5
MMHM .5
MMMH .5
MMMM 0

Then we calculate the amount earned by each of these scenarios. For example, if it goes HH HH, the player with the "draw" wins both times, so they get 1. If it comes HH MM, the player with the draw gets 1/2.

We can find the expectation of the outcome by multiplying the percentage of the pot earned by each scenario by the probability of that scenario. I'm not going to enumerate the way to get the percentage of each scenario, because it's both straight forward and annoying, but here is an example:

HHMM:

(1/(48*47*46*45)) * (x)(x-1)(46-(x-2))(45-(x-2))

So, we multiply all of these by their corresponding percentage of the pot (1, .5, or 0) and sum them all and we get the following equation of ev based on x outs:

(95x - x^2)/(2256)

We can do the same steps with only one turn and river and find the equation:

(1/(48*47))*((x)(x-1)+(x)(47-(x-1))+(48-x)(x))

=(95x - x^2)/(2256)

This gives us the same equation as above. Thus, we have demonstrated in this model that, with any number of "outs," the expectation is the same. I noted above that x was greater than 3. I decided to impose this because, when calculating the probability of certain hands, the term x-3 came up. Basically, this means that if the number of outs is 3 or less, the outcome HHHH can not happen, and other outcomes are similarly made impossible with smaller values of x. Of course, this only leaves three examples (x=1, x=2, x=3) out of our proof, and these can easily be demonstrated manually as examples.

It took me a few tries to get every probability right, as a small error of course would make the numbers not match up. I used a TI-89 to actually do the algebra, since it would be a pain otherwise. I was thinking about doing something more sophisticated using counter outs or something, but that would be much longer.

To fully get what you are looking for (ie the regardless of the amount of cards in the deck) one could easily change some of the constants involved. It's trivial, so I didn't include it explicitly. One can just replace 48 with y, 47 with y-1, etc. One should come up with the following equation for ev based on x outs with y cards in the deck:

1/((y)(y-1))*((x)(x-1)+(x)(y-1-(x-1))+(y-x)(x))
= -(x)(x-2y+1)/((y)(y-1))

#7 PairTheBoard

PairTheBoard

    Poker Forum Regular

  • Members
  • 100 posts

Posted 24 March 2006 - 06:21 PM

The proof is based on the well known fact from Probabilty Theory that the expectation of the sum of random variables is the sum of their expectations, EVEN IF THEY ARE NOT INDEPENDENT. This is a deceptively powerful fact.

In math notation, if X and Y are random variables then

E(X+Y) = E(X) + E(Y)

in fact

E(aX+ bY) = aE(X) + bE(Y) where a,b are constants.

For example when running the Turn-River twice. X is the random variable based on the first two cards put out, Y is the random variable based on the second two cards. X and Y are 1 if they produce a win, 0 for a loss. Even though X and Y are not independent the above fact about expectations still holds.

When running it twice you're asking, what is

E(.5X + .5Y) ?

The additive Theorum for Expectatons says it's

.5E(X) + .5E(Y)

But if you ran either the first set of two cards or the second set of two cards by themselves, just one time using those cards, you should have no problem seeing that One Time, those two cards are just as likely to produce a win as any other two in the deck. In other words, One time by itself, E(X) is just the probabilty that X=1 as it should be. But the Y cards are just as good for running One Time by themselves ( just burn the other cards without looking )and E(Y) is the same probabilty of winning.

So,

.5E(X) + .5E(Y) =

.5*prob(the X cards produce a win when run one time) +
.5*prob(the Y cards produce a win when run one time) =

.5*prob(the X cards produce a win when run one time) +
.5*prob(the X cards produce a win when run one time) =

.5*(2*prob(the X cards produce a win when run one time)

= E(X) = Expectation running it once.

The nice thing about looking at it this way is that the same argument holds if you were running the whole board twice, or the whole board for an Omaha Hand where you would not want to list all the cases for cards that could come out.

It rests on two principles. The additivity for Expectations of Random Variables. And the observation that for the purposes of running it one time, with all cards sight unseen, any cards you want to pick out of the deck are as good as any others.

icon_suit_spade.gif

#8 blacktie31

blacktie31

    Poker Forum Nut

  • Members
  • 312 posts
  • Gender:Male
  • Location:Tulsa, OK
  • Interests:poker, golf

Posted 24 March 2006 - 08:12 PM

Barry did a thought of the week on this

http://www.barrytanenbaum.com/2006/02/21/t...ebruary19-2006/
"All fixed set patterns are incapable of adaptability or pliability. The truth is outside of all fixed patterns."

"It's not the daily increase but daily decrease. Hack away at the unessential."

#9 LongLiveYorke

LongLiveYorke

    Ending the world one proton at a time

  • Members
  • 8,221 posts
  • Gender:Male
  • Location:Manhattan
  • Interests:fizziks, teh maths, Raid-o-head, Rod Reynolds

Posted 24 March 2006 - 11:08 PM

Okay, fine, Pairtheboard, do it the easy and smart way. I give you an A+. Congrats.

#10 Abbaddabba

Abbaddabba

    breaking even like it's 1999

  • Members
  • 5,225 posts

Posted 24 March 2006 - 11:25 PM

...

If you really need this to be proven, you're a ****ing retard.

#11 benjamino

benjamino

    Poker Forum Newbie

  • Members
  • 3 posts

Posted 25 March 2006 - 02:25 AM

well said abba

#12 Andy Beal

Andy Beal

    Poker Forum Regular

  • Members
  • 114 posts

Posted 25 March 2006 - 02:36 AM

QUOTE (benjamino @ Saturday, March 25th, 2006, 4:25 AM) <{POST_SNAPBACK}>
well said abba


These are the comments that come from people that believe a certain statement is true, but they either (1) have no idea WHY it is true, or (2) think it is true for an incorrect reason.

QUOTE (PairTheBoard @ Friday, March 24th, 2006, 8:21 PM) <{POST_SNAPBACK}>
The proof is based on the well known fact from Probabilty Theory that the expectation of the sum of random variables is the sum of their expectations, EVEN IF THEY ARE NOT INDEPENDENT. This is a deceptively powerful fact.

In math notation, if X and Y are random variables then

E(X+Y) = E(X) + E(Y)

in fact

E(aX+ bY) = aE(X) + bE(Y) where a,b are constants.

For example when running the Turn-River twice. X is the random variable based on the first two cards put out, Y is the random variable based on the second two cards. X and Y are 1 if they produce a win, 0 for a loss. Even though X and Y are not independent the above fact about expectations still holds.

When running it twice you're asking, what is

E(.5X + .5Y) ?

The additive Theorum for Expectatons says it's

.5E(X) + .5E(Y)

But if you ran either the first set of two cards or the second set of two cards by themselves, just one time using those cards, you should have no problem seeing that One Time, those two cards are just as likely to produce a win as any other two in the deck. In other words, One time by itself, E(X) is just the probabilty that X=1 as it should be. But the Y cards are just as good for running One Time by themselves ( just burn the other cards without looking )and E(Y) is the same probabilty of winning.

So,

.5E(X) + .5E(Y) =

.5*prob(the X cards produce a win when run one time) +
.5*prob(the Y cards produce a win when run one time) =

.5*prob(the X cards produce a win when run one time) +
.5*prob(the X cards produce a win when run one time) =

.5*(2*prob(the X cards produce a win when run one time)

= E(X) = Expectation running it once.

The nice thing about looking at it this way is that the same argument holds if you were running the whole board twice, or the whole board for an Omaha Hand where you would not want to list all the cases for cards that could come out.

It rests on two principles. The additivity for Expectations of Random Variables. And the observation that for the purposes of running it one time, with all cards sight unseen, any cards you want to pick out of the deck are as good as any others.

icon_suit_spade.gif



icon_clap.gif
Just call me THE BANKER.

#13 benjamino

benjamino

    Poker Forum Newbie

  • Members
  • 3 posts

Posted 25 March 2006 - 03:04 AM

QUOTE (Andy Beal @ Saturday, March 25th, 2006, 2:36 AM) <{POST_SNAPBACK}>
These are the comments that come from people that believe a certain statement is true, but they either (1) have no idea WHY it is true, or (2) think it is true for an incorrect reason.
icon_clap.gif


I actually understand the why running the board multiple times benefits players that have the best hand. For example, in heads up play, if player A moves all in with 9 icon_suit_club.gif 9 icon_suit_heart.gif(after the flop) and player B calls with A icon_suit_spade.gif K icon_suit_spade.gif, on a board of 9 icon_suit_spade.gif 4 icon_suit_spade.gif J icon_suit_heart.gif , they decide to run the board until the deck is dead (I know this will never happen but I am making a point). Player A, in the long run, will win 75% of the pot and player B will win 25% of the pot. If you havn't noticed these are the exact odds (or very very close) to the odds of who will have the winning hand at the end of the hand. The only thing running the board multiple times does is it reduces variance. If the players decide to run the board only once and a icon_suit_spade.gif falls, player A loses the whole pot if the board doesn't pair. I know what you are saying that the situation changes with what cards fall but, in the long run, running the board multiple times reduces variance and helps hedge against hugs swings. Before you try to berate somebody please understand what you are talking about.
Ben

If this is the REAL Andy Beal, I have no problem saying you are better at math and stat theory than I am but show me where I went wrong.

#14 Andy Beal

Andy Beal

    Poker Forum Regular

  • Members
  • 114 posts

Posted 25 March 2006 - 03:17 AM

In fact, PairTheBoard, it follows that

EV(running it once) = EV(running it n times WITHOUT replacement) = EV(running it n times WITH replacement)

blush.gif bubble_cool.gif

QUOTE (benjamino @ Saturday, March 25th, 2006, 5:04 AM) <{POST_SNAPBACK}>
I actually understand the why running the board multiple times benefits players that have the best hand.


Please define "benefit" for me. Do you mean fixed EV with reduced variance?

If so, then all I was asking was for you to offer mathematical proof of why the EV was fixed. I don't see in this thread where you accomplished that.

I'm not trying to berate you and this is nothing personal. My entire point was to spark discussion on this tidbit (which is very applicable in poker theory,): How does one "know" a statement is true if one cannot offer a valid proof of the statement? (And, by the way, saying "I know it's true because, well, it just is!" or "Everyone knows that!" is not a proof.)
Just call me THE BANKER.

#15 LongLiveYorke

LongLiveYorke

    Ending the world one proton at a time

  • Members
  • 8,221 posts
  • Gender:Male
  • Location:Manhattan
  • Interests:fizziks, teh maths, Raid-o-head, Rod Reynolds

Posted 25 March 2006 - 09:01 AM

I don't know why people were so hostile to this thread. I thought it was a great idea for a thread and was one of the more interesting things I've seen at FCP in a while. Maybe it's just because, in most high school and maybe even college educations, people don't see enough proofs and aren't exposed to their value and beauty. Andy Beal, if you have any other poker theorems that you want us to prove, please do so.

#16 PairTheBoard

PairTheBoard

    Poker Forum Regular

  • Members
  • 100 posts

Posted 25 March 2006 - 10:40 AM

QUOTE (Andy Beal @ Saturday, March 25th, 2006, 3:17 AM) <{POST_SNAPBACK}>
In fact, PairTheBoard, it follows that

EV(running it once) = EV(running it n times WITHOUT replacement) = EV(running it n times WITH replacement)


Good point. The same proof easily extends to the n-times case.

icon_suit_spade.gif

#17 Andy Beal

Andy Beal

    Poker Forum Regular

  • Members
  • 114 posts

Posted 25 March 2006 - 02:34 PM

QUOTE (LongLiveYorke @ Saturday, March 25th, 2006, 11:01 AM) <{POST_SNAPBACK}>
I don't know why people were so hostile to this thread. I thought it was a great idea for a thread and was one of the more interesting things I've seen at FCP in a while. Maybe it's just because, in most high school and maybe even college educations, people don't see enough proofs and aren't exposed to their value and beauty. Andy Beal, if you have any other poker theorems that you want us to prove, please do so.


Nail, meet head! ;-)

I do have some more (and not all that I know the answer to!) and I enjoy discussing them with eveyone...
Just call me THE BANKER.

#18 BuffDan

BuffDan

    Poker Forum Groupie

  • Members
  • 502 posts
  • Gender:Male
  • Location:Pasadena, CA

Posted 25 March 2006 - 03:05 PM

I would just also like to point out that this was a fact that didn't seem immediately clear to me (ie does the fact that maybe some of the cards you need to win the second time came out the first time make a difference) so to see the proof was great (but then again, I'm a fan of proofs).

To use a phrase mathematicians use for an especially pretty proof, your proof, PairTheBoard, is "from the book."
"A triangle with four points is what Euclid rides into hell"

#19 Abbaddabba

Abbaddabba

    breaking even like it's 1999

  • Members
  • 5,225 posts

Posted 25 March 2006 - 03:49 PM

QUOTE
I don't know why people were so hostile to this thread. I thought it was a great idea for a thread and was one of the more interesting things I've seen at FCP in a while. Maybe it's just because, in most high school and maybe even college educations, people don't see enough proofs and aren't exposed to their value and beauty. Andy Beal, if you have any other poker theorems that you want us to prove, please do so.


Hello.

Ive done three years of stats for my degree, and this is something that would be filed under "trivial".


How you interperet "running it twice" is exactly what the answer is.

If you run it twice for half the pot reshuffling the same dead cards, it's obviously identical. If you do it twice for the whole value, it doubles in scale.

If you want to give consideration to what happens if you don't reshuffle dead cards, it's more complicated and probably shouldnt be handled on intuition alone. But that isnt how it's done, as far as i know.

#20 Andy Beal

Andy Beal

    Poker Forum Regular

  • Members
  • 114 posts

Posted 25 March 2006 - 03:51 PM

QUOTE (Abbaddabba @ Saturday, March 25th, 2006, 5:49 PM) <{POST_SNAPBACK}>
Hello.

Ive done three years of stats for my degree, and this is something that would be filed under "trivial".
How you interperet "running it twice" is exactly what the answer is.

If you run it twice for half the pot reshuffling the same dead cards, it's obviously identical. If you do it twice for the whole value, it doubles in scale.

If you want to give consideration to what happens if you don't reshuffle dead cards, it's more complicated and probably shouldnt be handled on intuition alone. But that isnt how it's done, as far as i know.


Actually none of the three cases is complicated. The same argument works for all three.

If you know that expectation is a linear function/functional (the key here is knowing that that holds even if the events are not independent), then they are all equally filed under "trivial". blush.gif

And people normally do NOT reshuffle the dead cards back into the deck. But that doesn't matter, because the beauty of the theorem is that all three cases have the same EV!
Just call me THE BANKER.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users