Python for Introductory Statistics: Lab WorkbookXYZ Homework Edition

⇩ Download ▾

12.3 Hypothesis Testing: Proportions, z-test

Watch demo video

Lab 12.3.1

The President of USA believes that more than 50% of the US population are fully vaccinated for Covid19. In a survey of 1000 residents, 510 were fully vaccinated. Test the president's claim at α\alpha level of 0.05. Use the z_test_prop function.

view answer

Adapted from Python for Introductory Statistics: Student's Lab Workbook, by Simon Aman (Truman College, City Colleges of Chicago), licensed under CC BY 4.0. Changes were made: reformatted as an accessible XYZ web edition with live in-browser code cells. License: CC-BY-4.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.