Python for Introductory StatisticsXYZ Homework Edition

⇩ Download ▾

10. Confidence Intervals

Inferential statistics deals with making inferences about a population parameter using information contained in the sample. Estimation and Hypothesis testing are two types of inferential statistics. There are two types of estimation: point and interval estimation.

  1. The sample mean x¯\bar x is a point estimate of the population mean μ\mu
  2. The sample proportion p^\hat{p} is a point estimate of the population proportion pp.

An interval estimate or confidence interval provides two values, where all real numbers between these values are considered as an estimate to the population parameter.

  1. (x¯E,x¯+E)(\bar{x}-E,\bar{x}+E) interval estimate of the mean μ\mu
  2. (p^E,p^+E)(\hat{p}-E,\hat{p}+E) interval estimate of the proportion pp

Adapted from Python for Introductory Statistics, 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.