Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: December 21, 2024, 2:04 am

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Probability question: names in hats
#61
RE: Probability question: names in hats
OK, interesting.

I have coded the problem.

I am getting the following results, over a series of 5000 games:

3 players: around 25%
4 players: around 14%
10 players: around 8%

This would tentatively place Aractus's solution as wrong, although I haven't looked through it properly yet.

The first two there line up with my calculations: 1/4 and 5/36 for 3 and 4 players respectively

Here is the code, in microsoft small basic:


Feel free to send me a private message.
Please visit my website here! It's got lots of information about atheism/theism and support for new atheists.

Index of useful threads and discussions
Index of my best videos
Quickstart guide to the forum
Reply
#62
RE: Probability question: names in hats
I'm in the lead so far with my 1 in 20 chances. (5%)

Where's my frozen chook or a kettle or something that I won?

(Doesn't say much for you bozos considering my IQ is Sagittarius)
No God, No fear.
Know God, Know fear.
Reply
#63
RE: Probability question: names in hats
You win a hat with a load of bits of paper in it Tongue

I'm a bit surprised it's around 8%, I would have guessed lower I think. Of course my experiment isn't conclusive, but it was around that number for many iterations of 5000 / 10,000 games each.
Feel free to send me a private message.
Please visit my website here! It's got lots of information about atheism/theism and support for new atheists.

Index of useful threads and discussions
Index of my best videos
Quickstart guide to the forum
Reply
#64
RE: Probability question: names in hats
This can be solved through brute force, in theory at least, using a tree diagram. It's just that it is going to be monstrously big.

The first choice produces 8 distinct possibilities that keep the game going, each of which affect further probabilities in different ways. Each of those will lead to 7 or 8 more possibilities, then each of those leads to 6 or 7...

I think key to solving this is to try and find a formula for each combination, to see what the overlap is between different combinations, and then find a way of counting them all into useful groups.

The guy who told me this claimed he and his mates had solved it, but I don't know if they got it right or not. They didn't tell me the answer.
Feel free to send me a private message.
Please visit my website here! It's got lots of information about atheism/theism and support for new atheists.

Index of useful threads and discussions
Index of my best videos
Quickstart guide to the forum
Reply
#65
RE: Probability question: names in hats
Can't we just say it's a miracle and then we wouldn't have to think about it anymore?
At the age of five, Skagra decided emphatically that God did not exist.  This revelation tends to make most people in the universe who have it react in one of two ways - with relief or with despair.  Only Skagra responded to it by thinking, 'Wait a second.  That means there's a situation vacant.'
Reply
#66
RE: Probability question: names in hats
That is the correct answer.
Feel free to send me a private message.
Please visit my website here! It's got lots of information about atheism/theism and support for new atheists.

Index of useful threads and discussions
Index of my best videos
Quickstart guide to the forum
Reply
#67
RE: Probability question: names in hats
Oh do you suppose this is one of those supernatural thingies? Hmmm, I wonder if Craig has a proof of God based on it.
Reply
#68
RE: Probability question: names in hats
Well, we don't have a full solution yet, so yeah.

That's what supernatural means, right?

It was fun doing a bit of coding. I haven't done any for a while.
Feel free to send me a private message.
Please visit my website here! It's got lots of information about atheism/theism and support for new atheists.

Index of useful threads and discussions
Index of my best videos
Quickstart guide to the forum
Reply
#69
RE: Probability question: names in hats
I've had a couple of goes at this without much luck so far.

I'd go about it by saying that the probability should be 1 minus the sum of the probabilities of all branches where a previous player hits player 10's name. Is that correct?

As I understand it, all branches of the tree should add up to 1 but only if they are mutually exclusive... if there's no crossover between events. So the problem I'm finding is how to define the branches of a player choosing. In the simple case, player 1 has a 1/10 chance of hitting player 10's name. But I can't figure out how to phrase this additional choice he has if he hits his own name, or if it even makes any difference.

There's a 1/10 chance that he will hit his own name and a 9/10 chance that he will not. If he does not, he does not choose again, but it's implicit in that he did not that the name chosen is not his own. Conversely, if he gets to choose again it's only out of the other 9 names that are not his own, but in either case the net effect after the choice is that player 1's name stays in the pot and another name is removed. So I wonder if it even matters for this particular question - the probability of a player hitting player 10's name - about this second choice which appears to collapse down to the same thing.

So rob, how would you define the first choice... the probability of player 1 hitting player 10's name? Would you say a simple 1/10 or something like (1/10 * 1/9) + (9/10 * 1/9 or 1/10... I'm not sure what that's supposed to be given that I'm trying to add an implicit choice here that isn't really there just to make sure that the two branches do not overlap). It's very confusing but a fun puzzle  Smile
Reply
#70
RE: Probability question: names in hats
Here's the probability tree for 4 people:

[Image: TWgubIs.png]

So for Sn where n equals the probability that person n makes winning impossible for person 4, S1 + S2 + 2S3 = 1. S3 gives you both the probability of winning, and the probability that person 3 creates a loosing situation for person 4.

So:

S1 + S2 + 2S3 = 1
2S3 = 1 - S1 - S2

S3 = ½(1 - S1 - S2)


Okay, and here are the sums themselves.

S1 = ¼(1+1/3)
S2 = ¼(1/3)[3 + 3(1/3) + (1/3)½ + ½]
S3 = ¼(1/3)½[2 + 2(1/3) + (1/3)½ + ½]


Now do note that S1 only concerns itself with 4 being picked, whereas S2 requires that both 4 is not picked and 3 is not available to be picked next. So we could instead come up with a formula to compensates for this, we'll call it S2b that only cares if 4 is picked. It would look like this (I'll compensate for S3 while I'm at it):

S1 = ¼(1+1/3)
S2b = ¼(1/3)[2 + 2(1/3) + (1/3)½ + ½]
S3b = ¼(1/3)[2½ + 2(1/3)½ + (1/3)½2 + ½2 + (1/3)]
For Religion & Health see:[/b][/size] Williams & Sternthal. (2007). Spirituality, religion and health: Evidence and research directions. Med. J. Aust., 186(10), S47-S50. -LINK

The WIN/Gallup End of Year Survey 2013 found the US was perceived to be the greatest threat to world peace by a huge margin, with 24% of respondents fearful of the US followed by: 8% for Pakistan, and 6% for China. This was followed by 5% each for: Afghanistan, Iran, Israel, North Korea. -LINK


"That's disgusting. There were clean athletes out there that have had their whole careers ruined by people like Lance Armstrong who just bended thoughts to fit their circumstances. He didn't look up cheating because he wanted to stop, he wanted to justify what he was doing and to keep that continuing on." - Nicole Cooke
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  What's the probability that 3 out of 23 people will share the same birthday? FlatAssembler 28 4624 February 16, 2022 at 12:15 am
Last Post: Paleophyte
  Frog probability Aractus 17 4379 April 22, 2016 at 9:16 pm
Last Post: Aractus
  The role of probability in solving the Monty Hall problem Excited Penguin 209 19679 March 15, 2016 at 4:30 am
Last Post: robvalue
  The probability of the accuracy of probability itself? Etc. Edwardo Piet 15 6912 February 9, 2009 at 1:54 pm
Last Post: chatpilot
  Evidence and probability go hand in hand? Edwardo Piet 13 6115 November 7, 2008 at 9:46 am
Last Post: Darwinian
  Probability and Evidence. Edwardo Piet 9 6181 October 15, 2008 at 2:15 pm
Last Post: josef rosenkranz



Users browsing this thread: 1 Guest(s)