Official Companion Code, Datasets, and Reader Community
📖 Access Book via Oxford Academic (DOI) • 🛒 Order Print / E-Book (OUP) • 💬 Reader Community
📖 Get 30% Off the Book: Intuitive Biostatistics with Python: A Python Companion Guide for Life Sciences Professionals (Oxford University Press, 816 Pages, ISBN:
9780197845028) is out now! Use promotion codeAUFLY30at global.oup.com/academic to save 30% (£75.25 / $114.10).
While you can clone this repository and run the scripts directly, I highly recommend typing the code out yourself as you read. The best way to build an intuitive understanding of biostatistics is through hands-on experimentation.
Use this repository as a safety net to check your work, but do not hesitate to break the code, modify parameters, and most importantly, apply these scripts to your own unique datasets!
All Jupyter Notebooks correspond directly to the book chapters and can be browsed directly on GitHub or run locally:
The data/ directory contains all raw data files used across the analyses:
animals.csv— Animal measurement datacytometry.csv— Flow cytometry experimental datadata_final.csv— Compiled clinical and experimental cohort dataifng_data.csv— Interferon-gamma (IFN-γ) assay measurementssmp2.csv&Pr_sentation_variables__tude_SMP_MOOC_R.pdf— "Santé Mentale en Prison (SMP)" study dataset and clinical variable documentation
Requires Python 3.12 installed on your system.
1. Clone the repository:
git clone https://github.com/sbwiecko/intuitive-biostatistics-python.git
cd intuitive-biostatistics-python2. Create and activate a virtual environment:
python -m venv venv
# On Windows (PowerShell):
venv\Scripts\Activate.ps1
# On macOS/Linux:
source venv/bin/activate3. Install required dependencies:
pip install -r requirements.txt4. Launch Jupyter Notebook or JupyterLab:
jupyter notebook
# or: jupyter labClick the Launch Binder badge below to run the notebooks in an interactive Jupyter environment in your browser:
As featured in the book, Anaconda provides an all-in-one data science distribution including Python, conda, and pre-curated packages. It features Anaconda Navigator, a point-and-click desktop application (GUI) ideal for managing environments and launching Jupyter Notebook without using the command line.
1. Install Anaconda:
- Download the full "Distribution Installer" for your operating system from the official Anaconda download page.
- Run the installer using the default options (see the troubleshooting guide if needed).
2. Replicate the Book's Environment (intuitive_biostatistics_python):
-
Via Anaconda Navigator (GUI):
- Open Anaconda Navigator and go to the Environments tab on the left.
- Click Import at the bottom of the environment list.
- Select Local drive, browse to and select the repository's
environment.ymlfile, and click Import. - Once downloaded and installed, activate
intuitive_biostatistics_pythonby clicking the green arrow or selecting it in the environment list.
-
Via Terminal (
condaCLI alternative):conda env create -f environment.yml conda activate intuitive_biostatistics_python
3. Launch Jupyter Notebook:
- Return to the Home tab in Anaconda Navigator and verify that the dropdown shows "All applications on intuitive_biostatistics_python".
- Locate Jupyter Notebook and click Launch (this opens Jupyter in your default web browser).
- In the Jupyter file browser, navigate to the folder containing your companion notebooks and click any
.ipynbfile to open it (or select New > Python 3 (ipykernel) to start a fresh notebook). - Run cells using
Shift + Enteror via Run > Run Selected Cell. - When finished, save your work, go to the Running tab in Jupyter to shut down running kernels, and safely exit Anaconda Navigator.
This repository serves as an open forum for readers:
- 🙋 Questions & Discussions:
Use GitHub Discussions to ask conceptual questions about the book, discuss statistical interpretations, or share how you applied the code to your lab's data. - 🐛 Errata & Code Bugs:
Found a typo in a notebook, an outdated dependency, or an erratum? Please open an Issue specifying the chapter and notebook affected. - 🤝 Pull Requests:
Community contributions and typos fixes are welcome! Feel free to open a Pull Request for code corrections, comments clarity, or dependency compatibility updates.
- 🏛️ Online Reading & Institutional Access (Oxford Academic):
Available via persistent DOI: doi.org/10.1093/oso/9780197845028.001.0001. University and research institute members can access the full electronic chapters through their library subscriptions (Shibboleth/OpenAthens/IP). - 🛒 Print & Commercial E-Book Editions (Hardcover, Paperback, E-Book):
Order physical hardbound/paperback copies or individual digital editions directly through the Oxford University Press Catalog or your preferred academic bookseller.
@book{wieckowskiIntuitiveBiostatisticsPython2026,
author = {Wieckowski, Sébastien},
title = {Intuitive biostatistics with python: a python companion guide for life sciences professionals},
publisher = {Oxford University Press},
year = {2026},
doi = {10.1093/oso/9780197845028.001.0001},
edition = {1},
isbn = {978-0-19-784502-8 978-0-19-784588-2},
url = {https://academic.oup.com/book/63332}
}- Print ISBN:
9780197845028(Hardcover / Paperback) - Online ISBN:
9780197845882(Oxford Academic / Electronic) - DOI:
10.1093/oso/9780197845028.001.0001
- Code & Notebooks: All Python scripts and Jupyter Notebooks (
*.ipynb) in this repository are released under the MIT License. You are free to use, modify, and distribute the code for academic, scientific, and commercial purposes. - Book Content & Cover: The book cover (
cover.png), explanatory prose, and pedagogical materials from Intuitive Biostatistics with Python are copyrighted by Oxford University Press. All rights reserved. - Datasets: The sample datasets in
data/are provided for educational and reproducibility purposes alongside the text; any third-party clinical or study datasets remain subject to their respective original sources and terms of use.
