Anscombe's Quartet Research

Presented at PIMS / AMD

Anscombe's Quartet Research

Exploratory data analysis project demonstrating the critical importance of dataset visualization before calculating statistical models. Replicates Anscombe's Quartet using NumPy vectorized matrix solves, SymPy symbolic math, and Matplotlib.

Overview

An applied mathematics and data science research project exploring numerical fragility in statistical regression. The project replicates and extends Anscombe's Quartet to prove that summary statistics can obscure radical structural differences.

Key Features & Engineering Highlights

  • ✦Vectorized calculation of mean, variance, and standard deviation using NumPy dot products
  • ✦Linear algebra matrix solver using np.linalg.solve to compute regression lines
  • ✦Symbolic mathematics and regex-based quadratic solver handling real and complex roots
  • ✦Presented at Mount Royal University Research Days and the Alberta Mathematics Dialogue (AMD / PIMS)
  • ✦Interactive Matplotlib data plots highlighting why visual inspection is essential in statistical workflows
⚠️

The Problem

Standard automated data pipelines frequently rely on summary metrics (mean, variance, R² values) to evaluate model quality. However, identical statistical summaries can conceal catastrophic non-linearities, clustering, and leverage outliers.

💡

The Solution

Developed a mathematical computation suite in Python utilizing NumPy matrix algebra, SymPy symbolic solvers, and Matplotlib visualization to compute identical descriptive profiles across radically diverging distributions, paired with visual diagnostic reports.

Key Engineering Decisions

NumPy Vectorized Matrix Solvers

Implemented least-squares regression lines using np.linalg.solve rather than black-box libraries, ensuring numerical transparency and precision.

Conference Presentation & Dissemination

Presented methodology and findings at both Mount Royal University Research Days and the Alberta Mathematics Dialogue (Pacific Institute for the Mathematical Sciences event).

Results & Impact

  • ✓Presented at MRU Research Days and Alberta Mathematics Dialogue / PIMS
  • ✓Authored complete academic slide deck and open-source verification scripts

Limitations & Next Steps

  • →Synthetic datasets: the work replicates and extends a known statistical demonstration rather than producing novel statistical theory.
  • →Scope is exploratory analysis and research communication; no production pipeline or deployed model.

Related Projects

Other work that shares technologies or themes with Anscombe's Quartet Research.