Statistics
A first course in statistics, from collecting data to probability, inference and regression, with interactive tools, worked examples and practice in every chapter.
15 chapters · Introduction to Statistics
You need school algebra. No calculus is required: optional derivations are marked Going deeper.
Work through the chapters in order the first time. Try each worked example before opening it, use the tools to test your guesses, and finish with the practice questions. Two practice exams with solutions and a formula sheet are at the end.
Part I: Data
- 1 What Is Statistics? Populations, samples, variables, and the investigative cycle Why statistics?, Populations, samples, parameters, and statistics, Data, variables, and scales of measurement, Statistical thinking and the investigative cycle, Being a critical consumer of statistics
- 2 Collecting Data Sampling, bias, observational studies, and experiments Why design comes first, Sampling methods, Bias: how good-looking samples go wrong, Observational studies versus experiments, Designing experiments
- 3 Describing One Variable Graphs, center, spread, position, and shape Describing categorical data, Displaying numerical data, Measures of center, Measures of spread, Position: quartiles, percentiles, z-scores, and boxplots
- 4 Describing Relationships Two-way tables, scatterplots, and correlation Two categorical variables: two-way tables, Simpson's paradox, Two quantitative variables: scatterplots, Covariance and the correlation coefficient, Rank correlation (Spearman)
Part II: Probability and distributions
- 5 Probability Rules, conditional probability, independence, and Bayes Randomness, sample spaces, and events, Basic probability rules, Conditional probability and the multiplication rule, Independence, Total probability and Bayes' theorem
- 6 Random Variables and Discrete Distributions Expected value, variance, binomial, geometric, Poisson Random variables and probability distributions, Expected value and variance, Rules for means and variances, The binomial distribution, The geometric distribution
- 7 The Normal Distribution Density curves, z-scores, and normal probabilities Continuous random variables and density curves, The normal distribution, Standardizing and finding normal probabilities, Combining normal random variables, Assessing normality
- 8 Sampling Distributions and the CLT Why sample statistics behave predictably Parameters, statistics, and sampling variability, The sampling distribution of the sample mean, The central limit theorem, The sampling distribution of a sample proportion, Good estimators: bias and variability
Part III: Inference
- 9 Confidence Intervals Estimating parameters with a stated level of confidence Point estimates and interval estimates, Confidence interval for a proportion, The t distribution and intervals for a mean, What controls the margin of error, Choosing the sample size
- 10 Hypothesis Testing p-values, errors, power, and honest conclusions The logic of a hypothesis test, Test statistics, p-values, and decisions, The one-proportion z test, The one-sample t test, Errors and power
- 11 Comparing Two Groups Two proportions, two means, paired data, permutation tests Two samples: independent or paired?, Comparing two proportions, Comparing two means, Paired data, Permutation tests
- 12 Categorical Data Analysis Chi-square tests, residuals, odds ratios Counts, expected counts, and the kinds of question, The chi-square statistic and its distribution, Goodness of fit: does one variable follow a claimed distribution?, Test of independence: are two categorical variables related?, Homogeneity: same distribution in several populations?
- 13 Analysis of Variance Comparing many means with the F test Why not just run many t tests?, The idea: between-group and within-group variation, Sums of squares, mean squares, and the F statistic, A complete example, Conditions for ANOVA
- 14 Linear Regression Least squares, residuals, R squared, and inference for the slope The linear model, The least-squares line, How well does the line fit?, Outliers, leverage, and influence, Extrapolation, causation, and other cautions
Part IV: Putting it together
Appendices
- A Formula Sheet and Symbol Glossary Every formula in the course on one page Describing data (Chapters 3 and 4), Probability (Chapter 5), Random variables and discrete distributions (Chapter 6), The normal distribution (Chapter 7), Sampling distributions (Chapter 8)
- B Statistical Tables z, t, chi-square, F, studentized range, binomial and Poisson tables computed live The standard normal table, The \(t\) table, The chi-square table, The \(F\) table, The studentized range table for Tukey's HSD
- C Practice Exams A midterm and a final, with worked solutions How to use these exams, Practice Exam 1: Midterm (Chapters 1 to 8), Practice Exam 2: Comprehensive Final (Chapters 1 to 15), Common mistakes and how to avoid them
- D Index Numbers and Grouped Data Extra topics common in national curricula Grouped frequency data, Index numbers, Changing the base, chaining, and deflating, Moving averages, Summary