Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Let U ~ U (0, 1). Show steps needed to generate a value of a random variable X f

ID: 2960385 • Letter: L

Question

Let U ~ U (0, 1). Show steps needed to generate a value of a random variable X from each of the following distributions. (You may present these steps as an algorithm as in your notes or handouts. No programming needed.) a Bernoulli with p = 0.75, the probability of a success a discrete distribution with the following pmf: a Binomial with n = 12 and p =.3 an Exponential with parameter lambda = 2.4 an Erlang distribution with k = 4 and lambda = 5 has a distribution function Fx given by a continuous distribution with the density f(x) = ex /(e - 1), 0

Explanation / Answer

We generate a value of a random variable X (25 observations) for the Uniform, Bernoulli, Binomial, and Exponential distributions are given in the following table. a), c) and d) bit answers are shown in the below columns of the table. Uniform random variable Bernoulli random variable Binomial random variable Exponential random variable 0.079215 1 2 1.1933 0.98746 1 3 0.6318 0.711991 1 5 3.3101 0.036528 1 3 0.8451 0.404773 1 3 1.2786 0.887795 0 4 13.3078 0.064174 1 4 2.5022 0.829313 1 6 0.1236 0.195831 1 3 5.1417 0.65601 1 3 2.7687 0.525674 1 6 3.6522 0.518427 1 5 0.0315 0.460105 0 6 0.6041 0.288204 1 4 2.5768 0.322063 1 5 0.4663 0.762082 0 4 10.6734 0.567902 1 5 2.3472 0.363131 1 4 7.3451 0.012957 0 3 1.1598 0.051988 1 7 1.3321 0.268595 1 6 1.1064 0.382558 1 3 1.5048 0.899157 0 6 9.765 0.067727 1 2 2.9645 0.88312 1 3 1.6841 b) The random variable 1,2,3,4,5 Hope this will helps you. Uniform random variable Bernoulli random variable Binomial random variable Exponential random variable 0.079215 1 2 1.1933 0.98746 1 3 0.6318 0.711991 1 5 3.3101 0.036528 1 3 0.8451 0.404773 1 3 1.2786 0.887795 0 4 13.3078 0.064174 1 4 2.5022 0.829313 1 6 0.1236 0.195831 1 3 5.1417 0.65601 1 3 2.7687 0.525674 1 6 3.6522 0.518427 1 5 0.0315 0.460105 0 6 0.6041 0.288204 1 4 2.5768 0.322063 1 5 0.4663 0.762082 0 4 10.6734 0.567902 1 5 2.3472 0.363131 1 4 7.3451 0.012957 0 3 1.1598 0.051988 1 7 1.3321 0.268595 1 6 1.1064 0.382558 1 3 1.5048 0.899157 0 6 9.765 0.067727 1 2 2.9645 0.88312 1 3 1.6841