You need to generate 10 random observations from the probability distribution P{X n} (a) Prepare to do
Question:
You need to generate 10 random observations from the probability distribution P{X n}
(a) Prepare to do this by generating 16 random integer numbers from the mixed congruential generator, xn1 ≡ (5xn 3) (modulo 16) and x0 1.
(b) Use the single-digit random integer numbers from part
(a) to generate the desired random observations.
(c) Note that once a particular value of X is generated in part (b), it can never be repeated because each of the 16 possible random integer numbers is generated exactly once in part (a). In which ways does this violate the desirable properties of random observations? What change would you make in what was done in parts
(a) and
(b) to alleviate this problem?
(d) Now convert the first 10 random integer numbers from part (a)
to (approximate) uniform random numbers, and then apply the inverse transformation method to obtain the desired random observations.
(e) Does the procedure prescribed in part
(d) actually give a probability of 1 1
0 of generating each of the 10 possible values of X each time? Explain. What change would you make in what was done in parts
(a) and
(d) to alleviate this problem?
Step by Step Answer:
Introduction To Operations Research
ISBN: 9780072321692
7th Edition
Authors: Frederick S. Hillier, Gerald J. Lieberman