Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a game which involves rolling three dice. Write the R code for the following. Using the rollDie function from the prob library, setup the

Consider a game which involves rollingthreedice. Write theR codefor the following.

Using therollDiefunction from theproblibrary, setup the sample space for this experiment with the probability space.

Code: rolldie(3, nsides = 6, makespace = TRUE)

a)The sum of the rolls is greater than 10.

b)All the three rolls are identical.

c)Only two of the three rolls are identical.

d)None of the three rolls are identical.

e)Only two of the three rolls are identical given that the sum of the rolls is greater than 10.

f)Add a random variable to the sample space for the sum of the rolls. Show the marginal distribution of this random variable. Using this random variable, what is the probability that the sum of the rolls is greater than 10.

g)Add a random variable to the sample space for determining whether all the rolls are identical. Show the marginal distribution of this random variable. Using this random variable, what is the probability that all the rolls are identical.

h)Add a random variable to the sample space for determining if only two out of the three rolls are identical. Show the marginal distribution of this random variable. Using this random variable, what is the probability that only two out of the three are identical.

i)Add a random variable to the sample space for determining if none of the three rolls are identical. Show the marginal distribution of this random variable. Using this random variable, what is the probability that none of the three are identical.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Euclidean And Non-Euclidean Geometry An Analytic Approach

Authors: Patrick J Ryan

1st Edition

1316046753, 9781316046753

More Books

Students also viewed these Mathematics questions