Question

In: Statistics and Probability

Create a die, which will roll a 6 with probability of 50% and all other numbers...

Create a die, which will roll a 6 with probability of 50% and all other numbers (1-5) with equal probability. What is E(Y) if Y was the outcome of that die? and X is the result of the fair die.

sd(Y)

var(X-2Y)

Please write the code in R

Solutions

Expert Solution

The die is a biased die with 50% probability of getting a 6. The remaining numbers 1-5 can be obtained equally. Hence the probability of each of these numbers is 50/5 = 10%.

Thus, the random variable Y = {1, 2, 3, 4, 5, 6}

And the probabilities are given by P = {0.1, 0.1, 0.1, 0.1, 0.1, 0.5}.

The expectation of the random variable is obtained as the sum of the products of values assumed by the random variable and the probabilities of each of these values.

Therefore, E(Y) = 4.5.

Similarly, we can calculate the expectation of Y^2.

The variance is given as

The standard deviation is obtained as the square root of the variance.

In R language, the code can be written as:

Y = 1:6 # Random variable P = c(0.1, 0.1, 0.1, 0.1, 0.1, 0.5) # Probabilities # Expectation E = sum(P*Y) E2 = sum(P*Y*Y) # Variance and Standard Deviation Var = E2 - E**2 Std = sqrt(Var) 

Related Solutions

Suppose we roll a fair 6 sided die with the numbers [1,6] written on them. After...
Suppose we roll a fair 6 sided die with the numbers [1,6] written on them. After the first die roll we roll the die ? times where ? is the number on the first die roll. The number of points you score is the sum of the face-values on all die rolls (including the first). What is the expected number of points you will score?
Find the conditional​ probability, in a single roll of two fair​ 6-sided dice, that neither die...
Find the conditional​ probability, in a single roll of two fair​ 6-sided dice, that neither die is a three​,given that the sum is greater than 7.
When we roll one die, we have a 1 in 6 probability of getting any particular...
When we roll one die, we have a 1 in 6 probability of getting any particular number on the die.   When we roll a pair of dice, there are 36 different pairs that can be produced, yet only 11 actual distinct values. Explain how the probability associated with the roll of each individual die in the pair explains the higher variability in the total outcome of the roll of each pair. How do the concepts of permutations and combinations apply...
When we roll one die, we have a 1 in 6 probability of getting any particular...
When we roll one die, we have a 1 in 6 probability of getting any particular number on the die.   When we roll both dice, there are 36 different permutations of total pairs that can be produced, yet only 11 actual distinct values. Explain how the probability associated with the roll of each individual die in the pair explains the higher variability in the total outcome of the roll of each pair. Discuss how this affects what you think about...
Peter rolls an 8 die and then Kate gets three chances to roll a 6-die and...
Peter rolls an 8 die and then Kate gets three chances to roll a 6-die and get greater number than whatever Pter rolled. What is the probability that at least one of Kate’s rolls is greater than what Peter's rolls?
1. Assume we roll 6 dice. What is the probability that the roll contains: a. 6...
1. Assume we roll 6 dice. What is the probability that the roll contains: a. 6 of the same number b. 3 of one number, 2 of a second number, and 1 non-matching number c. 3 pairs of different numbers
a.  When a fair die is thrown, numbers 1 through 6 would appear with equal probability of...
a.  When a fair die is thrown, numbers 1 through 6 would appear with equal probability of 1/6. The mean is 3.5 and variance is 2.92. If 57 dice are thrown, what is the variance of their sum? b . When a fair die is thrown, numbers 1 through 6 would appear with equal probability of 1/6. The mean is 3.5 and variance is 2.92. If 40 dice are thrown, what is the mean of their sum? c. Let X be...
PROJECT C Roll a 6-sided die 800 times. If you do not desire to roll a...
PROJECT C Roll a 6-sided die 800 times. If you do not desire to roll a die manually, STATDISK can be used to simulate the process. To use STATDISK, go to “Data” at the top of the STATDISK window, and then choose “Dice Generator”. The “Dice Roll Random Sample Generator” window will appear. Then in that window, put 800 in for “Sample Size”, put 1 in for “Num Dice”, and put 6 in for “Num Sides”. Please disregard the “Random...
You roll a six- sided die. Find the probability of each of the following scenarios a....
You roll a six- sided die. Find the probability of each of the following scenarios a. Rolling a 6 or a number greater than 3 b. Rolling a number less than 5 or an even number c. Rolling a 2 or an odd number
You roll a fair six-sided die and don't look at it. What is the probability that...
You roll a fair six-sided die and don't look at it. What is the probability that it is a 5 given that your friend looks and tells you that it is greater than 2? Leave your answer as a fraction.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT