Welcome!

My blog for all things math, finance, and data science. I’m always looking for interesting work, so feel free to contact me on social media or LinkedIn!

Handling Exposures in Insurance Modeling

Exploring how exposures in insurance modeling can be applied as either an offset or as a weight.

July 11, 2026 · Erik Dains

Bayesian Method for Insurance Policy Resampling

Using pymc to build a model to provide posterior samples of policy-level claim and severity estimates

January 31, 2026 · Erik Dains

Extending Trend Filtering to the GAM Case

Extending the trend filtering approach to the multivariate additive case

December 18, 2024 · Erik Dains

Experience Rating With Exponential Smoothing

Modeling baseball win rates using exponential smoothing to illustrate insurance experience rating

November 1, 2024 · Erik Dains

Trend Filtering using CVXPY

Fitting a Trend Filtering Model Using CVXPY

September 15, 2024 · Erik Dains

Ergodicity Breaking and the Coin Toss Game

Revealing the strangeness of ergodicity breaking with a simple game

August 3, 2024 · Erik Dains