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
Get step-by-step solutions from verified subject matter experts
