Central Limit Theorem Explained: Why Averages Behave
Averages of almost any data form a bell curve as samples grow. Here is what the central limit theorem says, a short simulation, and where it breaks.
Read more →Notes on data engineering, AI and building things end to end.
Averages of almost any data form a bell curve as samples grow. Here is what the central limit theorem says, a short simulation, and where it breaks.
Read more →
Simpson’s paradox is when a trend in every subgroup reverses once the groups are combined. Here is a real example, why it happens, and how to avoid it.
Read more →
Bayes’ theorem updates a belief after new evidence. Here is a worked medical-test example, the base rate fallacy, and why precision depends on how rare cases are.
Read more →
Linear regression predicts a number from a weighted sum of inputs. Here is how it is fitted, the assumptions that matter, and the pitfalls to avoid.
Read more →
A confidence interval shows how precise an estimate is. Here is what 95% really means, what changes the width, and how the bootstrap builds one.
Read more →
Two lines rising together does not mean one causes the other. Here is what correlation measures, why it appears without causation, and how to get closer.
Read more →
MAE, RMSE and R-squared answer different questions. Here is what each one measures, when to use it, and the MAPE trap with zeros.
Read more →
TF-IDF scores words by how much they say about a document. Here is how it works, a scikit-learn example, and where embeddings do better.
Read more →
Time quietly breaks reports. Here is why to store UTC, how time zones differ from offsets, and how to define a business day and rerun safely.
Read more →
GROUP BY makes one row per group and HAVING filters the groups. Here is how WHERE and HAVING differ, in what order SQL runs, and the usual mistakes.
Read more →