Question

In: Statistics and Probability

A die is rolled and, independently, a coin is tossed. Let X be the value of...

A die is rolled and, independently, a coin is tossed. Let X be the value of the die if the coin is H and minus the value of the die if the coin is T.

(a) Calculate and plot the PMF of X.

(b) Calculate E [X] and var(X)

(c) Calculate and plot the PMF of X 2 − 2X.

2. A drunk walks down a street. Assume he starts at block 0. Every 10 minutes, he moves north a block (+1) with probability p or south a block (-1) with probability 1 − p, independently of any movement outside of those 10 minutes.

(a) What’s the PMF of his position after 10n minutes?

(b) Where would you expect him to be in an hour?

3. Legend has it, a Jinn was fond of probability. Those unfortunate enough to encounter it in the desert, were given an intriguing offer:

In this desert old, Without rain, as told,

Rains one, is arid ten, I will take one of ten,

Give me all your gold, And when rain, behold,

And I will make one ten! What is left is therein.

Distrustful of poetic spirits, travelers were quick to turn down this offer and to continue their journey, amusing the Jinn to no end.

You’ve taken ECE 341 and are not so dismissive. You interpret the fact that “for every 1 day that it rains 10 do not” by the appropriate probability p of rain happening independently every day. You know that if you give x amount of gold to the Jinn, you’ll end up with 10x gold at the beginning. But every day that it doesn’t rain, you will lose 10% of what remains. Until it rains, at which point you get to keep whatever remains. Assume gold can be divided arbitrarily. Starting with x gold, calculate the expected amount of gold left at the end. Do you give your gold to the Jinn?

Solutions

Expert Solution

1. a). Please find the calculated PMF of X

All the possible X's value will have equal probability, with P= 1/12 = 0.083

Die Coin X P (X)
1 H 1 0.083
1 T -1 0.083
2 H 2 0.083
2 T -2 0.083
3 H 3 0.083
3 T -3 0.083
4 H 4 0.083
4 T -4 0.083
5 H 5 0.083
5 T -5 0.083
6 H 6 0.083
6 T -6 0.083

Plot is drawn below :

Below is the table calculated as :

Die Coin X P (X) X * P(X) X^2 X^2* P(X)
1 H 1 0.083 0.083 1 0.083
1 T -1 0.083 -0.083 1 0.083
2 H 2 0.083 0.167 4 0.333
2 T -2 0.083 -0.167 4 0.333
3 H 3 0.083 0.250 9 0.750
3 T -3 0.083 -0.250 9 0.750
4 H 4 0.083 0.333 16 1.333
4 T -4 0.083 -0.333 16 1.333
5 H 5 0.083 0.417 25 2.083
5 T -5 0.083 -0.417 25 2.083
6 H 6 0.083 0.500 36 3.000
6 T -6 0.083 -0.500 36 3.000
0.000 15.167

b). E(X) is given by = Summation (X * P(X)) = 0 ( refer above table in green mark)

Var (X) is given by = E (X^2) - (E(X))^2

E (X^2) = Summation (X^2 * P(X)) = 15.167

Therefore Var (X) = 15.167

c) PMF plot of X^2 - 2X is below :

Die Coin X P (X) X * P(X) X^2 X^2* P(X) 2*X (X^2 - 2*X)
1 H 1 0.083 0.083 1 0.083 2 -1
1 T -1 0.083 -0.083 1 0.083 -2 3
2 H 2 0.083 0.167 4 0.333 4 0
2 T -2 0.083 -0.167 4 0.333 -4 8
3 H 3 0.083 0.250 9 0.750 6 3
3 T -3 0.083 -0.250 9 0.750 -6 15
4 H 4 0.083 0.333 16 1.333 8 8
4 T -4 0.083 -0.333 16 1.333 -8 24
5 H 5 0.083 0.417 25 2.083 10 15
5 T -5 0.083 -0.417 25 2.083 -10 35
6 H 6 0.083 0.500 36 3.000 12 24
6 T -6 0.083 -0.500 36 3.000 -12 48

Let us assume that Y be another random variable defined by Y = (X^2 - 2X)

Below is the calculated table for Y.

Y P(Y)
0 0.083
-1 0.083
3 0.167
8 0.167
15 0.167
24 0.167
35 0.083
48 0.083

PMF plot for Y is shown below :


Related Solutions

A fair coin is tossed, and a fair die is rolled. Let H be the event...
A fair coin is tossed, and a fair die is rolled. Let H be the event that the coin lands on heads, and let S be the event that the die lands on six. Find P(H or S).
A) A coin is tossed and a die is rolled. Draw the tree diagram to list...
A) A coin is tossed and a die is rolled. Draw the tree diagram to list out every possible outcome for this sequence of events. How many total outcomes are possible? B) Elementary students are given an ID card that has a picture of their face followed by a 4 digit code. Assuming repetitions are allowed, how many ID cards are possible? C) Six balls are numbered: 1, 2, 3, 5, 8, and 13. A ball is selected, its number...
Suppose two fair sided die with sides labeled 1,2,3,4,5,6 are tossed independently. Let X = the...
Suppose two fair sided die with sides labeled 1,2,3,4,5,6 are tossed independently. Let X = the minimum of the value from each die. a. What is the probability mass function(pmf) of X? b. Find the mean E[X] and variance V (X). c. Write the cumulative distribution function (cdf) of X in a tabular form. d. Write F(x) the cdf of X as a step function and give a rough sketch for this function.
Q7 A fair coin is tossed three times independently: let X denote the number of heads...
Q7 A fair coin is tossed three times independently: let X denote the number of heads on the first toss (i.e., X = 1 if the first toss is a head; otherwise X = 0) and Y denote the total number of heads. Hint: first figure out the possible values of X and Y , then complete the table cell by cell. Marginalize the joint probability mass function of X and Y in the previous qusetion to get marginal PMF’s.
a) A coin is tossed 4 times. Let X be the number of Heads on the...
a) A coin is tossed 4 times. Let X be the number of Heads on the first 3 tosses and Y be the number of Heads on the last three tossed. Find the joint probabilities pij = P(X = i, Y = j) for all relevant i and j. Find the marginal probabilities pi+ and p+j for all relevant i and j. b) Find the value of A that would make the function Af(x, y) a PDF. Where f(x, y)...
A coin is tossed 6 times. Let X be the number of Heads in the resulting...
A coin is tossed 6 times. Let X be the number of Heads in the resulting combination. Calculate the second moment of X. (A).Calculate the second moment of X (B). Find Var(X)
stat question and please explain, thank you A fair die is tossed two times independently: let...
stat question and please explain, thank you A fair die is tossed two times independently: let W denote the product of the outcomes. Find the probability that W = 6.
2 dice are rolled. Let X be the number on the first die, Y - on...
2 dice are rolled. Let X be the number on the first die, Y - on the second, and Z=X - Y. Find the expectation and standard deviation of Z.
A fair 4-sided die is rolled, let X denote the outcome. After that, if X =...
A fair 4-sided die is rolled, let X denote the outcome. After that, if X = x, then x fair coins are tossed, let Y denote the number of Tails observed. a) Find P( X >= 3 | Y = 0 ). b) Find E( X | Y = 2 ). “Hint”: Construct the joint probability distribution for ( X, Y ) first. Write it in the form of a rectangular array with x = 1, 2, 3, 4 and...
A fair die is rolled twice. Let X and Y be the smallest and largest, respectively,...
A fair die is rolled twice. Let X and Y be the smallest and largest, respectively, number that appears in the two rolls. (a) Determine the probability mass function of (X, Y). (Write a formula forP(X=i, Y=j)or give a table of values.) (b) Are X and Y independent? (c) Find E(X+Y). (Give your answer as a decimal number.)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT