i need your help about :Sums of 0s and 1s revisited: the Gaussian approximation

1 view (last 30 days)
1. Modify the program you used for the simulation of sums of 0s and 1s to include a calculation of a Gaussian approximation to the binomial distribution. Keep the curve in the first graph that shows the theoretical binomial probabilities, but add a curve representing the Gaussian approximation in a contrasting color. Modify the second graph in your program to plot the difference between the full binomial approximation and the Gaussian approximation. 2. Run simulations for various values of the probability p and various numbers of ‘dice’, with a sufficient number of trials to obtain reasonable accuracy. (Remember not to run it so long that it wastes your time.) Comment on the accuracy (or lack thereof) of the Gaussian approximation. 3. Run your program for the following cases, using a reasonable number of trials. Comment on the agreement between the theory and your computer experiment. 1. N = 10, p = 0.5 2. N = 30, p = 0.85 3. N = 150, p = 0.03

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!