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, with for

3) A binomial distribution with and

Printable View

- February 23rd 2008, 03:23 AMJason Bournerandom deviates
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, with for

3) A binomial distribution with and - February 23rd 2008, 04:38 AMCaptainBlack
- February 23rd 2008, 04:43 AMCaptainBlack

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 - February 23rd 2008, 04:47 AMCaptainBlack