Welcome to applications of the Ergodic-Insurance Python package, designed to help risk professionals make more informed decisions about insurance coverage limits and risk retention strategies.

Learn the Framework

mostlyoptimal.com/tutorial — a guide to get started applying the framework to your specific use cases.

mostlyoptimal.com/research — a research paper describing the framework in detail.

Install the Framework:

pip install ergodic-insurance

Start Here

Short on time? These three posts give you the core argument. Read them in order.

  1. Insurance Limit Selection Through Ergodicity — The foundation: why time-average growth changes everything about limit selection.
  2. Volatility Drag vs Premium Drag — The core insight: why insurance works even when it’s actuarially “unfair.”
  3. The Objective Frontier — The practical payoff: multi-objective optimization narrows the defensible deductible range.

All Posts by Topic

Each post includes a downloadable notebook so you can adapt the analysis to your own business.

The Ergodic Foundation

Why your company’s single trajectory through time behaves nothing like the industry average, and where classical statistics breaks down entirely.

Loss Modeling and Tail Uncertainty

Your severity model is only as good as the data behind it. These posts address estimation under scarce data and deep tail uncertainty.

Risk Measurement

Standard risk metrics miss the tail. These posts show why, and what to use instead.

Deductible and Retention Optimization

From the mechanics of volatility drag to multi-objective frontiers, these posts build a complete framework for retention decisions.


Additional applications will be added regularly as we explore new use cases and risk scenarios.