Statistical inference
Hypothesis tests and p-values, correlation and the least-squares line, and chi-square tests for counts and tables.
About 5 hours of study
Learning objectives
- Run and interpret a hypothesis test
- Measure correlation and fit a prediction line
- Test goodness of fit and independence with chi-square
Lessons
- 1
Hypothesis testing and p-values Intermediate
Is a coin fair? Null and alternative hypotheses, the p-value computed exactly from the binomial, z tests, and what "significant" really means.
- 2
Correlation and regression Intermediate
Measure how strongly two quantities move together with Pearson's r, fit the least-squares line, and use it to predict, without confusing correlation with cause.
- 3
Chi-square tests for counts Advanced
Test whether counts in categories match what a model predicts, and whether two categorical variables are independent, with the chi-square statistic.
Module practice
- A z test for a meanEasy
- Is this coin fair?Medium
- An exact permutation testHard
- How strong is the correlation?Easy
- Predict with a best-fit lineMedium
- Correlation and the best-fit lineHard
- The chi-square statisticEasy
- Are all categories equally likely?Medium
- A test of independenceHard