A comprehensive guide to stochastic point processes — from Poisson foundations to self-exciting Hawkes processes — with rigorous theory and hands-on Python simulation.
Point processes are the mathematical framework for modeling sequences of events in continuous time. Whether you are analyzing earthquake aftershocks, neural spike trains, high-frequency financial trades, or server request logs, point processes give you the tools to describe, simulate, estimate, and forecast event arrivals.
This book bridges rigorous probability theory and practical computation. Each concept is developed mathematically and then immediately grounded in Python code. By the end, you will be able to choose the right process for your data, simulate it efficiently, fit it via maximum likelihood, and validate your model using principled goodness-of-fit diagnostics.
The book is organized into four parts.
Part 1 — Foundations builds the mathematical vocabulary (chapters 0–4): what a point process is, how the conditional intensity function encodes all probabilistic information, and a thorough treatment of Poisson processes and their key properties.
Part 2 — Core Process Families covers the main model classes practitioners encounter (chapters 5–8): renewal processes, univariate Hawkes processes with estimation, and multivariate Hawkes processes.
Part 3 — Advanced Models extends the toolkit (chapters 9–10): Cox processes for overdispersed data and marked point processes where events carry additional attributes.
Part 4 — Statistical Practice closes the loop (chapters 11–15): likelihood-based inference, the time-rescaling goodness-of-fit framework, advanced simulation recipes, applied case studies, and an action plan for choosing the right model.
All code examples use Python 3.10+. The core dependencies are numpy, scipy, matplotlib, and statsmodels — all installable via pip. The optional tick library provides a reference implementation of Hawkes processes for validation. Install the basics with:
pip install numpy scipy matplotlib statsmodels
Full code scripts live in the code/ subdirectory of this book. Each script can be run standalone and produces self-contained output or figures. Short inline snippets (≤ 20 lines) appear within the chapter text to illustrate key ideas.