Question: 6. (a) In Python, simulate 100,000 geometric random variables with parameter p = 0.01 and create a histogram of the resulting values, with buckets for

 6. (a) In Python, simulate 100,000 geometric random variables with parameter

6. (a) In Python, simulate 100,000 geometric random variables with parameter p = 0.01 and create a histogram of the resulting values, with buckets for each of the values 1 to 1000 (b) Next, create a plot of the probability mass function of the geometric random variable, over the integers 1 to 1000. Briefly describe how this plot compares to the histogram from part (a). (c) Finally, plot the function () = e-t fort between 0 and 10. Briefly compare this plot to the two plots above." Submit your code, plots, and your written answers to the questions in (b) and (c). Depending on your computer, the plots may take a couple of minutes to appear

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!