Question: (+25) Write a python program perthe following specifications: 1. Populate an array(list) of size 50 randomly with only integers 0 and 1 2. Repeat step!

 (+25) Write a python program perthe following specifications: 1. Populate an

array(list) of size 50 randomly with only integers 0 and 1 2.

Repeat step! n=1000 times using eitherawhile loop or a for loop 3.

(+25) Write a python program perthe following specifications: 1. Populate an array(list) of size 50 randomly with only integers 0 and 1 2. Repeat step! n=1000 times using eitherawhile loop or a for loop 3. 4. 5. At this point you should have a total of 50000 observations Display the numberof 0's Display the numberof 1's Using the Binomial distribution formulas a. Display the expected mean of the 1's b. Calculate and display the standard deviation (SD) C. Display the range: mean SD s the total numberof 1's from 4 above . within the meanSD by Answerthe question : printing 'Yes' if it is within the range calculated in 5c 6. No' if it is not

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!