SIGforum
Random Thought on a bored Sunday - Calculating Probability

This topic can be found at:
https://sigforum.com/eve/forums/a/tpc/f/320601935/m/8170005384

July 18, 2021, 10:29 AM
PHPaul
Random Thought on a bored Sunday - Calculating Probability
Channeling my inner Bendable here...

Lets say you have a 6 digit number.

How does one calculate the probability that any number will repeat in that 6 digit number, ie "1233.45" vs. "1234.56"




Be careful when following the masses. Sometimes the M is silent.
July 18, 2021, 10:36 AM
gpbst3
Is it as simple as 1/10 chance? Every digit has an equal chance of repeating.

Similar to the pick 4 lottery. The number 8 has the same chance every time the set of numbers is drawn.


July 18, 2021, 10:47 AM
phydough
42

The answer to the Ultimate Question of Life, the Universe, and Everything.
July 18, 2021, 10:48 AM
tatortodd
Each number has a 1 in 10 probability so for two in a row it's 1 in 100.



Ego is the anesthesia that deadens the pain of stupidity

DISCLAIMER: These are the author's own personal views and do not represent the views of the author's employer.
July 18, 2021, 11:12 AM
Flash-LB
quote:
Originally posted by tatortodd:
Each number has a 1 in 10 probability so for two in a row it's 1 in 100.


Yep
July 18, 2021, 11:20 AM
.38supersig
Depends on how well you factor decimalization and define each term.

If the same number is factored in as a placeholder, it can't.

If the same digit is factored, it would be one in 10.

The odds of 100 would only apply if the prespecified number was factored

The definition of digit and number is not interchangeable.



July 18, 2021, 11:26 AM
Graniteguy
I have a special set of 6-sided dice that always come up 3,4. Big Grin
July 18, 2021, 11:30 AM
sigfreund
quote:
Originally posted by .38supersig:
The odds of 100 would only apply if the prespecified number was factored


Yes.
Once a number has been selected by whatever means, the probability of the next number being the same is 1/10—just as it would be if no number had been selected before.




6.0/94.0

I can tell at sight a Chassepot rifle from a javelin.
July 18, 2021, 11:35 AM
sdy
I would look at it this way

The prob that the second number is not the same as the first is .9

prob third is not same as second is .9

prob fourth is not same as third is .9

prob fifth is not same as fourth is .9

prob sixth is not same as fifth is .9

So the prob that no two consecutive numbers of the group of 6 are the same is .9^5 = .59

then the prob that there is at least one repeating pair is .41
July 18, 2021, 11:40 AM
OKCGene
Better yet, what are the odds of 2 people having the same birthday in a random group of 23 people?

Of 30 people?

Of 70 people?

Disregard Leap Year, for simplicity use 365 days per year.

(Same birthday defined as Month & Day, not Month Day and Year)

No Googling!

This is fun, a great conversation starter, and wins bets. IIRC Amarillo Slim won a lot of bets on this.
.
July 18, 2021, 11:43 AM
Ivan
Don't forget Benford's law:

"Benford’s Law, also known as the Law of First Digits or the Phenomenon of Significant Digits, is the finding that the first digits (or numerals to be exact) of the numbers found in series of records of the most varied sources do not display a uniform distribution, but rather are arranged in such a way that the digit “1” is the most frequent, followed by “2”, “3”, and so in a successively decreasing manner down to “9”."
July 18, 2021, 01:01 PM
V-Tail
The odds are fifty-fifty. Either it will happen, or it will not happen. One or the other.



הרחפת שלי מלאה בצלופחים
July 18, 2021, 01:16 PM
.38supersig
So then, If there are apples on a tree and none on the ground.

A strong gust of wind blows, then there are no apples on the tree and there are no apples on the ground.

Nothing has eaten or ran off with any apples. How is this possible?



July 18, 2021, 01:43 PM
WaterburyBob
I'm no math or probability expert, but is the answer 1 in 6 factorial (1 in 720) ?



"If Gun Control worked, Chicago would look like Mayberry, not Thunderdome" - Cam Edwards
July 18, 2021, 01:46 PM
sigmonkey
It's Yatzy.




"the meaning of life, is to give life meaning" Ani Yehudi אני יהודי Le'olam lo shuv לעולם לא שוב!
July 18, 2021, 02:38 PM
sdy
quote:
then the prob that there is at least one repeating pair is .41




You can easily prove it.

Go to Excel and use RAND to generate a slew of random numbers.

I generated 64 sets of 6 random digits (takes less than a minute)


38/64 = .594 had no repeating pair

26/64 = .406 had at least one repeating pair
July 18, 2021, 02:46 PM
pillboxesghost
quote:
Originally posted by .38supersig:
So then, If there are apples on a tree and none on the ground.

A strong gust of wind blows, then there are no apples on the tree and there are no apples on the ground.

Nothing has eaten or ran off with any apples. How is this possible?


Easy -- this is a riddle in the singular and plural!


------------------------------------------------------------
"I have resolved to fight as long as Marse Robert has a corporal's guard, or until he says give up. He is the man I shall follow or die in the attempt."

Feb. 27, 1865 Letter by Sgt. Henry P. Fortson 'B' Co. 31st GA Vol. Inf.
July 18, 2021, 03:37 PM
NavyAgShooter
It's a Bayesian analysis problem, coming down to a yes/no probability of the next number, like saying yes/no for what the next digit will be. Each number would be a 10% probability, with a 90% probability that it won't be that number. Similar to determining the odds on coin flips or winning the lottery, maybe a bit more difficult with ten digits involved. The CIA uses this methodology for predictive analysis, except they get to do it on a Cray super computer instead of a legal pad.