Login
📚 Python for Introductory Statistics: Lab Workbook
Chapters ▾

11.2 Hypothesis Testing: Mean, t-test

Watch demo video

Lab 11.2.1

A government official claims that the average recovery time for Covid19 patients with mild symptoms is 1.5 weeks. A random sample of 25 patients with mild symptoms. Their recovery time is given below. 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.

2.5, 3.0, 1.5, 2.4, 2.6, 2.1, 1.8, 1.5, 1.7, 1.9, 3.2, 2.3, 2.0, 1.8, 1.2, 1.5, 2.3, 2.5, 1.8, 2.2, 3.3, 2.3, 1.6, 2.5, 2.2

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.