# Question: Consider the discrete random variable X that is uniformly distributed

Consider the discrete random variable X that is uniformly distributed (equal probabilities) on the set {1, 2, . . . , 9}. You wish to generate a series of random observations xi (i = 1, 2, . . .) of X. The following three proposals have been made for doing this. For each one, analyze whether it is a valid method and, if not, how it can be adjusted to become a valid method.

(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.

(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.

## Answer to relevant Questions

Obtaining uniform random numbers as instructed at the beginning of the Problems section, use the acceptance-rejection method to generate three random observations from the triangular distribution used to illustrate this ...The weather can be considered a stochastic system, because it evolves in a probabilistic manner from one day to the next. Suppose for a certain location that this probabilistic evolution satisfies the following ...Obtaining uniform random numbers as instructed at the beginning of the Problems section, generate three random observations (approximately) from a normal distribution with mean = 5 and standard deviation = 10. (a) Do this by ...The Avery Co. factory has been having a maintenance problem with the control panel for one of its production processes. This control panel contains four identical electromechanical relays that have been the cause of the ...Reconsider case 17.1. The current and proposed queueing systems in this case were to be analyzed with the help of queueing models to determine how to reduce in-process inventory as much as possible. However, these same ...Post your question