Login
📚 Python for Introductory Statistics: Lab Workbook
Chapters ▾

11.1 Hypothesis Testing: Mean, z-test

Watch demo video

Lab 11.1.1

A government official claims that the average recovery time for Covid19 patients with mild symptoms is less than 2 weeks. A random sample of 25 patients with mild symptoms has a mean recovery time of 2.4 weeks with standard deviation of 0.9 weeks. Assume recovery time is normally distributed with standard deviation of 0.5 ( σ ) weeks. Test the government's official claim at α of 0.05. Use the z_test_mean function above.

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.