Question: Please share just the PYTHON code that can be copied. Do not share only the math without code 21. Complete the following in Python. An
21. Complete the following in Python. An environmentalist wants to find out the fraction of oil tankers that have spills cach month Step 1. Suppose a sample of 474 tankers is drawn of these ships. 156 had spills. Using the data, estimate the proportion of oil tankers that had spills. (Write your answer as a fraction or a decimal number rounded to 3 decimal places) [Continued on next page...) Step 2. Suppose a sample of 474 tankers is drawn. Of these ships. 156 had spills. Using the data, construct the 95% confidence interval for the population proportion of oil tankers that have spills each month. (Round your answers to 3 decimal places) Lower Bound Upper Bound
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
