Repolode
AllenDowney

AllenDowney/ThinkStats

Jupyter notebooks, data and supplementary material for the third edition of the Think Stats statistics textbook, built around Python and pandas.

Stars
1,284
Forks
204
Open issues
0
Last commit
6 days ago

What is it?

ThinkStats is the companion repository for the third edition of Think Stats, an introductory statistics book that teaches probability and statistics through hands-on Python code. It holds the notebooks, the data files the book uses, and additional examples and figures.

The notebooks come in two versions: one without solutions for students working through exercises, and one with solutions that serve as the source files. The book is also published online as an HTML version built with Jupyter Book, so readers can browse and run the notebooks in a browser. Zip archives of both notebook sets are available for download without cloning the repository.

The repository also includes a tutorial on time series analysis and a Makefile and requirements files for setting up a Conda environment to run the material.

Key features

  • 01Notebooks for the third edition of Think Stats, with and without solutions
  • 02Data files used throughout the book, stored directly in Git
  • 03Browsable online HTML version built with Jupyter Book
  • 04Additional examples, figures and a time series analysis tutorial
  • 05Conda setup via Makefile and requirements files

Use cases

  • Learning statistics hands-on by working through Python notebooks alongside the book
  • Checking solutions to exercises in the Think Stats curriculum
  • Studying time series analysis with the included tutorial
  • Teaching an introductory statistics course with pandas-based examples

Quick start

  1. 1

    Open the book online and run the notebooks in the browser

  2. 2

    Install the packages needed to run the notebooks

    pip install -r requirements.txt
  3. 3

    Or download the notebooks as a zip file without cloning the repository

Things to know

  • The README's setup instructions use a Conda environment via the Makefile, which may take extra effort to set up.

Topics

FAQ

What is ThinkStats?
Jupyter notebooks, data and supplementary material for the third edition of the Think Stats statistics textbook, built around Python and pandas. ThinkStats is the companion repository for the third edition of Think Stats, an introductory statistics book that teaches probability and statistics through hands-on Python code. It holds the notebooks, the data files the book uses, and additional examples and figures.
Is ThinkStats free to use? What license does it have?
ThinkStats is open source under the MIT license. Check the license terms before using it in commercial products.
Is ThinkStats still maintained?
Actively maintained. The last commit to ThinkStats was on Oct 15, 2026.
What can I use ThinkStats for?
Learning statistics hands-on by working through Python notebooks alongside the book Checking solutions to exercises in the Think Stats curriculum Studying time series analysis with the included tutorial Teaching an introductory statistics course with pandas-based examples
How do I install ThinkStats?
Open the book online and run the notebooks in the browser Install the packages needed to run the notebooks: pip install -r requirements.txt Or download the notebooks as a zip file without cloning the repository
Where can I get ThinkStats?
The source code and installation instructions are on GitHub: https://github.com/AllenDowney/ThinkStats

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects