Question

Consider a die with 2 red sides, 2 green sides, and 2 blue sides. Roll the...

Consider a die with 2 red sides, 2 green sides, and 2 blue sides. Roll the die 5 times, and let X denote the number of times that the die has a red result.

Flip a coin 5 times, and let Y denote the number of times that the coin shows “heads."

a. Find E(X?Y).

b. Find Var?(X?Y).

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

Here X can take values 0, 1, 2, 3, 4 and 5. And Y can take values 0 ,1 ,2, 3, 4, 5. Since roll is independent from other so X has binomial distribution with parameter n=5 and p=2/ 6 = 1/3. The pdf of X is

P(X=x)=\binom{5}{x}\left ( \frac{1}{3} \right )^{x}\left ( \frac{2}{3} \right )^{5-x},x=0,1,2,3,4,5

Following table shows the probabilites of X, rounding to 4 decimal places:

X P(X=x)
0 0.1317
1 0.3292
2 0.3292
3 0.1646
4 0.0412
5 0.0041

-----------------

Here X has binomial distribution with parameter n=5 and p=0.5. The pdf of Y is

P(Y=y)=\binom{5}{y}\left ( 0.5 \right )^{y}\left ( 0.5 \right )^{5-y},y=0,1,2,3,4,5

Following table shows the probabilites of Y, rounding to 4 decimal places:

Y P(Y=y)
0 0.0313
1 0.1563
2 0.3125
3 0.3125
4 0.1563
5 0.0313

Let W=X-Y. Since X and Y are independent so  

P(W=w)= P(X=x)P(Y=y)

Following table shows the calculations for W:

X P(X=x) Y P(Y=y) W=X-Y P(W=w)
0 0.1317 0 0.0313 0 0.00412221
0 0.1317 1 0.1563 -1 0.02058471
0 0.1317 2 0.3125 -2 0.04115625
0 0.1317 3 0.3125 -3 0.04115625
0 0.1317 4 0.1563 -4 0.02058471
0 0.1317 5 0.0313 -5 0.00412221
1 0.3292 0 0.0313 1 0.01030396
1 0.3292 1 0.1563 0 0.05145396
1 0.3292 2 0.3125 -1 0.102875
1 0.3292 3 0.3125 -2 0.102875
1 0.3292 4 0.1563 -3 0.05145396
1 0.3292 5 0.0313 -4 0.01030396
2 0.3292 0 0.0313 2 0.01030396
2 0.3292 1 0.1563 1 0.05145396
2 0.3292 2 0.3125 0 0.102875
2 0.3292 3 0.3125 -1 0.102875
2 0.3292 4 0.1563 -2 0.05145396
2 0.3292 5 0.0313 -3 0.01030396
3 0.1646 0 0.0313 3 0.00515198
3 0.1646 1 0.1563 2 0.02572698
3 0.1646 2 0.3125 1 0.0514375
3 0.1646 3 0.3125 0 0.0514375
3 0.1646 4 0.1563 -1 0.02572698
3 0.1646 5 0.0313 -2 0.00515198
4 0.0412 0 0.0313 4 0.00128956
4 0.0412 1 0.1563 3 0.00643956
4 0.0412 2 0.3125 2 0.012875
4 0.0412 3 0.3125 1 0.012875
4 0.0412 4 0.1563 0 0.00643956
4 0.0412 5 0.0313 -1 0.00128956
5 0.0041 0 0.0313 5 0.00012833
5 0.0041 1 0.1563 4 0.00064083
5 0.0041 2 0.3125 3 0.00128125
5 0.0041 3 0.3125 2 0.00128125
5 0.0041 4 0.1563 1 0.00064083
5 0.0041 5 0.0313 0 0.00012833

Following table shows the pdf of W:

W P(W=w)
-5 0.00412221
-4 0.03088867
-3 0.10291417
-2 0.20063719
-1 0.25335125
0 0.21645656
1 0.12671125
2 0.05018719
3 0.01287279
4 0.00193039
5 0.00012833

(a-b)

Following table shows the calculations for mean and variance of W:

W P(W=w) wP(W=w) w^2P(W=w)
-5 0.00412221 -0.02061105 0.10305525
-4 0.03088867 -0.12355468 0.49421872
-3 0.10291417 -0.30874251 0.92622753
-2 0.20063719 -0.40127438 0.80254876
-1 0.25335125 -0.25335125 0.25335125
0 0.21645656 0 0
1 0.12671125 0.12671125 0.12671125
2 0.05018719 0.10037438 0.20074876
3 0.01287279 0.03861837 0.11585511
4 0.00193039 0.00772156 0.03088624
5 0.00012833 0.00064165 0.00320825
Total -0.83346666 3.05681112

So

E(X - Y)E(W)-w P(W-)-0.83346666

Var(X-Y)=Var(W)=\sum w^{2}P(W=w)-\left [ \sum wP(W=w) \right ]^{2}=2.362144447

Add a comment
Know the answer?
Add Answer to:
Consider a die with 2 red sides, 2 green sides, and 2 blue sides. Roll the...
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
  • Consider the setting where you first roll a fair 6-sided die, and then you flip a...

    Consider the setting where you first roll a fair 6-sided die, and then you flip a fair coin the number of times shown by the die. Let D refer to the outcome of the die roll (i.e., number of coin flips) and let H refer to the number of heads observed after D coin flips. (a) Suppose the outcome of rolling the fair 6-sided die is d. Determine E[H|d] and Var(H|d). (b) Determine E[H] and Var(H).

  • We flip a coin. If it is heads we roll a four sided die with sides...

    We flip a coin. If it is heads we roll a four sided die with sides numbered from 1 to 4. If it is tails, we roll a six sided die with sides numbered from 1 to 6. We let X be the number rolled. (a) What is the expectation of X? (b) What is the variance of X? (c) What is the standard deviation of X? We draw cards one by one and with replacement from a standard deck...

  • help with number 4 4. Roll a die and flip a coin. Let Y be the...

    help with number 4 4. Roll a die and flip a coin. Let Y be the value of the die. Let Z = 1 if the coin shows a head, and Z = 0 otherwise. Let X = Y + Z. Find the variance of X. 5. (a) If X is a Poisson random variable with = 3, find E(5*).

  • 4. Suppose urn 11 is filled with 60% green balls and 40% red balls, and urn...

    4. Suppose urn 11 is filled with 60% green balls and 40% red balls, and urn T is filled with 40% green balls and 60% red balls. Someone will flip a coin and then select a ball from urn H or T depending on whether the coin lands heads or tails, respectively. Let X be 1 or 0 if the coin lands heads or tails, and let Y be 1 or 0 if the ball is green or red (a)...

  • Suppose that a red die and a green die are tossed and the numbers on the...

    Suppose that a red die and a green die are tossed and the numbers on the sides that face upward are observed.(a) What is the probability that the numbers add up to 8 ?(b) What is the probability that the sum of the numbers is less than 4 ?An experiment consists of tossing a coin two times and observing the sequence of heads and tails. Each of the four outcomes has the same probability of occurring.(a) What is the probability...

  • You roll a pair of fair 6-sided dice: a red die and a blue die. (a)...

    You roll a pair of fair 6-sided dice: a red die and a blue die. (a) Consider event A: {the outcome of the red die is more than 3} and event B: {the outcome of the red die is less than 5}. Given that event A occurs, what is the probability that event B occurs? (b) Are A and B mutually exclusive (i.e., disjoint)? (c) Are A and B independent? (d) Calculate the probability of event C: {the outcome of...

  • You roll a pair of fair 6-sided dice: a red die and a blue die. (a)...

    You roll a pair of fair 6-sided dice: a red die and a blue die. (a) Consider event A: {the outcome of the red die is more than 3} and event B: {the outcome of the red die is less than 5}. Given that event A occurs, what is the probability that event B occurs? (b) Are A and B mutually exclusive (i.e., disjoint)? (c) Are A and B independent? (d) Calculate the probability of event C: {the outcome of...

  • Suppose that a drawer contains 8 marbles: 2 are red, 2 are blue, 2 are green,...

    Suppose that a drawer contains 8 marbles: 2 are red, 2 are blue, 2 are green, and 2 are yellow. The marbles are rolling around in a drawer, so that all possibilities are equally likely when they are drawn. Alice chooses 2 marbles without replacement, and then Bob also chooses 2 marbles without replacement. Let Y denote the number of red marbles that Alice gets, and let X denote the number of red marbles that Bob gets. a. Find the...

  • We roll a green die and a red die. Let A be the event that the...

    We roll a green die and a red die. Let A be the event that the sum of the numbers shown is 7 and let B be the event that both dice show odd numbers. Are events A and B independent? Show your work. Thank you :)

  • There is a box of 20 marbles. Of these marbles, 6 are red, 8 are green...

    There is a box of 20 marbles. Of these marbles, 6 are red, 8 are green and 6 are blue. 6 marbles are randomly selected from the box without replacement. Let X be the number of marbles that are red or blue, and let Y be the number of marbles that are blue. a. What is the probability the first and second marbles are red, the third and fourth are blue and the fifth and sixth are green? b. What...

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