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
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?
Step by Step Solution
★★★★★
3.44 Rating (160 Votes )
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
If the values are significantly different it might suggest an issue with the random number generator ... View full answer
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
