I say the possibility of getting heads 10 times in a row is very small and therefore their is a chance of bias in the coin. Is their a way of working out the bias?
Quote: Catprogbut you do not know if it is a fair coin or if it is a biased coin.
May I rephrase the question this way: One coin in a 1,000 has a heads on both sides. You toss a random coin 10 times and it is heads every time. What is the probability you were flipping a two-headed coin?
Quote: EvenBob1 in 1000.
Nope.
Edit: about 1 in 4?
Quote: WizardMay I rephrase the question this way: One coin in a 1,000 has a heads on both sides. You toss a random coin 10 times and it is heads every time. What is the probability you were flipping a two-headed coin?
About 50%.
Quote: CatprogI flip a coin 10 times and get heads 10 times.
I say the possibility of getting heads 10 times in a row is very small and therefore their is a chance of bias in the coin. Is their a way of working out the bias?
There is no bias and 10 in a row is not a rare thing ...
You can find 3 std being very common running simulation and explore the law of series - nothing is due to happen - still there is no bias.
Just common natural fluctation.
Off-Topic >>>
If you find 10 in a row intressting you can read about "the law of series" but note its not a law - it is only observations.
If you like even money i would just say there exist no math way to explore does with any kind of andvantage.
And random against random does not work - just lame.
But if you want to know how to get imbalance and balance measuring the distribution of coin flips - then you should read Marigny - there is no other deeper and better work that has been made in world history about the subject.
But then again you will probably only find my writings with simulations softwares using googel :-)
How do they say it - been there - done that - ain't working LOL
And if you see 10 in a row and you life depends on it - i would follow the 10 in a row and not play against them - even if there still is 50/50.
Quote: WizardMay I rephrase the question this way: One coin in a 1,000 has a heads on both sides. You toss a random coin 10 times and it is heads every time. What is the probability you were flipping a two-headed coin?
Revealing my own ineptitude, I can see the probability of it happening with a fair coin being one in 1024, and 100% with a two headed coin, but I can't take that information and answer your more interesting question. Perhaps I should take my own advice and go to the math goodies link, but as Catprog can no doubt tell you, that's probably not going to happen [g]
In the Wizard's example, 1/1000 times you'll pick up that dang double header. The other 999 times, you've got a 1/1024 chance of 10 heads in a row.
Therefore, the chance that, in 1000 trails of picking a random coin and flipping 10 times, of seeing 10 heads would be: .001000 + .975585 = .976585
Therefore, the chance of it happening once is .000976 or 1 in 1023.975
In reality, since there are far fewer than 1 in 1000 double headed coins in circulation, the chance of picking a coin and getting 10 heads in row is damn near 1 in 1024. So I kinda think my result is correct.
I make in about in 1 in 506.
1/1000 x1.... Picking the biased coin.
999/1000 x 1/1024.... Picking a fair coin.
Sum : 0.0019755 = 1 in 506
Dj, I think in your sums you set the average number of occurrences to get the biased coin in 1000 trials to 0.001, not 1.
Quote: thecesspit...I make in about in 1 in 506....
What a coincidence! I get 0.506, which is close to waltomeal's answer.
Quote: ChesterDogWhat a coincidence! I get 0.506, which is close to waltomeal's answer.
That is correct. Here is the pertinent formula:
Pr(two headed coin given 10 heads observed) = prob(two headed coin and 10 heads observed)/pr(10 heads observed) =
(0.001*1)/(0.001*1 + .999*(1/2)^10) = 0.506178942.
Quote: ChesterDogWhat a coincidence! I get 0.506, which is close to waltomeal's answer.
Ditto: 0.506178942
Edit: :) I type really slow.
Quote: WizardMay I rephrase the question this way: One coin in a 1,000 has a heads on both sides. You toss a random coin 10 times and it is heads every time. What is the probability you were flipping a two-headed coin?
.001(1) / [.001(1) + .999(.5^10)] = .5062
edit: you guys beat me.
Quote: ChesterDogWhat a coincidence! I get 0.506, which is close to waltomeal's answer.
I answered the wrong question, I think. What's the probability of selecting a coin and flipping ten heads, given 1000 coins, one of which is double headed... Eg what's the probability of the event occurring, not what was the cause of the event.
Quote: thecesspitI answered the wrong question, I think. What's the probability of selecting a coin and flipping ten heads, given 1000 coins, one of which is double headed... Eg what's the probability of the event occurring, not what was the cause of the event.
0.001*1 + 0.999*(1/2)^10 = 0.0019756.
Quote: odiousgambitCatprog, I think you are 'getting the treatment' here because your question reveals a little naivety.
Ok then. new question.
I have x fair coins and y coins which are doubled headed.
I pick a coin and flip it 30 times and get heads all the time.
Given that 30 heads in a row is 1 in 1,073,741,824 on a fair coin what are the chances that I picked a doubled headed coin.
Quote: CatprogOk then. new question.
I have x fair coins and y coins which are doubled headed.
I pick a coin and flip it 30 times and get heads all the time.
Given that 30 heads in a row is 1 in 1,073,741,824 on a fair coin what are the chances that I picked a doubled headed coin.
Pr(two headed coin given 30 heads observed) = prob(two headed coin and 30 heads observed)/pr(30 heads observed) =
((y/(x+y)*1)/((y/(x+y)*1)*1 + (x/(x+y)*1)*(1/2)^30)
Quote: Wizard0.001*1 + 0.999*(1/2)^10 = 0.0019756.
Which is the 1 in 506 answer I gave :)
Quote: thecesspitWhich is the 1 in 506 answer I gave :)
Yes but it wasn't asked.
Quote: Jufo81Yes but it wasn't asked.
Yes, I acknowledged that..... And the wizard then calculated the same answer to the question -I- thought had been asked...