by Allen B. Downey
Read the HTML version and run the notebooks.
Preorder the third edition here. The official publication date is June 2025, but I think it will be sooner than that!
To support this work, please consider buying me a coffee.
The GitHub repository for this book is here.
Description
Think Stats is an introduction to Probability and Statistics for Python programmers. If you have basic skills in Python, you can use them to learn concepts in probability and statistics and practical skills for working with data.
- This book emphasizes simple techniques you can use to explore real data sets and answer interesting questions.
- It includes case studies using datasets from the National Institutes of Health and other sources.
- In the third edition, each chapter is available as a Jupyter notebook where you can read the text, run the code, and work on exercises.
This book is available under a Creative Commons license, which means that you are free to copy, distribute, and modify it, as long as you attribute the source and don’t use it for commercial purposes.