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
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 Lab 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 CIppn that takes two arguments and gives the confidence interval at of widehat the observed proportion in a sample consisting of individuals randomly drawn from the population with a true proportion If the successfailure conditions are not met, the function should not return an interval but a message saying "SuccessFailure conditions not met."
Check that the function works correctly by computing the confidence interval asked in Exercise question
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
