Suppose you have a standard die. Explain how you would generate a random dviate from
1) A Bernoulli distribution with probability of success
2) A discrete uniform distribution, withfor
3) A binomial distribution withand
![]()
Throw the die two times.
If first die shows 1, 2, 3 and the second shows 1, 2,or 3 result is 1.
If first die shows 1, 2, 3 and the second shows 4, 5,or 6 result is 2.
If first die shows 4, 5, 6 and the second shows 1, 2,or 3 result is 3.
If first die shows 4, 5, 6 and the second shows 4, 5,or 6 result is 4.
RonL