Fantasy Sports Product Analytics

A complete analytics workflow modeled on a product data analyst role: data pipeline → metrics layer → A/B test analysis → EDA → interactive dashboard.

Repo: github.com/aksh-ay06/analytics · Stack: DuckDB, nfl_data_py, pandas, SciPy, Streamlit, Jupyter


What’s Inside

  • Pipeline: pulls 5 NFL seasons (2020–2024) into DuckDB, roughly 28K weekly stat rows, 229K roster rows, and 131K snap-count rows. The data is modeled as dimension and fact tables for skill positions in the regular season.
  • Metrics: rolling averages, boom/bust rates, and the coefficient of variation as a measure of consistency.
  • Experiment analysis (on simulated experiment data):
MetricTest
Waiver claim rate (primary)Two-proportion z-test, Wald CI, Cohen’s h
Claims per userWelch’s t-test, Cohen’s d
Lineup set rate, season retentionTwo-proportion z-tests
Novelty effectWeek-by-week lift
HeterogeneityPer-segment tests (user type, league type)
  • Dashboard: a multi-page Streamlit app with KPIs, a player explorer, leaderboards, and an experiment results page.

← All Projects