📘 Notes
Structured statistics and probability notes — 30 lessons across 13 chapters , from organizing raw data to multiple regression. Every lesson follows the same shape:
Concept → Formula → Worked example by hand → Excel → R → Python
→ Quick Reference table → Common Mistakes → link to Exercises
Each file links to its matching exercise set at the bottom, and to the previous/next lesson.
01 — Foundations of Data
File
Topic
01-01-statistics-basics-and-data-types.md
Population vs. sample, parameter vs. statistic, descriptive vs. inferential, qualitative/quantitative, the four levels of measurement
01-02-data-representation-and-organization.md
Tidy/rectangular layout, wide vs. long, coding & codebooks, sorting, filtering, ranking, data-quality checks
02 — Frequency Distributions
File
Topic
02-01-frequency-distributions.md
Categorical and grouped frequency tables, class limits & boundaries, midpoints, width, Sturges' rule, cumulative frequency
02-02-graphical-displays.md
Bar, Pareto, pie, histogram, frequency polygon, ogive, stem-and-leaf, dot plot, boxplot; reading shape and skew; misleading graphs
03 — Central Tendency
04 — Variation & Position
File
Topic
04-01-measures-of-variation.md
Range, variance, standard deviation, why n−1, coefficient of variation, the empirical rule, Chebyshev's theorem
04-02-measures-of-position-and-outliers.md
Z-scores, percentiles, quartiles, IQR, five-number summary, the 1.5×IQR rule, outlier handling
05 — Probability
File
Topic
05-01-probability-basics.md
Sample spaces, events, classical/empirical/subjective probability, the probability rules, complements, odds, simulation
05-02-probability-rules-and-conditional.md
Addition and multiplication rules, independence, conditional probability, contingency tables, tree diagrams, total probability
05-03-bayes-and-counting-rules.md
Bayes' theorem, base-rate neglect, the fundamental counting principle, factorials, permutations, combinations
06 — Discrete Distributions
File
Topic
06-01-random-variables-and-expected-value.md
Discrete random variables, probability distributions, expected value, variance, decision problems, rules for E and Var
06-02-binomial-and-poisson-distributions.md
Binomial, Poisson, geometric, hypergeometric — conditions, formulas, means, and which to choose
07 — Continuous & Normal
08 — Sampling Theory
09 — Confidence Intervals
10 — Hypothesis Testing
11 — t-Tests
File
Topic
11-01-one-sample-t-test.md
The t-distribution, one-sample t-test, reporting format, assumption checks, nonparametric backup
11-02-two-sample-t-test.md
Independent samples: Welch's vs. pooled, equal-variance tests, CI for the difference, Cohen's d
11-03-paired-t-test.md
Dependent samples, collapsing to differences, why pairing is more powerful, matched-pairs design
12 — Chi-Square & ANOVA
File
Topic
12-01-chi-square-goodness-of-fit.md
The chi-square statistic, expected counts, goodness-of-fit for uniform and specified distributions, test for a variance
12-02-chi-square-test-of-independence.md
Two-way tables, expected counts under independence, (r−1)(c−1) df, Cramér's V, test of homogeneity, Fisher's exact test
12-03-one-way-anova.md
Partitioning variation, the F-statistic, the ANOVA table, post-hoc tests (Tukey, Bonferroni), eta squared
13 — Correlation & Regression
File
Topic
13-01-correlation.md
Scatterplots, Pearson's r, the coefficient of determination, testing significance, Spearman and Kendall, correlation vs. causation
13-02-simple-linear-regression.md
The least-squares line, slope and intercept, residuals, s_e, prediction vs. confidence intervals, the LINE assumptions
13-03-regression-inference-and-multiple-regression.md
Testing the slope, CI for β₁, the regression ANOVA table, multiple regression, adjusted R², multicollinearity, dummy variables
Notation Used Throughout
Symbol
Meaning
Symbol
Meaning
N, n
Population / sample size
μ, x̄
Population / sample mean
σ, s
Population / sample standard deviation
σ², s²
Population / sample variance
p, p̂
Population / sample proportion
ρ, r
Population / sample correlation
α
Significance level
β
Type II error rate; also a regression parameter
df
Degrees of freedom
E
Margin of error, or an expected count
H₀, H₁
Null / alternative hypothesis
λ
Poisson or exponential rate
Tip
Formulas are written inside plain code blocks rather than LaTeX so they render identically on GitHub and on the live site. Copy them straight into a worksheet cell comment or a script.