Simulate 100 values of a r.v. X assuming values 1, 0, and 1, with respective probabilities 0.3,

Question:

Simulate 100 values of a r.v. X assuming values −1, 0, and 1, with respective probabilities 0.3, 0.4, and 0.3. Compute E{X} and compare it with the average of the numbers you simulated. Did you get what had to be expected? What does it say about the quality of the random number generator you used?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: