Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I only need held with (D)- (ii) You play a game with your friend everyday that i

ID: 3177861 • Letter: I

Question

I only need held with (D)- (ii)

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

(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 flip were 0.8 (i.e. on average 8/10 flips 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

Answer to only to (D) - (ii) is needed:

What is the probability of getting 3 heads in a row in total trials of 10:

Binomial distribution:

n = number of trials = 10

p = probability of getting head in a single trial = 1/2

q = probability of failure = 1/2

Since we are interested in 3 in a row, consider 3 heads in a row an one one element.

Thus, in cease we budle 3 hears as 1 trial, now total number of trials = 8

So, probability of getting that budle of 3 heads among 8 trials = 1/28

Now, the 3 heads in that budle can be permuted in 23 ways, thus probability of a head in these 3 trials = 1/23

Thus,the required probability = 1/28 X 1/23 = 1/211 = 0.0004882