Login
📚 Python for Introductory Statistics
Chapters ▾

11. Hypothesis Testing

Hypothesis testing involves making decisions on a claim or statement made about the value of population parameter.

First, the claim is used to define the null Ho and alternative Ha hypotheses. The alternative hypothesis is used to determine if the test is left (smaller), right (greater) or two-tailed test. A test-statistic and p-value are calculated with the assumption that the null hypothesis is true. A significant level or rejection region can be used to make a decision about the null-hypothesis.

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.