Applied Statistics
College9 units and 22 lessons. Helio talks each one through and draws each step on a board.
Units
Describing data
2 lessons- Graphs of dataDraw and read a histogram, a boxplot and a scatterplot, choosing bin widths and naming shape, centre, spread and outliers.
- Numerical summariesCompute and interpret the mean, median, standard deviation and interquartile range, and choose the summaries that resist outliers for skewed data.
Probability models for data
3 lessons- The binomial modelRecognize binomial counts, compute binomial probabilities, and use the mean np and standard deviation √(np(1 − p)) to judge whether a count is unusual.
- The Poisson modelModel counts of rare events in an interval with P(X = k) = e^{−λ}λᵏ/k!, check the fit against data, and rescale λ to a new interval.
- The normal model and normal quantile plotsFind normal probabilities and percentiles with z-scores, and judge from a normal quantile plot whether a normal model fits a data set.
Sampling distributions
2 lessons- The central limit theorem in practiceSimulated sample means from a skewed population pile into a bell narrower by √n; the standard error σ/√n, and how large n must be for skewed data.
- The t distributionReplacing σ by s gives the t statistic; the t curve's heavier tails beside the normal for 4 and 30 degrees of freedom, and t critical values.
Confidence intervals
3 lessons- Confidence intervals for a meanx̄ ± t* s/√n for the mean battery life of 25 batteries, what 95 percent confidence means (20 simulated intervals, about one missing the true mean), and the conditions.
- Confidence intervals for a proportionp̂ ± z*√(p̂(1 − p̂)/n) for a poll, the margin of error, and the plus-four interval when counts are small.
- Choosing a sample sizeSolving the margin-of-error formula for n, for a mean with a guessed σ and for a proportion with p = 0.5, and the cost of halving the margin.
Hypothesis tests
3 lessons- Testing a meanThe one-sample t test of whether bottles hold 500 mL: hypotheses, t statistic, the p-value as a tail area under the t curve, and a conclusion in context.
- Errors and powerType I and type II errors, the significance level, power as the area of the alternative's curve past the cut-off, and how n and effect size raise it, drawn with two overlapping curves.
- Comparing two meansWelch's two-sample t test for two teaching methods, the paired t test for before-and-after data, side-by-side boxplots and why pairing removes person-to-person spread.
Categorical data
2 lessons- Comparing two proportionsThe two-proportion z test and interval for a vaccine trial, the pooled proportion, and a segmented bar chart of the outcome by group.
- Chi-square testsGoodness of fit for a die and independence in a two-way table of preference by age group, expected counts, the chi-square statistic and its right-tail p-value.
Comparing several groups
1 lesson- One-way analysis of varianceThree diets' weight losses in side-by-side boxplots, between- and within-group variation, the F statistic and its p-value, and the conditions of equal spread and normality.
Regression and curve fitting
4 lessons- Fitting a line by least squaresThe least-squares line through a scatterplot of advertising and sales, slope b = r s_y/s_x, residuals as vertical gaps, and r² as the share of variation explained.
- Inference for regressionThe model y = β₀ + β₁x + ε, the standard error of the slope, the t test and interval for β₁, and confidence versus prediction bands around the line.
- Regression diagnosticsResidual plots that reveal curvature and fanning, a normal quantile plot of residuals, and outliers and high-leverage points that move the line.
- Fitting curves by transformationExponential growth data straightened by taking logarithms, a power law straightened on log-log axes, fitting the line and transforming back, with the curved fit over the data.
Resampling methods
2 lessons- Bootstrap confidence intervalsResampling the sample with replacement to see an estimate's variability, the bootstrap distribution of a median as a histogram, and the percentile interval.
- Permutation testsShuffling group labels to build the null distribution of a difference in means, the observed difference against it, and the p-value as the share at least as extreme.
