Roulette Forum
Roulette Forum => Roulette Strategy Discussion => Roulette probabilities and more by Bayes => Topic started by: Bayes on May 24, 2016, 08:59:36 AM

New article : A Test for Randomness (http://www.roulettician.com/articles/article4.html)
The creative system designer will see some uses for this, I'm sure. ;)

Bayes,
This is a great topic.
I admit I haven't read your article in full yet.
But here are some issues that always bothers me, when I think about the issue of randomness and roulette.
Btw, I agree with you that physics is 'theoretical' in comparison with medicine and agriculture. But it is 'empirical' in comparison with mathematics. See more on this here (http://forum.roulette30.com/index.php?topic=750.msg11003#msg11003).
Now to the main issue of randomness.
I see some relation between gambler's fallacy and randomness testing. I see some sort of logical and philosophical contradiction. Here are my thoughts.
If we believe that the result of each spin is totally independent, then every possible spin sequence is equally probable.
This means that this sequence: 5,5,5,5,5,5,5,6,6,6,6,6,7,7,7,7,7,7,8,8,8,8,8,......
is equally probable with this sequence: 36,30,1,1,4,9,17,17,4,30,30,36,18,22,6,7.....
Then on what grounds is it possible to evaluate a spin sequence and give a verdict on its randomness?
To ask it in another way. Is randomness something unknown or known? If it is totally unknown how can you evaluate it?
Does randomness has limits or not? If it doesn't then how can you evaluate it?
PS: I see a similar contradiction on the house edge argument (http://www.roulette30.com/2013/10/roulettehouseedgestrategy.html). They say every spin is independent and unpredictable and nothing is due, yet they fully expect the 2,7% zero effect to stop you from winning, because it is due... But this is a totally different discussion and there is no point in arguing about this here.

(http://3.bp.blogspot.com/_BxFygUanFA/V0i_ZTXWX3I/AAAAAAAACFU/vtD0sFXMb8I3AJFfkWnMNRh705K3k8RqACLcB/s1600/system%2Bcartoon.jpg)

"This means that this sequence: 5,5,5,5,5,5,5,6,6,6,6,6,7,7,7,7,7,7,8,8,8,8,8,......is equally probable with this sequence: 36,30,1,1,4,9,17,17,4,30,30,36,18,22,6,7.....",
It sounds like it may not be, but it is the same probability. We will see the first very seldom if ever, and the second as well. Seven in a row I saw once, but never followed by a streak of six. The other sequence I have not noted, but it is possible I never got it in my personal play.
What makes the first "rare" is it is easy to recognise, and the play has rules we will win the same if we
bet them all and got it right in both sequence.

"This means that this sequence: 5,5,5,5,5,5,5,6,6,6,6,6,7,7,7,7,7,7,8,8,8,8,8,......is equally probable with this sequence: 36,30,1,1,4,9,17,17,4,30,30,36,18,22,6,7.....",
It sounds like it may not be, but it is the same probability. We will see the first very seldom if ever, and the second as well. Seven in a row I saw once, but never followed by a streak of six. The other sequence I have not noted, but it is possible I never got it in my personal play.
What makes the first "rare" is it is easy to recognize, and the play has rules we will win the same if we
bet them all and got it right in both sequence.
Agreed. But if "anything is possible" then you can not tell if something is truly random or not. Even a 5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5..... sequence falls within the limits of randomness. Because if one starts telling "this is random and this is not" and starts to exclude possible sequences, it means that random is not completely random.
To me "testing randomness" seems a contradiction in terms.

Test for randomness in such a small sample is not possible. The randomness test are like they can tell a very high or low probability the sample is random, it can never say it is absolute sure random.

Test for randomness in such a small sample is not possible. The randomness test are like they can tell a very high or low probability the sample is random, it can never say it is absolute sure random.
I'm not talking about small samples. I just can't post here thousands of outcomes.
In fact my point has nothing to do with statistics. It is based on pure logic. If something is random it means it is unknown. It does not follow rules. If it followed rules then those rules would limit its randomness. If it is unknown and does not follow rules then I can not evaluate it.

No we can not know, as everything is possible. We use some rules which in most of the cases fit. As 400 spins from a casino whatever the numbers are they have the same probability as it were 400 zeros. Nobody would think 400 zeros is a random outcome, the wheel should be called have bias for much less. If it shows the same 400 numbers as last night, it should be a situation which should be unlikely as than a spacecraft were landing with aliens.

You make a good point and I may agree with you, but I want to prove a point.
And this point is that strictly speaking, when you start putting limits on randomness, when you start having "expectations", then this is the basis of (what people call) gambler's fallacy.
In your post, what you did is that you looked in past spins (400 zeros) to evaluate the next spins. In principle this is "gambler's fallacy".
If one says that a wheel that consistently shows black numbers is not random, then one basically adopts a gambler's fallacy approach.
I'm not taking sides. I'm just pointing out a contradiction: If one can "test randomness" then he actually uses some form of "gambler's fallacy". One can not at the same time be against gambler's fallacy and "test randomness".
If you have expectations from the wheel (expectations of randomness, equilibrium, probability or whatever) then you can test and bet according to those expectations.
If you have no expectations from the wheel, then you can not bet according to them and can not test for randomness.

Kav! I did not mean 400 of reds twice in a row, it was any 400 numbers. Any 400 numbers has the same probability.
We see almost never even 50 equal sequence's. That's why Dobbelsteen is right when he say we do not need to wait for ten reds, we can bet against the last ten as well.
I think it is still more to research in the random math, we probably not know it all.

Jesper, the way I see it is given enough time, in theory  one could almost bet against any sequence, it need not be "abnormal". Examples....RRRRRRR bet BBBBBBB...RBRBRBR bet BRBRBRB....or something where there seems to be little or no pattern like RBBRRBR bet the exact reverse  BRRBBRB etc... given time any pattern nearly becomes "unique". And the casinos know this  this is why they must have rather narrow betting ranges.
LOL  think of it. In our casino of the imagination, some bum could wander in from off the street  start with a five dollar bill  and play at this dream table (with a one cent minimum and an infinity maximum), and own the damn place within a couple of days.
Now saying all this is one thing, trying to develop a betting scheme to exploit it is quite another. Maybe Warren Buffett or Donald Trump could do it for awhile (especially Donald  he could set his own table limits...at his own casino that is)....LOL.

LOL  think of it. In our casino of the imagination, some bum could wander in from off the street  start with a five dollar bill  and play at this dream table (with a one cent minimum and an infinity maximum), and own the damn place within a couple of days.
Ya, its much harder than it sounds. These kinds of tables prove that variance is the largest enemy that we face and that it is in the casino's favor.

(http://3.bp.blogspot.com/_BxFygUanFA/V0i_ZTXWX3I/AAAAAAAACFU/vtD0sFXMb8I3AJFfkWnMNRh705K3k8RqACLcB/s1600/system%2Bcartoon.jpg)
I think the speech balloon should say:
"We know the wheel's perfect  get on to the DM and see if we can offer him a line of credit . . . "
or
"Would you accept a suite for the night, on the house sir? It'll keep you from having to leave early to travel home."
Any others? We should have a competition?

It is at least one on line casino having 1200000 spread on an EC, and I know casinos claim no bet limits. They must know this will not help the players win over them. The fair odds games has the same max, but 5 times higher min, which is a smart way of hide it is fivefold cut.
They know it may be much more winning sessions if any can double up more times, but at the end the loss will be larger. Casinos love Martingaler as they risk very little. When the Martingaler win on the last stage with about 48%
certainty he had already by him self paid in all the money except the first bet value. We can double up only seventeen times, and risk near 4000 Euro for a cent. The casino need just one cent to stand a Martingaler starting there and he can double up as long he wants, it is one cent for the casino.
The table max is not for stopping a Martingaler, it is to stop somebody to place a bet which the bank should have
problems to pay out (as 100000000 on black once).
The variance together with the HA can kill any player. On a fair odds table has i theory that part which highest bank the best chance to win in the long run, usually is not the player that part.
It will allways be a game, not free money!

New article : A Test for Randomness (http://www.roulettician.com/articles/article4.html)
The creative system designer will see some uses for this, I'm sure. ;)
I've read through your piece  interesting. I think it would be useful to add a snapshot of the sector of the wheel with the six numbers showing to add some context to the example; it's not immediately clear with simply the words and numbers (IMHO).
It's a long, long time since I did any heavy duty statistical sampling work (well over 20 years) but your piece has prompted me to do some further reading  I'm particularly interested in how this randomness testing concept can be overlaid with win/loss probabilities to arrive at a %age confidence level for randomness in results. I've had some eyebrow raising results when playing online recently, and last night the alarm bells started ringing when the frequency of a single number (over a 550ish sample) broke into the four standard deviation sector of the bell curve. All of the others are not too far off of the EV.

Hi Kav,
"random" is a difficult word to define and is the source of many pointless arguments on the forums. For me (I and I believe it's the only fruitful definition) "random" just means unknown. What's random for me may not be random for you, so in a way it's subjective.
The runs test just tests to see if a sample is Normally distributed with regard to the number of runs (does it follow the bell curve). The random aspect concerns the independence or regularity of the outcomes in the sample. In fact, it doesn't even test for nonregularity, because the number of runs could be within the "belly" of the bell curve and yet the outcomes could still be regular.
The runs test is known as a test for "randomness" in the literature (https://en.wikipedia.org/wiki/Wald%E2%80%93Wolfowitz_runs_test (https://en.wikipedia.org/wiki/Wald%E2%80%93Wolfowitz_runs_test)) but to be precise it's really a test which compares the number of runs in a sample with what they "should" be according to the bell curve.
I do emphasise that if a sample "fails" the test (that is, the hypothesis of nonrandomness is not disproved at some level) then this isn't necessarily an indication of randomness  it could just just be, and in fact is much more likely to be in Roulette, an unusual event which occurs once every 20 or 100 samples, or whatever.
If we believe that the result of each spin is totally independent, then every possible spin sequence is equally probable.
This means that this sequence: 5,5,5,5,5,5,5,6,6,6,6,6,7,7,7,7,7,7,8,8,8,8,8,......
is equally probable with this sequence: 36,30,1,1,4,9,17,17,4,30,30,36,18,22,6,7.....
Then on what grounds is it possible to evaluate a spin sequence and give a verdict on its randomness?
Every possible sequence of a given length has the same probability, but not in every respect. With respect to the order of outcomes, they are identical because the probabilities are both 1/37 x 1/37 x 1/37 ...
But in other respects they don't have the same probability. In the first sequence the number of runs is highly unlikely. Same for even money sequences. RRRRR has the same probability as RR B R B as a sequence, i.e. 1/2 x 1/2 x 1/2 x 1/2 x 1/2, but not in terms of the number of reds and blacks. The first sequence is relatively rare because it consists only of R.
So you have to look at the way the outcomes are distributed, not just the "raw" probabilities.
In your post, what you did is that you looked in past spins (400 zeros) to evaluate the next spins. In principle this is "gambler's fallacy".
If one says that a wheel that consistently shows black numbers is not random, then one basically adopts a gambler's fallacy approach.
Merely looking at past spins isn't the gambler's fallacy. A biased wheel player also does this. Is he committing the gambler's fallacy?
If someone were to say "there have been 15 reds in a row and because outcomes are equally likely it means that black must come up soon", that *would* be the gambler's fallacy. Without an explicit argument which involves a contradiction you can't say that just using past spins to predict future spins is the GF.

If something is random it means it is unknown. It does not follow rules. If it followed rules then those rules would limit its randomness. If it is unknown and does not follow rules then I can not evaluate it.
I just noticed this. I agree with "If something is random it means it is unknown." Absolutely!
Then you go on to say "it doesn't follow rules".
But it may well follow rules, it's just that you don't know what they are. It's the not knowing that makes it random, not the "not following rules".
The problem is that most think that "random" is something "out there" to be discovered rather than a state of knowledge. Put in philosophical terms, randomness and probability are epistemological rather than ontological.
http://wmbriggs.com/post/2227/ (http://wmbriggs.com/post/2227/)

Bayes,
Thanks for your (always interesting) reply.
For me "random" just means unknown. What's random for me may not be random for you, so in a way it's subjective.
I do emphasise that if a sample "fails" the test (that is, the hypothesis of nonrandomness is not disproved at some level) then this isn't necessarily an indication of randomness
Good points to keep in mind.
I agree with "If something is random it means it is unknown." Absolutely!
Then you go on to say "it doesn't follow rules".
But it may well follow rules, it's just that you don't know what they are. It's the not knowing that makes it random, not the "not following rules".
You are right. I mean we do not know the rules.
...it's really a test which compares the number of runs in a sample with what they "should" be according to the bell curve.
In fact this is analogous (reverse) to what I do. But if I tell so, then I could be "accused" of gambler's fallacy. The only difference is that I take randomness for granted and I bet on the formation of the Bell curve instead of testing. But the underlying logic is the same. We have a reference to which we compare random outcomes.
My main point is one either has "expectations" of the wheel or one doesn't.
If you have expectations from the wheel, then you can test and bet according to those expectations.
If you have no expectations, then you can not bet or test.
To me saying that "after too many Blacks the Reds are expected to make a come back sooner or later" is the same in principle to saying that over time the results will conform to the Bell curve. And it also the same in principle to saying that the house edge will eventually eat your profits. In all three arguments we have an expectation what the sum of outcomes will look like.
At least we can all agree that simply betting Black after Red offers no advantage :)

I've read through your piece  interesting. I think it would be useful to add a snapshot of the sector of the wheel with the six numbers showing to add some context to the example; it's not immediately clear with simply the words and numbers (IMHO).
Thanks for the suggestion. I did think of doing this at the time, but couldn't find a suitable graphic. I'll look into it again.

In fact this is analogous (reverse) to what I do. But if I tell so, then I could be "accused" of gambler's fallacy. The only difference is that I take randomness for granted and I bet on the formation of the Bell curve instead of testing. But the underlying logic is the same. We have a reference to which we compare random outcomes.
Yes but the point of the test is to find out whether outcomes are random (or at least, unusual) or not. If they aren't, then you would bet *for* the nonrandomness, not against it. If you're betting *for* the bell curve and randomness, having taken it for granted that outcomes are unbiased and independent  random  then that *is* the gambler's fallacy.
My main point is one either has "expectations" of the wheel or one doesn't.
If you have expectations from the wheel, then you can test and bet according to those expectations.
If you have no expectations, then you can not bet or test.
I think it's important to distinguish between the psychological attitude of "expectation" and the mathematical definition of it. They're not at all the same.
To me saying that "after too many Blacks the Reds are expected to make a come back sooner or later" is the same in principle to saying that over time the results will conform to the Bell curve. And it also the same in principle to saying that the house edge will eventually eat your profits. In all three arguments we have an expectation what the sum of outcomes will look like.
There shouldn't be any argument that the house edge will eventually eat your profits on the assumption that outcomes are unbiased and independent. You seem to be arguing that it's because outcomes *are* random (meaning anything can happen) that it's not necessarily the case that you will lose to the house edge, because if *anything* can happen, why must it happen that the house edge will prevail  yes?
But the house edge is just an unfair payout, so it's only if outcomes *are* unbiased and independent that the house edge will do its job. It's in the casino's interest to make sure that wheels are as random as possible. But if randomness meant "anything is possible" then no casino games would exist.
I think you're attacking a straw man. Who actually says that random means what you say it does?
If you agree that randomness is lack of information then how do you conclude that from "lack of information" that anything can happen"? knowing that "anything can happen is a lot of information!

So you have to look at the way the outcomes are distributed, not just the "raw" probabilities.
I'm a big fan of this idea. Its not fair when analysts ignore distribution.

This is exactly what I'm examining within my recent results. Overall, the distribution of numbers fall within statistical norms (barring one, which is still worryingly sitting at around 3.5 StdDev after 839 trials)  but when you start to examine subsets of the data, you find that the outcomes aren't quite so matter of fact.
For example, this afternoon I've played a session of 256 spins, using a system that only leaves a 2/37 probability of losing all chips on the electronic felt each spin. So I would expect to see this happen c14 times for a session of this length, and in actual fact it happened 15. All well and good. But 6 of these incidents happened within a run of just 20 spins, and another 5 within a run of 24 spins. The distribution within the range of the session is far from equally distributed, and the question is whether the "clumping" of these results within relatively short runs falls within statistical norms? Issue is that at this moment in time I don't know how to test for this (but I'm willing to learn).
One could be forgiven for thinking that roulette is as streaky as Danish bacon? :D

I take randomness for granted and I bet on the formation of the Bell curve instead of testing. But the underlying logic is the same. We have a reference to which we compare random outcomes.
To me saying that "after too many Blacks the Reds are expected to make a come back sooner or later" is the same in principle to saying that over time the results will conform to the Bell curve. And it also the same in principle to saying that the house edge will eventually eat your profits. In all three arguments we have an expectation what the sum of outcomes will look like.
(http://reactiongif.org/wpcontent/uploads/GIF/2014/08/GIFClapapplausegoodjobniceoneclappingRyanGoslingGIF.gif)

I think you're attacking a straw man. Who actually says that random means what you say it does?
The straw man is in the eye of the beholder?
The problem with theory/fantasy based arguments is they only apply statistical governance to the half of the expected wheel results that suit their own world view.
A balanced approach that at once takes into account the full picture, has no selfserving world view; it simply points to actual spin results that it can see and prove.
There is no contradiction in my mind at all. The odds of an individual spin remain at 1/37 AND streaks produced by those odds diminish and minimum occurrences of groups of numbers will consistently tend towards a practical target.
Yes, there's no contradiction in that. But if I understand you correctly you're taking an extra leap and concluding that after a streak the chance of the next single outcome has increased. That would mean that outcomes aren't independent.
I bet the other 36 numbers from the first spin...
Like Dobble has said, serious gamblers don't speak about and bet on individual spins but groups of spins. I have not denied the chances of a single spin and am very clear on the fact that it is 1/37 which means each spin is independent AND affected by the force of equal distribution  BOTH apply to each spin.Its not a contradiction, it is just reality which I have no need to deny.
Theory/fantasy guys try and say "of course successive streaks diminish & aggregate results tend towards an expected limit but that cannot possibly have ANYTHING to do with the current spin we are looking at"  so we are supposed to believe unless we ignore provable phenomena we are positing a straw man? I mean how short of an attention span do we need to have in order to forget that each of the spins that led up to our current spin were actually part of the series?
We simply need to face actual facts and reality:
Successive results of 1/37 are limited and have practical expectations.
I don't need any theory whatsoever to prove my point:
(http://i68.tinypic.com/29w23i1.jpg)
This is a single number bet multiple successive times with each hit recorded in the spot designated (by spin number) as an aggregate total. We see that 11,743 times our number hit on the 1st spin, 11383 times on the second spin, etc.
So the fact that the lower in this list we go, the lower the number of results we receive has nothing to do with the preceding results and the collective number of misses, its just a random phenomenon that repeats itself over and over without fail and has no significance? This is why I refuse to believe fantasy/theory based arguments; I am not willing to disbelieve my own eyes.
I mean if the theory/fantasy arguments were completely correct, I wouldn't bother playing roulette. Reasonable fantasy/theory guys will just break down and say "ya but so what you can't use this to make a profit" which is now a totally acceptable argument (even if I think it is wrong) but alas, an entirely different one.
I think we can all agree here that this whole argument, both sides, is simply stupid. I personally think the whole issue was designed and fostered by casinos to discourage system play (i.e. to encourage play for the "thrill of gambling" with a certain admixture of hopeless abandon), but w/e...

Bayes,
I've scoured the net for this, and I can't find what I'm looking for ( I guess I'm not using the right keywords).
What I'm searching for is determining the probabilities of a particular sequence repeating in it's exact order of occurrence.
Example: Last 4 numbers results in order ....
17
12
36
4
What is the probability of those numbers repeating in the exact same order over the next 4 spins? (You can use 2 or 3 numbers if the calculation gets astronomical)... I'm assuming the odds are going to be fairly hefty.
I'm interested in the equation to calculate this.
Regards......Sheridan

Hi Sheridan,
This is very simple; you just multiply the probabilities of the single outcomes to get the probability that the sequence will repeat exactly.
For numbers, the probability of any given number is 1/37, so for your sequence of 4 the probability would be (1/37)^{4}
In general terms, the probability of any sequence is P^{n}, where P is the probability of success in a single trial, trials are independent, and n is the number of trials (length of sequence).

Thank you sir. I didn't quite know how to "phrase" what I was looking for....and google sent me in all different ways (even to some numerology and occult sites...LOL).
BTW.....I just glanced at your new article, it looks fascinating...will give it a good reading in a while!
Have a good day my friend..... Sheridan

For a sector, four standard deviations isn't all that significant unless you've pre selected the area as being the best area and have found it to be that strong in an "out of sample test". If you've just tracked the sample and have found that the best area is running at four standard deviations in the initial sample, then the true standard deviation of the section is actually a little closer to 2.5 ish or 2.8.
If the section is indeed biased, then the standard deviation will move a little up and down, but the general trend will be for the standard deviation to grow larger and larger as the spin sample grows.
Best of luck!

Real,
Is it more common for a section or specific numbers to be biased in today's wheels?

This is a good read if RNG testing and randomness interesting. But the think I noticed there that they have that ideal randomness that the RNG must obey to be valid. All kinds of test and it's quite eye opening. For me this means that the randomness of RNGs are limited and not truly random.
https://www.random.org/analysis/ (https://www.random.org/analysis/)

Biobrick
To me "random" means only " In no particular order " so the random.org numbers are suitable for analysis.