wanna mathMath ain't scary (not anymore)
4-Tier Textbook Index • Vol → Mod → Ch → Lab

Engineering Mathematics Volumes I–VI

6 Volumes • 20 Modules • 85 ChaptersFull Matrix →
4-Tier Statistics Index • Vol S → Mod → Ch → Lab

Interactive Statistics (S.1–S.6)

6 Modules • 18 ChaptersStatistics Index →
TEXTBOOK VOLUME S • 6 MODULES • 18 CHAPTERS18 Chapters Published Live

Volume S: Interactive Statistics: Foundations to Inference

A complete first-principles journey through statistics: from visualizing raw data, center, and spread to probability axioms, Bayes' theorem, the Central Limit Theorem, confidence intervals, hypothesis testing, ANOVA, regression, and Bayesian inference.

Core Engineering Applications
  • •Exploratory Data Analysis (EDA), Quality Control & Anomaly Detection
  • •A/B Testing, Experimental Power & Clinical/Product Decision Theory
  • •Signal-to-Noise Decomposition (ANOVA), Regression & Regularization
  • •Bayesian Belief Updating & Nonparametric Bootstrap Uncertainty

Modules & Chapters in Volume S

Home Overview
MODULE S.13 Chapters

Descriptive Statistics & Exploratory Data Analysis

Learn how to see the story hidden in raw numbers: classifying data types, choosing honest histogram bins, balancing center against outliers, and measuring spread with IQR and Bessel-corrected variance.

Open Module S.1
CHAPTER S.1.1 • 2DPublished (1 Labs)

Data Types, Histograms, Binning & Empirical Distributions

Turn a messy list of raw measurements into a clear visual shape—and see how bin width and density scaling shape what your eyes notice.

Densityj=Countjn⋅Δx,∑j=1k(Densityj⋅Δx)=1\text{Density}_j = \frac{\text{Count}_j}{n \cdot \Delta x}, \qquad \sum_{j=1}^{k} (\text{Density}_j \cdot \Delta x) = 1
HistogramBinningShapeLabLaunch Labs
CHAPTER S.1.2 • 2DPublished (1 Labs)

Measures of Center: Mean, Median, Mode & Outlier Leverage

See the arithmetic mean as a physical balance fulcrum on a seesaw—and discover why a single extreme outlier drags the mean while leaving the median unmoved.

xˉ=1n∑i=1nxi⟺∑i=1n(xi−xˉ)=0\bar{x} = \frac{1}{n}\sum_{i=1}^{n} x_i \quad\Longleftrightarrow\quad \sum_{i=1}^{n}(x_i - \bar{x}) = 0
MeanMedianSeesawLabLaunch Labs
CHAPTER S.1.3 • 2DPublished (1 Labs)

Spread, Variance (n − 1 Bessel's Correction), Boxplots & Skewness

Measure consistency and risk with deviation squares, interquartile boxplots, and a live sampling simulator proving why sample variance divides by n − 1.

s2=1n−1∑i=1n(xi−xˉ)2,s=s2s^2 = \frac{1}{n-1}\sum_{i=1}^{n}(x_i - \bar{x})^2, \qquad s = \sqrt{s^2}
SpreadBoxplotBesselLabLaunch Labs
MODULE S.23 Chapters

Probability Foundations, Bayes' Theorem & Discrete Laws

Build probability from visual area and set logic: Kolmogorov's axioms, why disjoint ≠ independent, Bayes' belief updating with frequency grids, and Binomial/Poisson counting laws.

Open Module S.2
CHAPTER S.2.1 • 2DPublished (1 Labs)

Sample Spaces, Events, Set Operations & Kolmogorov Axioms

See probability as normalized area inside a unit sample space—and resolve the classic confusion between mutually exclusive and independent events.

P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B)
VennProbabilityAreaLabLaunch Labs
CHAPTER S.2.2 • 2DPublished (1 Labs)

Conditional Probability, Tree Diagrams & Bayes' Theorem Intuition

Watch conditioning shrink the entire universe to what actually happened—and see why rare conditions make positive tests surprising.

P(A∣B)=P(A∩B)P(B),P(H∣E)=P(E∣H)P(H)P(E)P(A \mid B) = \frac{P(A \cap B)}{P(B)}, \qquad P(H \mid E) = \frac{P(E \mid H)P(H)}{P(E)}
BayesMosaicTreeLabLaunch Labs
CHAPTER S.2.3 • 2DPublished (1 Labs)

Discrete Random Variables: Bernoulli, Binomial, Geometric & Poisson

Drop balls through a Galton pegboard to connect coin flips, waiting times, and rare-event Poisson arrivals.

P(X=k)=(nk)pk(1−p)n−k,P(Y=k)=λke−λk!P(X = k) = \binom{n}{k}p^k(1-p)^{n-k}, \qquad P(Y = k) = \frac{\lambda^k e^{-\lambda}}{k!}
GaltonBoardDiscreteLabLaunch Labs
MODULE S.33 Chapters

Continuous Laws, Sampling & The Central Limit Theorem

Bridge raw samples to universal sampling laws: Z-scores and Q-Q normality diagnostics, animated LLN and Central Limit Theorem convergence, and exact t, χ², and F distributions.

Open Module S.3
CHAPTER S.3.1 • 2DPublished (1 Labs)

The Normal Bell Curve, Z-Scores, 68–95–99.7 Rule & Q-Q Plots

Turn any Normal measurement into unitless standard deviations from the mean—and learn to spot fat tails or skew on a Q-Q plot.

Z=X−μσ,f(x)=1σ2πe−12((x−μ)/σ)2Z = \frac{X - \mu}{\sigma}, \qquad f(x) = \frac{1}{\sigma\sqrt{2\pi}}e^{-\frac{1}{2}((x-\mu)/\sigma)^2}
NormalZScoreQQPlotLabLaunch Labs
CHAPTER S.3.2 • 2DPublished (1 Labs)

The Law of Large Numbers (LLN) & The Central Limit Theorem (CLT)

Watch sample averages from skewed, uniform, and U-shaped populations morph into a tight Gaussian bell at speed 1/√n.

SE⁡(Xˉ)=σn,Xˉn≈N ⁣(μ,  σ2n)\operatorname{SE}(\bar{X}) = \frac{\sigma}{\sqrt{n}}, \qquad \bar{X}_n \approx \mathcal{N}\!\left(\mu,\; \frac{\sigma^2}{n}\right)
CentralLimitTheoremAnimatorLabLaunch Labs
CHAPTER S.3.3 • 2DPublished (1 Labs)

Exact Sampling Distributions: Student's t, Chi-Square (χ²) & Fisher's F

See how Student's t, χ², and F emerge naturally by combining standard Normal draws when estimating means and variances.

tν=Xˉ−μS/n,χn−12=(n−1)S2σ2t_\nu = \frac{\bar{X} - \mu}{S/\sqrt{n}}, \qquad \chi^2_{n-1} = \frac{(n-1)S^2}{\sigma^2}
SamplingDistributionsTChi2FLabLaunch Labs
MODULE S.43 Chapters

Statistical Inference: Estimation, Confidence Intervals & Hypothesis Testing

Use partial sample data to reason backwards about unknown populations: Maximum Likelihood Estimation, Bias–Variance tradeoffs, Confidence Interval coverage, p-values, and Statistical Power.

Open Module S.4
CHAPTER S.4.1 • 2DPublished (1 Labs)

Point Estimation, Maximum Likelihood (MLE) & The Bias–Variance Tradeoff

Flip probability around: hold the observed data fixed, slide candidate parameters, and climb the Log-Likelihood peak.

ℓ(θ)=∑i=1nln⁡f(xi∣θ),MSE⁡(θ^)=Bias⁡(θ^)2+Var⁡(θ^)\ell(\theta) = \sum_{i=1}^{n}\ln f(x_i \mid \theta), \qquad \operatorname{MSE}(\hat{\theta}) = \operatorname{Bias}(\hat{\theta})^2 + \operatorname{Var}(\hat{\theta})
MaximumLikelihoodBiasVarianceLabLaunch Labs
CHAPTER S.4.2 • 2DPublished (1 Labs)

Confidence Intervals: Z vs. t Intervals, Margin of Error & Coverage

Run 100 repeated experiments at once to see what '95% confidence' truly means—it is the intervals that dance around fixed μ, not vice versa.

CI1−α=xˉ±tα/2, n−1sn\text{CI}_{1-\alpha} = \bar{x} \pm t_{\alpha/2,\, n-1}\frac{s}{\sqrt{n}}
ConfidenceIntervalCoverageLabLaunch Labs
CHAPTER S.4.3 • 2DPublished (1 Labs)

Hypothesis Testing, p-Values, Type I/II Errors & Statistical Power

Balance false alarms (α) against missed discoveries (β) on overlapping H₀ and H₁ bells—and cure the #1 p-value misconception forever.

α=P(Type I Error),β=P(Type II Error),Power=1−β\alpha = P(\text{Type I Error}), \qquad \beta = P(\text{Type II Error}), \qquad \text{Power} = 1 - \beta
HypothesisPowerOverlapLabLaunch Labs
MODULE S.53 Chapters

Comparing Groups, Categorical Tests, Simpson's Paradox & ANOVA

Move from single samples to real comparative experiments: Paired vs. Welch's two-sample t-tests, Chi-Square tables, confounding reversals in Simpson's Paradox, and Variance Decomposition (ANOVA).

Open Module S.5
CHAPTER S.5.1 • 2DPublished (1 Labs)

Comparing Two Groups: Paired vs. Independent Welch's t-Tests & Cohen's d

See how pairing before-and-after measurements cancels subject-to-subject noise—and why Welch's test outperforms equal-variance pooling.

tpaired=dˉsd/n,tWelch=Xˉ1−Xˉ2s12/n1+s22/n2t_{\text{paired}} = \frac{\bar{d}}{s_d/\sqrt{n}}, \qquad t_{\text{Welch}} = \frac{\bar{X}_1 - \bar{X}_2}{\sqrt{s_1^2/n_1 + s_2^2/n_2}}
TwoSamplePairedWelchLabLaunch Labs
CHAPTER S.5.2 • 2DPublished (1 Labs)

Chi-Square Goodness-of-Fit, Contingency Tables & Simpson's Paradox

Compare observed counts against expected independence—and witness how combining two departments can completely reverse a winning rate.

χ2=∑(O−E)2E,df=(r−1)(c−1)\chi^2 = \sum \frac{(O - E)^2}{E}, \qquad \text{df} = (r-1)(c-1)
ChiSquareContingencySimpsonLabLaunch Labs
CHAPTER S.5.3 • 2DPublished (1 Labs)

One-Way ANOVA: Between vs. Within Variance & Multiple Comparisons

Test whether 3+ group means differ by comparing signal variance between groups against background noise variance within groups.

∑i,j(yij−yˉ)2=∑ini(yˉi−yˉ)2+∑i,j(yij−yˉi)2\sum_{i,j}(y_{ij} - \bar{y})^2 = \sum_i n_i(\bar{y}_i - \bar{y})^2 + \sum_{i,j}(y_{ij} - \bar{y}_i)^2
AnovaBetweenWithinLabLaunch Labs
MODULE S.63 Chapters

Regression, Regularization, Bayesian Updating & Resampling

Connect classical statistics to modern data science: OLS geometric squared-residual fitting, Anscombe's warning, 3D multiple regression with Ridge/Lasso geometry, Bayesian conjugate updating, and Efron's Bootstrap.

Open Module S.6
CHAPTER S.6.1 • 2DPublished (1 Labs)

Correlation (r), OLS Linear Regression, R² & Anscombe's Quartet

Draw literal squared residuals to see what Least Squares minimizes—and load Anscombe's Quartet to prove why summary numbers never replace plotting.

b1=∑(xi−xˉ)(yi−yˉ)∑(xi−xˉ)2=rsysx,R2=r2b_1 = \frac{\sum (x_i - \bar{x})(y_i - \bar{y})}{\sum (x_i - \bar{x})^2} = r\frac{s_y}{s_x}, \qquad R^2 = r^2
OLSRegressionAnscombeLabLaunch Labs
CHAPTER S.6.2 • 2D + 3DPublished (1 Labs)

Multiple Linear Regression (3D), Diagnostics & Ridge/Lasso Shrinkage

Fit a 3D regression plane to two predictors and see geometrically why Lasso's L₁ diamond snaps coefficients to zero while Ridge's L₂ circle shrinks smoothly.

β^=(XTX)−1XTy,Ridge (L2) vs. Lasso (L1)\hat{\boldsymbol{\beta}} = (X^T X)^{-1}X^T\mathbf{y}, \qquad \text{Ridge } (L_2) \text{ vs. Lasso } (L_1)
MultipleRegression3DRegularizationLabLaunch Labs
CHAPTER S.6.3 • 2DPublished (1 Labs)

Bayesian Conjugate Updating (Prior → Posterior) & Bootstrap Resampling

Watch prior beliefs update smoothly into posteriors as new data arrives—and compute confidence intervals on messy data via computer resampling.

p(θ∣data)∝p(data∣θ) p(θ),θ^(0.025)∗≤θ≤θ^(0.975)∗p(\theta \mid \text{data}) \propto p(\text{data} \mid \theta)\,p(\theta), \qquad \hat{\theta}^*_{(0.025)} \le \theta \le \hat{\theta}^*_{(0.975)}
BayesianUpdatingAndBootstrapLabLaunch Labs