Question

In: Math

You flip a coin, if it is heads you will have a good day and if...

You flip a coin, if it is heads you will have a good day and if it is tails you will have a bad day. There are 30 days in total.

(a) What is the expectation and variance of the number of times you will have a good day throughout this 30 day stretch?

(b) What is the probability that every day will be bad for all of the 30 days?

Solutions

Expert Solution

Solution:

Given: A coin is flipped everyday , throughout 30 days.

If it is heads you will have a good day and if it is tails you will have a bad day.

Let X = Number of good days out of 30 days

Assume coin is fair , then p = probability of good day = 0.5 and q = probability of bad day = 0.5

n = Total number of days = 30

Thus X = Number of good days follows a Binomial distribution with parameters n = 30 and p = 0.5

Part a) What is the expectation and variance of the number of times you will have a good day throughout this 30 day stretch?

For Binomial distribution , the expectation or expected value of X = number of times you will have a good day is given by:

and variance of the number of times you will have a good day:

Part b)

What is the probability that every day will be bad for all of the 30 days?

It says all 30 days would be Bad, then X = Number of Good Days = 0

That is we have to find:

P(X = 0 ) = ........?

Using Binomial probability :

where

Thus

or

or rounded to 4 decimal places.

Thus there is approximately 0 probability that every day will be bad for all of the 30 days.


Related Solutions

Every day you flip a fair coin four times and if it is heads all four...
Every day you flip a fair coin four times and if it is heads all four times, you give a dollar to charity. In a year with 365 days, what is your expected annual donation to charity and what is the variance?
If you flip a fair coin, the probability that the result is heads will be 0.50....
If you flip a fair coin, the probability that the result is heads will be 0.50. A given coin is tested for fairness using a hypothesis test of H0:p=0.50 versus HA:p≠0.50. The given coin is flipped 180 times, and comes up heads 110 times. Assume this can be treated as a Simple Random Sample. The test statistic for this sample z and the p value
) Suppose you flip a coin. If it comes up heads, you win $20; if it...
) Suppose you flip a coin. If it comes up heads, you win $20; if it comes up tails, you lose $20. a) Compute the expected value and variance of this lottery. b) Now consider a modification of this lottery: You flip two fair coins. If both coins come up heads, you win $20. If one coin comes up heads and the other comes up tails, you neither win nor lose – your payoff is $0. If both coins come...
Suppose you flip a biased coin (that lands heads with probability p) until 2 heads appear....
Suppose you flip a biased coin (that lands heads with probability p) until 2 heads appear. Let X be the number of flips needed for this two happen. Let Y be the number of flips needed for the first head to appear. Find a general expression for the condition probability mass function pY |X(i|n) when n ≥ 2. Interpret your answer, i.e., if the number of flips required for 2 heads to appear is n, what can you say about...
You flip a coin 100 times to see whether it is biased and get 60 heads....
You flip a coin 100 times to see whether it is biased and get 60 heads. Explain two different ways you could find the p-value of this experiment.
Flip a coin 10 times. Put a 1 each time the coin comes up heads and...
Flip a coin 10 times. Put a 1 each time the coin comes up heads and a 0 each time the coin comes up tails. Count the number of heads you obtained and divide by 10. What number did you get? a. Is the number you obtained in part (a) a parameter or a statistic? b. Now flip the coin 25 times. Put a 1 each time you obtain a heads and a 0 for tails. Count the number of...
Flip a fair coin 4 times. Let ? and ? denote the number of heads and...
Flip a fair coin 4 times. Let ? and ? denote the number of heads and tails correspondingly. (a) What is the distribution of ?? What is the distribution of ? ? (b) Find the joint PMF. Are ? and ? independent? (c) Calculate ?(? ?) and ?(X≠?)(d) Calculate C??(?, ? ) and C???(?, ? )
what is the probablity you flip a coin and get a head, flip another coin and...
what is the probablity you flip a coin and get a head, flip another coin and get a tail and then draw a blavk card from a deck of cards?
Your unfair coin comes up heads with probability 0.6. You flip it until you get four...
Your unfair coin comes up heads with probability 0.6. You flip it until you get four heads in a row. Let t be the expected number of times you flip. Write an equation for t. (Your equation, if solved, should give the value of t).
HOMEWORK-You flip a coin FOUR times. Let H = Number of Heads. Calculate: (a) P (H...
HOMEWORK-You flip a coin FOUR times. Let H = Number of Heads. Calculate: (a) P (H = 4) = (b) P (H ≥ 1) = (c) P (H < 4) = (d) P (1 < H ≤ 4) = HINT: GET YOUR SAMPLE SPACE. Leave your answers EITHER as a simplified fraction ( e.g. 4/16 = 1/4 when simplified)  OR a decimal rounded to FOUR decimal places. Also do not forget to enter your leading zero when entering decimals. CAUTION: FOLLOW...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT