I only need help with question (i) & (ii) at the bottom: You play a game with yo
ID: 3177893 • Letter: I
Question
I only need help with question (i) & (ii) at the bottom:
You play a game with your friend everyday that involves flipping a coin 10 times. Your friend always provides the coin and, you begin to suspect that they are cheating by using weighted coins. In order to test this, you decide to record the number of heads in these 10 flips each day. Some days the coin your friend brings appears to favor heads and other days tails, but your friend always seems to know which it will be that day
(a) What is the expected number of heads when flipping a fair coin 10 times?
(b) Suppose one day you get 2 heads in your 10 flips. Assuming the coin is fair, what is the probability of getting a result so far or farther from the expected value Note: If you're not sure what I mean by "so far or farther refer back to the explanation in Quiz#1
(c) Hmmm... this probability is low but not crazy low and you've lost friends be over this whole fair coin thing. You don't think it wise to accuse your friend anything quite yet. Assuming the coin is fair, what is the probability getting a result as far or farther from the expected number of heads (as 2 is) two days in a row Note: To be clear, consider conducting the experiment (of flipping the coin 10 times) twice Let A1 be the event that the first time you flip the coin 10 times you get a result as far or farther from the expected number of heads as 2 is Let A2 be the event that the second time you flip the coin 10 times you get a result far or farther from the expected number of heads as 2 is You computed P(AI) question (1b) above. It should be clear that A2 has the same probability as A1. I'm now asking for the probability PO A1 and A2)
(d) OK! Well, so if you do get as far or farther from the expected value (as 2 is) twice, ou'd feel much more confident accusing your friend of cheating! Now you're curious ability of getting a result as far or farther Assuming the coin is fair, what's the pro from the expected number of heads (as 2 is) three times in a row?
(e) Suppose you repeated this experiment (of flipping the coin 10 times) not twice, not three times, but 20 times! What is the probability of getting a result as far or farther away from the expected value (as 2 is) at least 3 times (out of your 20 experiments) Hint You know the probability of getting such a result in any single (10 flip) experiment it's the answer to question (lb)
(f) Suppose you steal one of your friends coins. Devise a specific experiment that you could use to test your hypothesis that the coin is unfairly weighted. Specifically, pick some number of times to flip the coin, n, and some criteria for analyzing the results such that there is less than a 0.1% chance of your test leading you to incorrectly accuse your friend of using a weighted coin.
i. Explain your test.
ii. If the coin were in fact weighted such that the expected number of heads per ip were 0.8 (i.e. on average 8/10 ips would result in a head), what would be the probability that your test would lead you to correctly conclude that your friend is using a weighted coin?
Explanation / Answer
(a) the expected number of heads when flipping a fair coin 10 times = 10*0.5 = 5
(b) P ( X<=2; 10; 0.5) = 10 C0 (0.5)10 + 10 C1 (0.5)10 + 10 C2 (0.5)10 = 0.05468
(c) Here the probability is only around 5.5 % but it is not crazy low as it is not in significance level 0.05.
so in this part, we have to calculate the probability of getting 2 or less heads in 2 days in a row
P(A1 and A2) = P(A1) * P(A2) as both events are independent
P(A1 and A2) = 0.054682 = 0.003 or only 0.3 % probability.
(d) No, still i don't feel accusing my friend of cheating.
probability from the expected number of heads (as 2 is) three times in a row = 0.054683 = 0.0001
(e) Here we have to calculate the probability of getting 2 or lesser heads, 3 times in 20 attempts.
Pr = 20 C3 * ( 0.05468)3 * ( 0.94532)17 = 0.0716
(f)