Question

Let X equal to the number of heads after 4 flips of a fair coin? Derive the probability mass function for X, and plot it. Also, compute the E[X] of X.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The probability of 0 heads is equal to the probability of 4 heads.

Since the coin is fair, the probability of no heads in 4 tosses is

rac{1}{2} imes rac{1}{2} imes rac{1}{2} imes rac{1}{2} = rac{1}{16}

Same is the probability of getting 4 heads.

The probability of getting 1, 2, or 3 heads is different. For example, there are four ways to get 1 head:

HTTT, THTT, TTHT, TTTH

Each of these cases has probability 1/16 as before, but there are 4 of them so the total probability of getting 1 head is 4/16.

It is a similar procedure to count the number of ways to get 2 or 3 heads. More generally, the number of ways to get x heads out of n coin tosses is given by the binomial coefficient:

nCr (n, r)

To generalize even further, this coin tossing experiment follows the binomial distribution. If the probability of tossing a head is p then the PMF is given by

P(X = x) = {n choose x} p^{x}(1-p)^{n-x}

Since p=1/2

We have

P(X-) 0.51 0.5)

P(X 0) -Ί 0,5°(1- 0,5 0 ) )4-0-1/16

P(X = 1) = {4 choose 1} 0.5^{1}(1-0.5)^{4-1}=4/16

P(X = 2) = {4 choose 2} 0.5^{2}(1-0.5)^{4-2}=6/16

P(X = 3) = {4 choose 3} 0.5^{3}(1-0.5)^{4-3}=4/16

P(X = 4) = {4 choose 4} 0.5^{4}(1-0.5)^{4-4}=1/16

Expectation of X

P(x)x*P(x) O.iNi 1.22 0.38 1.22 O.iNi Sum 1.22 0.75 0.75 0.25

E(X)=Sum(x*P(x))=2

Add a comment
Know the answer?
Add Answer to:
Let X equal to the number of heads after 4 flips of a fair coin? Derive...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 4. Toss a fair coin 6 times and let X denote the number of heads that...

    4. Toss a fair coin 6 times and let X denote the number of heads that appear. Compute P(X ≤ 4). If the coin has probability p of landing heads, compute P(X ≤ 3) 4. Toss a fair coin 6 times and let X denote the number of heads that appear. Compute P(X 4). If the coin has probability p of landing heads, compute P(X < 3).

  • You flip a coin 100 times. Let X= the number of heads in 100 flips. Assume...

    You flip a coin 100 times. Let X= the number of heads in 100 flips. Assume we don’t know the probability, p, the coin lands on heads (we don’t know its a fair coin). So, let Y be distributed uniformly on the interval [0,1]. Assume the value of Y = the probability that the coin lands on heads. So, we are given Y is uniformly distributed on [0,1] and X given Y=p is binomially distributed on (100,p). Find E(X) and...

  • Toss a fair coin 4 times. Let Y be the number of heads. (a) What is...

    Toss a fair coin 4 times. Let Y be the number of heads. (a) What is the probability mass function of Y ? Compare your answer to the probability mass function of Binomial distribution. (b) What is the cumulative distribution function of Y ? (c) What is the expected value of Y ? (d) What is the variance of Y?

  • In a game, a person flips a fair coin twice, and based on the number of...

    In a game, a person flips a fair coin twice, and based on the number of heads observed, he will be allowed to shoot so many times (equal to the number of heads observed) on a target. Assume the probability of hitting a target in one shot is 0.2. What is the probability of not hitting the target? Answer [The answer should be a number rounded to five decimal places, don't use symbols such as %]

  • In a game, a person flips a fair coin twice, and based on the number of...

    In a game, a person flips a fair coin twice, and based on the number of heads observed, he will be allowed to shoot so many times (equal to the number of heads observed) on a target. Assume the probability of hitting a target in one shot is 0.2. What is the probability of not hitting the target? [The answer should be a number rounded to five decimal places, don't use symbols such as %]

  • In a game, a person flips a fair coin twice, and based on the number of...

    In a game, a person flips a fair coin twice, and based on the number of heads observed, he will be allowed to shoot so many times (equal to the number of heads observed) on a target. Assume the probability of hitting a target in one shot is 0.2. If the person obtained two heads, what is the probability of hitting the target only once? [The answer should be a number rounded to five decimal places, don't use symbols such...

  • In a game, a person flips a fair coin twice, and based on the number of...

    In a game, a person flips a fair coin twice, and based on the number of heads observed, he will be allowed to shoot so many times (equal to the number of heads observed) on a target. Assume the probability of hitting a target in one shot is 0.25. If the person obtained two heads, what is the probability of hitting the target only once? [The answer should be a number rounded to five decimal places, don't use symbols such...

  • In a game, a person flips a fair coin twice, and based on the number of...

    In a game, a person flips a fair coin twice, and based on the number of heads observed, he will be allowed to shoot so many times (equal to the number of heads observed) on a target. Assume the probability of hitting a target in one shot is 0.2. What is the probability of hitting the target only once? [The answer should be a number rounded to five decimal places, don't use symbols such as %]

  • A fair coin is tossed 20 times. Let X be the number of heads thrown in...

    A fair coin is tossed 20 times. Let X be the number of heads thrown in the first 10 tosses, and let Y be the number of heads tossed in the last 10 tosses. Find the conditional probability that X = 6, given that X + Y = 10.

  • A fair coin is tossed 20 times. Let X be the number of heads thrown in...

    A fair coin is tossed 20 times. Let X be the number of heads thrown in the first 10 tosses, and let Y be the number of heads tossed in the last 10 tosses. Find the conditional probability that X = 6, given that X + Y = 10.

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT