Answered step by step
Verified Expert Solution
Question
1 Approved Answer
5.11 LAB: Confidence intervals for population proportions Load the titanic dataset. Find the proportion of passengers who embarked from Southampton whose age is greater than
5.11 LAB: Confidence intervals for population proportions
Load the titanic dataset.
Find the proportion of passengers who embarked from Southampton whose age is greater than the user defined age.
Calculate the 95% confidence interval for the sample proportion.
Find proportion of all passengers whose age is greater than the user defined age.
Report whether the actual proportion is within the sample confidence interval.
When the input is:
50
the output is:
Sample proportion is 0.069876 (0.050186, 0.089565) Actual proportion, 0.071829, is within the 95% confidence intervalmain.py Load default template
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started