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 →
VOLUME S • MODULE S.63 Chapters in Unit

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.

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
Interactive Laboratories:
  • S.6.1.1OLS Squared-Residual Fit, Residual Plot & Anscombe's Quartet Lab (OLSRegressionAnscombeLab)
~30 min • Prereqs: S.1.3, S.5.3Open Chapter 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)
Interactive Laboratories:
  • S.6.2.13D Multiple Regression Plane & Ridge/Lasso Contour Lab (MultipleRegression3DRegularizationLab)
~35 min • Prereqs: 2.2.3, S.6.1Open Chapter 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)}
Interactive Laboratories:
  • S.6.3.1Beta–Binomial Bayesian Updater & 1,000-Resample Bootstrap Lab (BayesianUpdatingAndBootstrapLab)
~35 min • Prereqs: S.2.2, S.4.2, S.6.1Open Chapter Labs