Question 2 Suppose you have a fair coin (a coin is considered fair if there is...
Suppose you flip a fair coin repeatedly until you see a Heads followed by another Heads or a Tails followed by another Tails (i.e. until you see the pattern HH or TT). (a)What is the expected number of flips you need to make? (b)Suppose you repeat the above with a weighted coin that has probability of landing Heads equal to p.Show that the expected number of flips you need is 2+p(1−p)/1−p(1−p)
Q2 (15) Suppose we suspect a coin is not fair – we suspect that it has larger chance of getting tails than heads, so we want to conduct a hypothesis testing to investigate this question. a:(4 pts) Let p be the chance of getting heads, write down the alternative hypothesis H, and the null hypothesis Ho in terms of p. b: (5 pts) In order to investigate this question, we flip the coin 100 times and record the observation. Suppose...
You suspect that a coin is biased such that the probability heads is flipped (instead of tails) is 52%. You flip the coin 51 times and observe that 31 of the coin flips are heads. The random variable you are investigating is defined as X = 1 for heads and X = 0 for tails, and you wish to perform a "Z-score" test to test the null hypothesis that H0: u = 0.52 vs. the alternative hypothesis Ha: u > 0.52....
Suppose we suspect a coin is not fair we suspect that it has larger chance of getting tails than heads, so we want to conduct a hypothesis testing to investigate this question. a:(4 pts) Let p be the chance of getting heads, write down the alternative hypothesis Ha and the null hypothesis Ho in terms of p. b: (5 pts) In order to investigate this question, we flip the coin 100 times and record the observation. Suppose we use T...
For this question, you will flip fair coin to take some samples and analyze them. First, take any fair coin and flip it 12 times. Count the number of heads out of the 12 flips. This is your first sample. Do this 4 more times and count the number of heads out of the 12 flips in each sample. Thus, you should have 5 samples of 12 flips each. The important number is the number of heads in each sample...
Q.1 (25') Pony is playing coin tossing game with Yanny. They found the coin have 4 heads and 6 tails in 10 flips. Let p be the probability for obtaining a head, based on the first 10 flips a) Can we conclude it is a biased or fair coin base on the result above? b) Plot the Bernoulli's PMF What is the probability for obtaining 6 heads in 10 flips using the same coin? d) What is the probability for...
1. Multiple choice. Circle all the correct answers a) You flip a coin 100,000 times and record the outcome in a Xi 1 if the toss is "Heads" and 0 if its "Tails. The Law of Large Numbers says that: i. ii. It is impossible for the first n flips to all be "Heads" if n is large. With high probability, the share of coin flips that are "Heads" will approximate 50%. The sample mean of X is always 0.5...
Please show ALL STEPS. NEAT HANDWRITING ONLY PLEASE Thank You Suppose we flip a fair coin n times. We say that the sequence is balanced when there are equal number of heads and tails. For example, if we flip the coin 10 times and the results areHTHHTHTTHH, then this sequence balanced 2 times, i.e. at position 2 and position 8 (after the second and eighth flips). In terms of n, what is the expected number of times the sequence is...
Coin Flips: If you flip a fair coin 5 times, what is the probability of each of the following? (please round all answers to 4 decimal places) a) getting all tails? b) getting all heads?
Exercise 1.16. We flip a fair coin five times. For every heads you pay me $1 and for every tails I pay you $1. Let X denote my net winnings at the end of five flips. Find the possible values and the probability mass function of X.