ThinkStats2 is the code and text companion for the second edition of Think Stats, an introduction to statistics and data science for Python programmers. It teaches probability and statistical reasoning through short programs, experiments, and analysis of real datasets. The material emphasizes exploratory methods that help readers ask and answer practical questions with data. Case studies draw from public sources, including health-related datasets, to connect abstract concepts with realistic analysis. Each chapter has a notebook containing examples and exercises, along with a separate version that includes solutions. The repository also provides reusable thinkstats2 and thinkplot packages, homework material, workshops, and book-building files. Learners can use the notebooks in Google Colab or download the project for local work.

Features

  • Python-based probability and statistics instruction
  • Real-world datasets and analytical case studies
  • Chapter notebooks with exercises and solutions
  • Reusable thinkstats2 statistical utilities
  • Thinkplot tools for data visualization
  • Homework, workshop, and teaching materials

Project Samples

Project Activity

See All Activity >

Categories

Education

License

GNU General Public License version 3.0 (GPLv3)

Follow ThinkStats2

ThinkStats2 Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ThinkStats2!

Additional Project Details

Programming Language

Python

Related Categories

Python Education Software

Registered

2026-07-10