Question: Write program to simulate 10,000 Bernoulli trials with probability 0.3 for success on each trial. Have the program compute the 95 percent confidence interval for

Write program to simulate 10,000 Bernoulli trials with probability 0.3 for success on each trial. Have the program compute the 95 percent confidence interval for the probability of success based on the proportion of successes. Repeat the experiment 100 times and see how many times the true value of 0.3 is included within the confidence limits.

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 Mathematics Questions!