Question: Exercise 3 This exercise involves Python programming. Please write your answers to this question in a new Jupyter notebook. Export your work to a PDF

Exercise 3
This exercise involves Python programming. Please write your answers to this question in a new Jupyter notebook. Export your work to a PDF using the steps outlined in Lab01. Ensure you merge this PDF with the PDF containing your responses to the previous questions before submission. (Refer to the instructions provided at the beginning of this homework assignment for guidance.) As you did in Lab for tasks, please include the question number in a Markdown cell.
Using material seen during lecture and lab, create a Python function called CI_95_p(p,n) that takes two arguments p,n and gives the confidence interval at 95% of widehat(P), the observed proportion in a sample consisting of n individuals randomly drawn from the population with a true proportion p. If the success/failure conditions are not met, the function should not return an interval but a message saying "Success-Failure conditions not met."
Check that the function works correctly by computing the confidence interval asked in Exercise 1, question 1.
 Exercise 3 This exercise involves Python programming. Please write your answers

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!