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 for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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