vpFREE2 Forums

Graphical representation of NO

No, I do not have that much time nor did I intend, but confirmation of my thought process by showing basic generation, rather than reference to a complete product allows me to visualize it better, and where appropriate, to trust the computer's answer.

I got burned too many times in decades gone by computer answers that had no bearing to real world in mechanical manufacturing process and results. We have come a long way since then, but I still like to learn the basics before I use a program without question or a reference to same.

Note the XVP in the subject line, just thought I would respond here

···

--- In vpFREE@yahoogroups.com, "dunbar_dra" <h_dunbar@...> wrote:

At this point I'm not sure what you mean by "obtain them manually". The extreme interpretation of "manually" would be to deal yourself 446,000 hands of video poker, play them perfectly, then record your final bankroll. Now repeat that process a few thousand more times. Now group your final bankroll results into bins and you will have a pretty good histogram of what things will look like after "NO" hands. Of course, that would be over one billion hands of video poker. I doubt you have THAT MUCH time on your hands!

f

The "computer" lost my XVP, sorry members.

···

--- In vpFREE@yahoogroups.com, "deuceswild1000" <deuceswild1000@...> wrote:

Note the XVP in the subject line, just thought I would respond here

Is this the sort of thing you're trying to produce?

<http://wildlife-pix.com/vpoker/ret10k.png>

I wrote some software to produce PDFs of VP returns and related statistics several years ago during one of this group's periodic discussions of VP theory.

This particular graph shows the distribution of total returns (I think in bets) for the play of 10,000 hands of 9/6 JOB. The bar chart is a simulation of something like 100,000 replications of the play of 10,000 hands. There are two continuous curves right on top of each other from "exact" calculations done two different ways -- yes, the technical term for the exact calculation is a convolution. The bell shaped curve is a Gaussian (normal) distribution with the same mean and s.d. as the true probability distribution.

The software is still there in the same directory for download, but it's written in a language you probably don't want to learn. As for doing it manually, Harry gave the right prescription. Have your favorite VP software simulate 10,000 hands (or N0 if that's what you're interested in) of play. Write down the final net return. Repeat as many times as you can stand. Make a bar chart of frequency vs. total return.

Mike P.

···

--- In vpFREE@yahoogroups.com, "deuceswild1000" <deuceswild1000@...> wrote:

--- In vpFREE@yahoogroups.com, "nightoftheiguana2000" <nightoftheiguana2000@> wrote:
>
> Jazbo's curves are PDF's, I don't know how he generated them:
> http://www.jazbo.com/videopoker/
>

Yes I believe they are a PDF, I believe Jazbo generated them using convolution??. Still, like I said if all I had was as deck of card, how would I simulate that, And how does an 10,000 hand sessin relate to NO of 446,000 hands?

That makes good sense to me, dw.

The exercise was useful to me, too. It served as a reminder about keeping track of what assumptions are being made. Saying "NO is the number of hands that it takes to be 84% sure of being ahead" makes the assumption that the results curve will be very close to the bell curve of the normal distribution. Yet even at "NO" (i.e., after 446,000 hands), there is a 52% chance of being below the expected return. If it were normally distributed that figure would be 50%.

--Dunbar

···

--- In vpFREE@yahoogroups.com, "deuceswild1000" <deuceswild1000@...> wrote:

--- In vpFREE@yahoogroups.com, "dunbar_dra" <h_dunbar@> wrote:
> At this point I'm not sure what you mean by "obtain them manually". The extreme interpretation of "manually" would be to deal yourself 446,000 hands of video poker, play them perfectly, then record your final bankroll. Now repeat that process a few thousand more times. Now group your final bankroll results into bins and you will have a pretty good histogram of what things will look like after "NO" hands. Of course, that would be over one billion hands of video poker. I doubt you have THAT MUCH time on your hands!

No, I do not have that much time nor did I intend, but confirmation of my thought process by showing basic generation, rather than reference to a complete product allows me to visualize it better, and where appropriate, to trust the computer's answer.

I got burned too many times in decades gone by computer answers that had no bearing to real world in mechanical manufacturing process and results. We have come a long way since then, but I still like to learn the basics before I use a program without question or a reference to same.

Yes, Harry and Dunbar both confirmed my generation methods validity. Thanks for showing a histogram superimposed with a curve.

When I aske how to make a NO type histogrm, I did not realize the significance of the sample size to generate a specific std dev inorder to achieve the 84& probability of breaking even or going positive. References to Jazbo's curvs just kept confusing me until I come to the conclusion that a "Jazbo curve" of a NO required distribution would be based on session of 446,000 hands for FPDW. Once that was clarified I essentially was home free. We beat around the bush a long time to clairfy that one.

Thanks.

···

--- In vpFREE@yahoogroups.com, "Michael Peck" <mpeck1@...> wrote:

--- In vpFREE@yahoogroups.com, "deuceswild1000" <deuceswild1000@> wrote:
>
> --- In vpFREE@yahoogroups.com, "nightoftheiguana2000" <nightoftheiguana2000@> wrote:
> >
> > Jazbo's curves are PDF's, I don't know how he generated them:
> > http://www.jazbo.com/videopoker/
> >
>
>
> Yes I believe they are a PDF, I believe Jazbo generated them using convolution??. Still, like I said if all I had was as deck of card, how would I simulate that, And how does an 10,000 hand sessin relate to NO of 446,000 hands?
>

Is this the sort of thing you're trying to produce?

<http://wildlife-pix.com/vpoker/ret10k.png>

I wrote some software to produce PDFs of VP returns and related statistics several years ago during one of this group's periodic discussions of VP theory.

This particular graph shows the distribution of total returns (I think in bets) for the play of 10,000 hands of 9/6 JOB. The bar chart is a simulation of something like 100,000 replications of the play of 10,000 hands. There are two continuous curves right on top of each other from "exact" calculations done two different ways -- yes, the technical term for the exact calculation is a convolution. The bell shaped curve is a Gaussian (normal) distribution with the same mean and s.d. as the true probability distribution.

The software is still there in the same directory for download, but it's written in a language you probably don't want to learn. As for doing it manually, Harry gave the right prescription. Have your favorite VP software simulate 10,000 hands (or N0 if that's what you're interested in) of play. Write down the final net return. Repeat as many times as you can stand. Make a bar chart of frequency vs. total return.

Mike P.

Have you ever run that for JoB or any other common vp game to see how many hands it would take before it takes on a more normal shape? That would be extremely interesting to me. Not sure if any discussion on this forum have ever given an example or not.

···

--- In vpFREE@yahoogroups.com, "Michael Peck" <mpeck1@...> wrote:

I wrote some software to produce PDFs of VP returns and related statistics several years ago during one of this group's periodic discussions of VP theory.

This particular graph shows the distribution of total returns (I think in bets) for the play of 10,000 hands of 9/6 JOB. The bar chart is a simulation of something like 100,000 replications of the play of 10,000 hands. There are two continuous curves right on top of each other from "exact" calculations done two different ways -- yes, the technical term for the exact calculation is a convolution. The bell shaped curve is a Gaussian (normal) distribution with the same mean and s.d. as the true probability distribution.

The software is still there in the same directory for download, but it's written in a language you probably don't want to learn. As for doing it manually, Harry gave the right prescription. Have your favorite VP software simulate 10,000 hands (or N0 if that's what you're interested in) of play. Write down the final net return. Repeat as many times as you can stand. Make a bar chart of frequency vs. total return.

Mike P.

>
  Have you ever run that for JoB or any other common vp game to see how many hands it would take before it takes on a more normal shape? That would be extremely interesting to me. Not sure if any discussion on this forum have ever given an example or not.

Here's a graph of the distribution of returns for 1,000,000 hands of JOB that I posted whenever it was this topic came up before:

<http://wildlife-pix.com/vpoker/vpe6jb.png>

The blue curve is a normal distribution, red the actual distribution of returns. This would flunk a standard statistical test of whether these were the same, but they look pretty close.

I haven't looked at this stuff in a while, and I'm not sure the concept of N0 had been devised the last time I did. IIRC games with secondary jackpots approach a normal distribution a lot more quickly than Jacks.

Mike P.

> >
> Have you ever run that for JoB or any other common vp game to see how many hands it would take before it takes on a more normal shape? That would be extremely interesting to me. Not sure if any discussion on this forum have ever given an example or not.
>

Here's a graph of the distribution of returns for 1,000,000 hands of JOB that I posted whenever it was this topic came up before:

<http://wildlife-pix.com/vpoker/vpe6jb.png>

The blue curve is a normal distribution, red the actual distribution of returns. This would flunk a standard statistical test of whether these were the same, but they look pretty close.

···

--- In vpFREE@yahoogroups.com, "Michael Peck" <mpeck1@...> wrote:
------------------------------------------------------------------------

That is so nice to see. I do not recall ever seeing that on this forum since I have been on here.

Now, this the thing that has always puzzled me (I have tried to ask this on other occasions, but possibly like this set of communications, I may have asked the question wrong, or the answers werer too theoretical.)a:

   Even though the hand session size is exstremely large, why is there not still a clumping on the right side, which is caused by the royal, such as when doing a smaller session hand size of say 10,000 hands?

What makes this trimodal. I assume the highest peak is at or near the ER, the right most due to the royal, but what is the one in the middle. Is it SF etc.

Also you mentioned that games with more top loaded payouts becomes more close to normal quicker than JoB. Could you explain why that is?

···

--- In vpFREE@yahoogroups.com, "Michael Peck" <mpeck1@...> wrote:

<http://wildlife-pix.com/vpoker/ret10k.png>

> <http://wildlife-pix.com/vpoker/ret10k.png>

What makes this trimodal. I assume the highest peak is at or near the ER, the right most due to the royal, but what is the one in the middle. Is it SF etc.

Not quite. The highest peak represents outcomes with no royals, the next is 1 royal, the rightmost is 2 royals. If you could blow that graph up a few times you'd see a tiny peak at 3 royals.

You can get the approximate locations and relative heights of the peaks with a scientific calculator or spreadsheet. Here's the approximate probabilities for 0-3 royals in 10,000 hands of JOB:

0 78.1%
1 19.3%
2 2.4%
3 0.2%

These are calculated from a Binomial or Poisson distribution. From these you can estimate that the first peak should be about 78.1/19.3 = 4 times higher than the second, the second should be 19.3/2.4 = 8 times higher than the third, etc.

Conditioning on *not* getting a royal the return for 9/6 JOB is about -2.4%, so in a 10,000 hand session without a royal you'd expect to lose a little over 240 bets, or slightly more than 1200 coins (the actual peak is at -1255 coins). The second peak is at 4000 coins for 1 royal, less what you pay in the 9,999 hands without one or around 2700 coins plus change.

Also you mentioned that games with more top loaded payouts becomes more close to normal quicker than JoB. Could you explain why that is?

Short explanation is that secondary jackpots are always for comparatively common hands (relative to a royal), so in largish number of hands you're more likely to get something close to the expected distribution of results.

Mike P.

···

--- In vpFREE@yahoogroups.com, "deuceswild1000" <deuceswild1000@...> wrote:

--- In vpFREE@yahoogroups.com, "Michael Peck" <mpeck1@> wrote:

>
> <http://wildlife-pix.com/vpoker/vpe6jb.png>
>
> The blue curve is a normal distribution, red the actual distribution of returns. This would flunk a standard statistical test of whether these were the same, but they look pretty close.
------------------------------------------------------------------------

That is so nice to see. I do not recall ever seeing that on this forum since I have been on here.

I had to have posted this during one of this group's periodic discussions of applied probability theory, but I sure don't remember when it was.

   Even though the hand session size is exstremely large, why is there not still a clumping on the right side, which is caused by the royal, such as when doing a smaller session hand size of say 10,000 hands?

You can see it if you look closely enough. The true distribution of returns is slightly skewed relative to a normal distribution, in the sense that you are slightly more likely to do much better than expected -- the probability distribution function for the actual returns lies a little above a normal distribution at the extreme right of the graph.

The member who posts under the moniker cdfsrule would probably prefer to show this with cumulative distribution functions. That works too, maybe better.

Mike P.

···

--- In vpFREE@yahoogroups.com, "deuceswild1000" <deuceswild1000@...> wrote:

The highest peak is the average return without a royal (ER=97.6%), the second peak is plus one royal, the third peak is plus two royals.

···

--- In vpFREE@yahoogroups.com, "deuceswild1000" <deuceswild1000@...> wrote:

--- In vpFREE@yahoogroups.com, "Michael Peck" <mpeck1@> wrote:

> <http://wildlife-pix.com/vpoker/ret10k.png>

What makes this trimodal. I assume the highest peak is at or near the ER, the right most due to the royal, but what is the one in the middle. Is it SF etc.

Also you mentioned that games with more top loaded payouts becomes more close to normal quicker than JoB. Could you explain why that is?

It's called the "Central Limit Theorem". As the sample size increases, the possible results converge on a "Standard Distribution". Many people think the possible results converge on the average result, but this is incorrect. The longer you play, the less likely it is that you will have an average result. For an even gamble, the eventual outcome is not both sides even but instead one or the other side will bust out (reach their limit), that's why the longterm bankroll requirement for an even gamble is infinite, and also why even slightly positive gambles have gimongous bankroll requirements.

···

--- In vpFREE@yahoogroups.com, "deuceswild1000" <deuceswild1000@...> wrote:

   Even though the hand session size is exstremely large, why is there not still a clumping on the right side, which is caused by the royal, such as when doing a smaller session hand size of say 10,000 hands?

--- In vpFREE@yahoogroups.com, "nightoftheiguana2000" Many people think the possible results converge on the average result, but this is incorrect. The longer you play, the less likely it is that you will have an average result. For an even gamble, the eventual outcome is not both sides even but instead one or the other side will bust out (reach their limit), that's why the longterm bankroll requirement for an even gamble is infinite, and also why even slightly positive gambles have gimongous bankroll requirements.

You have posted that before, but I did not understand it then and do not understand it now. Especially in light of the NO situation. If you remember back, I said it seems that your above statement contradicts NO. Your answer was to run a risk of ruin program. But, I am looking for the intuitive answer, not a program. I was under the impression that NO depended on a relativelly smooth distribution (approximating normal). Whereas you seem to imply that I am either going to be a big winner or a big loser.

Please put it into words your response.

That makes sense, I just never looked at it a a very large sample for CLT, I kept thinking in terms of a single event distribution.

···

--- In vpFREE@yahoogroups.com, "nightoftheiguana2000" <nightoftheiguana2000@...> wrote:

--- In vpFREE@yahoogroups.com, "deuceswild1000" <deuceswild1000@> wrote:
> Even though the hand session size is exstremely large, why is there not still a clumping on the right side, which is caused by the royal, such as when doing a smaller session hand size of say 10,000 hands?

It's called the "Central Limit Theorem". As the sample size increases, the possible results converge on a "Standard Distribution".

IMO, both NOTI and Michael have made excellent contributions to this topic (especially given how much has been written before on it!).

I would like to add a minor point that the correlation-based computations are not exact in practice, especially as the number of hands gets large, owing to limitations in computer memory and numerical precision. It's main advantage is that its is a very fast computation that does not require simulation.

I'd also like to stress that the CLT theorem really only states that, within a central region, that the curve becomes normal-like and that, as the number of hands increases, the width of the central region (in real units) increases. The extreme tail positive tail, way out there, always shows tiny bumps, of course, if the computation was done exactly. All of this too has been discussed before. I hope its clear to folks that just because you play longer you don't earn a higher likelihood of being closer to the mean. Quite the contrary.

···

--- In vpFREE@yahoogroups.com, "nightoftheiguana2000" <nightoftheiguana2000@...> wrote:

>
> --- In vpFREE@yahoogroups.com, "Michael Peck" <mpeck1@> wrote:
>
>

"NO" does NOT depend on any assumption of what the distribution of results looks like. "NO" is a direct result of the definition of "expected return" and "variance". I'll show you that below.

The "approximating normal" part comes in if you want to draw the conclusion that playing "NO" hands means you have about an 84% chance of being ahead. The 84% value comes from the normal distribution.

Regarding "going to be a big winner or a big loser":

If you are playing a positive game with enough bankroll, then

1. The chance you will be ahead will grow.
2. The percent difference between your "expected win" and your actual result will tend to shrink.

That's not inconsistent with what Michael Peck said. The absolute difference will tend to grow the more you play. That's because standard deviation get bigger and bigger. BUT, Expected Return grows faster than standard deviation. So, the percent difference between expected win and actual win will tend to shrink.

Here's how "NO" is derived. It doesn't take more than the simplest of algebra to follow this. First, some definitions:

1. ER = expected return of 1 hand (and I am going to use just the positive fractional amount. For example, the ER for FPDW would be +0.76%*)
2. ER(n) = expected return after n hands
3. Var = variance of 1 hand
4. Var(n) = variance after n hands
5. SD = standard deviation of 1 hand = SQRT(Var)
6. SD(n) = standard deviation after n hands
7. NO = the number of hands where the expected return equals the standard deviation

One of the nice properties of variance is that the variance of independent events, like video poker hands, can be added. Therefore, Var(n) = n * Var

And, since the standard deviation is defined as the SQRT(Var), then this must be true:
SD(n) = SQRT(Var(n)) = SQRT(n*Var), which can also be written as

SD(n) = SQRT(n) * SQRT(Var). And since SQRT(Var) = SD, we get

SD(n) = SQRT(n) * SD. Call this Eq. (1).

What is the expected return after n hands? That's easy, it's n times the expected return of 1 hand:

ER(n) = n * ER. Call this Eq. (2).

Let's look for the number of hands where the expected return, ER(n), is equal to the standard deviation, SD(n). We can find that particular value of n by setting the right hand sides of Eq. (1) and Eq. (2) equal to each other. That looks like this:

n * ER = SQRT(n) * SD. Now we have to solve for n.

First, square both sides:

n^2 * ER^2 = n * SD^2

Divide both sides by ER^2

n^2 = n * (SD^2)/(ER^2)

Divide both sides by n

n = (SD^2)/(ER^2)

We've found the particular value of "n" for which the expected return equals the standard deviation. Brett Harris coined the term "NO" for that value of "n".

NO = (SD^2)/(ER^2)

Note that we've made no assumption about normal distribution or anything else.

--Dunbar

*If you want to use the 100.76% type values for expected return, instead of +0.76%, then you just have to subtract off "1" everywhere you see ER in those equations.

···

--- In vpFREE@yahoogroups.com, "deuceswild1000" <deuceswild1000@...> wrote:

--- In vpFREE@yahoogroups.com, "nightoftheiguana2000" Many people think the possible results converge on the average result, but this is incorrect. The longer you play, the less likely it is that you will have an average result. For an even gamble, the eventual outcome is not both sides even but instead one or the other side will bust out (reach their limit), that's why the longterm bankroll requirement for an even gamble is infinite, and also why even slightly positive gambles have gimongous bankroll requirements.
>

You have posted that before, but I did not understand it then and do not understand it now. Especially in light of the NO situation. If you remember back, I said it seems that your above statement contradicts NO. Your answer was to run a risk of ruin program. But, I am looking for the intuitive answer, not a program. I was under the impression that NO depended on a relativelly smooth distribution (approximating normal). Whereas you seem to imply that I am either going to be a big winner or a big loser.

I find however that most gamblers are not aware of this mathematical fact. Gamblers want to believe that if they just continue to plug away, to play a few more million hands, their dollar results will finally approach the average dollar result, that somehow (through the magic of the "long term") their previous bad luck will be compensated by a future run of good luck. But the math does not support this cherished gambling belief (no "regression to the mean" with "independent events"). The casinos of course want you to keep plugging away until you've exhausted your last penny and maxed out your debt, though officially they have to warn players not to become addicted. That's a little like the corner meth dealer warning his clients not to become addicted.

That's not to say it's all bad news. With the proper choice of a game with an achievable N0 and a reasonable bankroll requirement (or better yet, Kelly bankroll management), and with the discipline to make no or few mistakes in a highly distracting environment, and with the skill to prevent or at least delay being backed off, you can increase your chances of coming out a winner. But gambling is gambling, and your results will vary.

···

--- In vpFREE@yahoogroups.com, "cdfsrule" <cdfsrule@...> wrote:

I hope its clear to folks that just because you play longer you don't earn a higher likelihood of being closer to the mean. Quite the contrary.

Here's an extreme "NO" example showing your chance of being ahead can be quite far from the 84% predicted from the normal distribution.

Consider FPDW with (gulp!) 10% cashback. Your expected win is 10.762%. Variance is still 25.84. "NO" is 2231 hands (see below).

There is more than a 93% chance you will be ahead at NO. (not 84%)

--Dunbar

It's easy to confirm that "NO" is 2231 hands:

1. The expected win after 2231 hands is 2231 * 10.762% = 240 units
2. The standard deviation after 2231 hands is SQRT(2231 * 25.84) = 240 units.

So, the expected win after 2231 hands is the same as one standard deviation. That's the definition of "NO".

I got the 93% chance of being ahead at NO from DRA-VP.

···

--- In vpFREE@yahoogroups.com, "dunbar_dra" <h_dunbar@...> wrote:

"NO" does NOT depend on any assumption of what the distribution of results looks like. "NO" is a direct result of the definition of "expected return" and "variance". I'll show you that below.

The "approximating normal" part comes in if you want to draw the conclusion that playing "NO" hands means you have about an 84% chance of being ahead. The 84% value comes from the normal distribution.

Regarding "going to be a big winner or a big loser":

If you are playing a positive game with enough bankroll, then

1. The chance you will be ahead will grow.
2. The percent difference between your "expected win" and your actual result will tend to shrink.

That's not inconsistent with what Michael Peck said. The absolute difference will tend to grow the more you play. That's because standard deviation get bigger and bigger. BUT, Expected Return grows faster than standard deviation. So, the percent difference between expected win and actual win will tend to shrink.

I hope its clear to folks that just because you play longer you don't earn a higher likelihood of being closer to the mean. Quite the contrary.

.....................................................................

That is the part that I do not understand,nor do I see how any of the discussion of NO and CLT answers that. Like I asked NOTI, I would appreciate a intuitive explanation of the above statement, as I do not see how it is so. I am not saying you are wrong, in fact you and every body else has been most helpful. Forgive me if this has been discussed before, but like I said I did not unerstand you statement abobe then, nor now. So often links to somebody's chart or curve is thrown out, but often no more words of explantion are given. I just have a hard time with that.

To the fourm members, if this is boring you, I am sorry. My next posting will be about the price of crab legs or something that I can understank :slight_smile:

···

--- In vpFREE@yahoogroups.com, "cdfsrule" <cdfsrule@...> wrote: