Login
📚 Python for Introductory Statistics: Lab Workbook
Chapters ▾

10.2 Confidence Intervals for Mean (t distribution)

Watch demo video

Lab 10.2.1

A random sample of 25 test scores was selected from an approximately normally distributed population of test scores. The mean and standard deviation are 85 and 7 respectively.

  1. Compute the margin of error using the error_t_mean fucntion above for constructing a 90% confidence interval.
  2. Construct a 90% confidence interval using the conf_t_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.