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
Go from Code to Production URL in Seconds Icon
Go from Code to Production URL in Seconds

Cloud Run deploys apps in any language instantly. Scales to zero. Pay only when code runs.

Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
Try it 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