Question: Consider the discrete random variable X that is uniformly distributed (equal probabilities) on the set {1, 2, . . . , 9}. You wish to
(a) Proposal 1: Generate uniform random numbers ri (i = 1, 2, . . .), and then set xi = n, where n is the integer satisfying n/9 < ri = (n + 1)/9.
(b) Proposal 2: Generate uniform random numbers ri (i = 1, 2, . . .), and then set xi equal to the greatest integer less than or equal to 1 + 9ri.
(c) Proposal 3: Generate xi from the mixed congruential generator xn+1 ≡ (4xn + 7) (modulo 9), with starting value x0 = 4.
Step by Step Solution
3.43 Rating (172 Votes )
There are 3 Steps involved in it
a It is not valid since Px i 9 P99 r i 109 0 and r i wouldnt reach 9 ... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
545-M-S-S-M (443).docx
120 KBs Word File
