Register to reply 
Odds for flipping 100 coins 
Share this thread: 
#1
Jan1307, 12:44 AM

P: 121

Suppose we consider flipping 100 quarters. The odds of all heads is 1 out of 2^100, which is about 10^30.
How can we explain it, then, if this happens in real life? Secondly, if we flip 99 coins and get all heads, what will be the odds of getting one more head with one more coin toss? I know the odds are supposed to be 50%50%, but it's a very unlikely streak of luck to occur, so perhaps...somehow...there's an explanation for why it would be unlikely to get one more head on the next toss. 


#2
Jan1307, 04:19 AM

HW Helper
P: 1,808

If you are flipping the coin and do it from the same height, imparting the same velocity and angle, etc, then it will always have the same result. It depends on how random your coinflipping is. If you get 99 heads, chances are your technique is biased in favour of heads.



#3
Jan1307, 04:45 AM

P: 1,075




#4
Jan1307, 04:48 AM

Sci Advisor
HW Helper
P: 9,396

Odds for flipping 100 coins
The chances of getting *any* sequence of heads and tails is 1/2^100. Why aren't you sceptical when any of those happen? Because you're thinkinkg about what you want to be intuitively true, perhaps.
Feynmann supposedly tried to make his students think of probability properly when he taught it by walking in to the lecture hall and saying: I say license plate XYZ123 on the way into work today. What are the chances of me seeing that particuilar combination of letters this morning! You should also try to distinguish between theoretical models and real life. If you do get a real life situation with 1000 heads in a row, then you might want to consider rejecting the theoretical model of a fair coin toss for the situation. There are plenty of tests you can do on a hypothesis v. data to see if the hypothesis fits the known data. 


#5
Jan1307, 10:05 AM

P: 121

On the other hand, you are right that the odds of rolling a one on a die is 1/6, but so are the odds for every other number. They are all equal in their likelihood. So the same goes for 100 coins? I simply wanted to bring up some sort of issue with an unlikely event. If I'm not mistaken, Brian Greene wrote something about 100 coin tosses in The Fabric of the Cosmos (I read it at Barnes & Noble so I don't remember and can't check it) when discussing probability and entropy. I am sure he wrote about reordering a very long novel in a random order to illustrate an entropy principle: that entropy increases because disorganized states are more likely than organized states, as more disorganized states potentially exist as possible outcomes than organized states. 


#6
Jan1307, 11:35 AM

Sci Advisor
HW Helper
P: 2,481

"100 heads" may be seen as an extreme event, because its observance maximizes the likelihood of a biased "coin" in a Bayesian sense. If two competing priors are "random coin" and "deterministic coin" (e.g. one with two heads), and if all outcomes are heads, then the probability of the deterministic prior conditional on the observed outcomes is (I believe) maximized (trivially in the case of double heads). ("Coin" is a placeholder term for "physical binomial random device.")
The max. entropy principle is apparent from the permutations in which 100 tosses of a random coin may appear: P(100 heads) = 1/2^100 which is very near zero, but P(50 heads) is a much larger number [= C(100,50)/2^100 = 0.08 approx.] because there are many combinations of 50 heads. One may think of this as a "degrees of freedom" problem. Nature has one degree of freedom when producing 100 heads (a highly organized state); but it has many more [C(100,50) = 10^29] degrees of freedom when producing 50 heads (a most disorganized state). All this assumes that independence and randomness are "natural." 100 heads is not unlikely at all if the prior is "nature is nonrandom" (or the trials are dependent  e.g. correlated). However, a nonrandom nature seems at odds (pardon the pun) with what we observe experimentally. OTOH, to be fair to the alternative hypothesis (of nonrandomness), a thorny problem for the 2nd Law of Thermodynamics is the innocent question "if disorganized states are so much more likely to be observed, why did the universe not begin in such a state?" More or less all of the answers (that I have seen) reduce to the anthropomorphic principle. (Unless this is interpreted as a "trick question" and so not answered.) 


#7
Jan1307, 11:19 PM

P: 121

Thank you for an interesting reply. I was indeed referring to coins with a head and a tail, not twoheaded coins. Hence the odds of the 100 heads outcome outcome is much smaller than the 8% likelihood of 50 heads and 50 tails  so much so that one wonders how such an outcome could actually occur in ordinary experience.
On the other hand, every coin of the 100 has a side with a head, so anything's possible, right? I suppose one might suspect cheating with such an outcome, but I don't know if we want to digress into that subsection of the topic of coin tossing. 


#8
Jan2307, 12:15 AM

P: 240




#9
Jan2307, 12:31 AM

Sci Advisor
HW Helper
P: 9,396

Getting 100 heads in a row does not mean we *must* reject the hypothesis of an unbiased coin. And you cannot *prove* that you *must*.
If you wish to do a hypothesis test, then do so. But don't make nonsensical alternative hypotheses like 'H_0: the coin is fair. H_1 I've got more chance of throwing this letter through a small hole.' 


#10
Jan2307, 05:27 AM

P: 240

Well,the word 'must' may or may not be used depending on the sense of using the word. One may test the null hyp H:p=0.5 ag: K:p<>0.5 (p= prob of getting head in a single toss) with sizes of the critical region 0.1 or 0.05 or 0.5 or 11/2^100 or 1/2^100 as he pleases.... but last three of them do not certainly make sense to a statistican. The choice of the size of the critical region is subjective. Different sizes may give different conclusions. While performing a test of hypothesis one 'must' commit two errors. So, can we say that the method of hypothesis testing is an erroneous one? Even, in general we cannot minimize the two errors simultaneously. But whatever the choice of critical region, once it is decided, we infer on the basis of it using the sample at disposal. What we infer: something like H is true (accepted) ag. K or H is false (not accepted) ag.K at the given level. I find little difference between the two statements "H is true" and "H must be true" while making statistical inference. In the said example of coin flipping, the hypothesis H:p=0.5 ag: K:p<>0.5 will be rejected for any sensible choice of the critical region using the given sample of 99 heads out of 100 tosses........that is what I ment by saying the the coin 'must' be biased. P.S. 2/ Can you show that the size of the critical region used to accept the hypothesis p=0.5 against p<>0.5 when the sample is 100 heads out of 100 tosses have ever been used in any practical application of hypothesis testing? Or, for that matter that size of the critical region is theoritically used where the purpose of hypothesis testing prevails? 


#11
Jan2307, 06:44 AM

Sci Advisor
HW Helper
P: 9,396

'Must' without qualification implies no room for any other possibility.



#12
Jan2407, 11:32 AM

Sci Advisor
HW Helper
P: 2,481




#13
Jan2507, 11:01 AM

P: 240

I am interested to learn the method where one gets 100 heads out of 100 tosses, and infer by a statistical inference procedure that the coin is unbiased when the factors of subjective choice in the procedure are impartially or unbiasedly chosen? 


#14
Jan2507, 11:20 AM

P: 240




#15
Jan2507, 12:15 PM

Mentor
P: 15,170

By the same logic, A Bayesianist could insist that a coin will always land on edge despite evidence to the contrary if his prior "belief" (as embodied in the prior estimate and prior covariance) is that the coin always lands on edge. Bayesianists avoid this problem by starting with a nonsingular covariance matrix and then ensuring the covariance matrix doesn't collapse upon update (e.g., adding process noise). 


#16
Jan2507, 01:02 PM

Sci Advisor
HW Helper
P: 2,481

What if the data show 99 heads out of 100, not 100/100? (Which is what I was assuming, following ssd.) 


#17
Jan2507, 02:13 PM

Sci Advisor
HW Helper
P: 9,396

post 8. read it. you wrote it. 


Register to reply 
Related Discussions  
A question in flipping a number..  Programming & Computer Science  5  
Probabilities of Unfair Coin Flipping  Calculus & Beyond Homework  1  
Flipping the M  Fun, Photos & Games  2  
Limits, flipping approaching direction  General Math  1  
Coin flipping  Set Theory, Logic, Probability, Statistics  6 