BIO 165 · Quantitative Biology
  • Lecture script
  • PDF
  1. Welcome
  • Welcome
  • Week 1: Introduction and getting started
    • 1  Introduction
    • 2  Getting Python and notebooks to Run
    • 3  Biological data: Types and the Concept of Tidy Data
  • Week 2: Biological data
    • 4  Biological Data: Origin, Variability, and Rigor
    • 5  Data Visualization
    • 6  Datasets in this course
  • Week 3: Fitting and regression
    • 7  Fitting and the importance of Regression
    • 8  Linear regression
    • 9  Non-linear regression
  • Week 4: Probability and uncertainty
    • 10  A probabilistic view and the law of large numbers
    • 11  Sampling variability and the standard error of the mean
    • 12  Bootstrapping
  • Week 5: Hypothesis testing
    • 13  Hypothesis testing
    • 14  Multiple hypothesis testing
  • Week 6: Counting statistics
    • 15  Counting Statistics and Discrete Biological Measurements
  • Week 7: Omics and high-dimensional data
    • 16  Omics Data: From Counting to Cellular State
    • 17  Nonlinear dimensionality reduction and UMAP
    • 18  Clustering Algorithms
  • Week 8: Dynamical systems and stochastic processes (optional)
    • 19  Differential equation and the modeling of dynamical systems
    • 20  The Dynamical Relation Between mRNA and Proteins
    • 21  Stochastic Processes
  • Week 9: Nonlinear dynamics (optional)
    • 22  Nonlinear Dynamics
  • References

Quantitative Approaches in Modern Biology

BIO 165/265 — Lecture Script

Authors

Shaili Mathur

Jonas Cremer

Published

October 6, 2026

Welcome

BIO 165/265 · Stanford University

Quantitative Approaches in Modern Biology

Quantitative methods and statistics to analyze cell, molecular, and organismal biology.

Start reading Download PDF

Data and code, a bell curve, and cells: quantitative analysis of cell biology.

Welcome to BIO165/265

For beginners. This course is for biology students with little background in coding, mathematics, or statistics. We introduce every concept step by step and focus on the conceptual logic rather than on mathematical proofs. We apply each concept or method to real biological data in Python-based dry labs. If much of this is new to you, plan to invest time: getting comfortable with coding and quantitative reasoning takes practice, especially in the first weeks. We will guide you through it with these detailed notes, the dry labs, tutorials, and office hours. The potential reward is substantial: quantitative skills are increasingly central to modern, data-rich biology, and this course provides a foundation from which you can develop them further.

A guiding principle: from coin tosses to cells. Fundamental statistical ideas in biology can be understood through the simplest random experiment there is — tossing a coin. We will therefore return to the coin toss repeatedly throughout this course to illustrate why averages become reliable (law of large numbers), how uncertain an estimate is (standard error, bootstrapping), and how to decide whether a difference is real (is the coin fair?). The same counting logic then describes sequencing reads and molecule numbers (counting statistics) and the stochastic gene expression of individual cells (stochastic processes).

AI as an opportunity to promote quantitative analysis. We encourage the use of AI tools in this course. Large language models can help substantially with coding, debugging, and exploring analysis approaches, and they make quantitative analysis more accessible than ever before — a real opportunity, especially if you are new to coding. At the same time, it is essential to maintain conceptual control: understand what each analysis step does and why, check AI-generated code and results critically, and judge whether an outcome makes biological and statistical sense. See Use of AI tools for our recommendations and the course policy.

Lecture Notes. This website contains detailed lecture notes that support the in-class lectures and provide additional context and detail. The notes are still under active development: we have newly put them together for this year’s course and continue to extend and improve them. Your feedback is highly appreciated — please let us know about typos, unclear explanations, or suggestions for improvement. Contact Jonas Cremer or open an issue on GitHub.

Jonas Cremer, March 2026

The course, week by week

Data & models Statistics Dynamics (optional)

Week 1 Introduction & getting started

  • Quantitative reasoning in biology
  • Python and notebooks
  • Biological data and tidy data

Week 2 Biological data

  • Origin, variability, and rigor
  • Data visualization
  • Datasets in this course

Week 3 Fitting and regression

  • Why regression matters
  • Linear regression
  • Non-linear regression

Week 4 Probability and uncertainty

  • Probability and the law of large numbers
  • Standard error of the mean
  • Bootstrapping

Week 5 Hypothesis testing

  • Hypothesis testing
  • Multiple hypothesis testing

Week 6 Counting statistics

  • Counting statistics and discrete measurements

Week 7 Omics and high-dimensional data

  • Omics data and PCA
  • Nonlinear dimensionality reduction (UMAP)
  • Clustering

Week 8 Optional Dynamical and stochastic systems

  • Differential equations
  • mRNA and protein dynamics
  • Stochastic processes

Week 9 Optional Nonlinear dynamics

  • Feedback, bistability, and bifurcations
1  Introduction

BIO 165/265 · Stanford University · Cremer Lab