Random Tip

How to see all the fonts ✏️ available for your matplotlib plots 📊?

Fan Charts

Since 1996 the Bank of England inflation forecast has been published as a probability distribution and presented in what is now known as ‘the fan chart’. This post provides an overview on this useful visualisation tool and its Python implementation.

The Two Piece Normal Distribution

The two-piece normal, also called split normal, binormal, or double-Gaussian,  results from joining at the mode the corresponding halves of two normal distributions with the same mode but different standard deviations.

Comparing Box-Muller and Marsaglia-Bray

In this post we compare the performance of our Python implementation for two popular methods to simulate samples from a pair of independent normal random variables: Box-Muller and Marsaglia-Bray.

Simulating Normal Random Variables

Two simple ways to simulate a pair of independent standard normal distributions with Python code.
– Box-Muller Transform
– Marsaglia-Bray Transform

Fertility Rate in Mexico 1950-2015

This post contains a Bokeh app showing the rapid change in Fertility Rate that took place in Mexico during the last 50 years. The idea is to illustrate how simple […]

Brownian Motion via Random Walks

The idea of this post is to show how Donsker’s Theorem (also known as Donsker’s Invariance Principle, or the Functional Central Limit Theorem) allows us to simulate paths of the one-dimensional standard Brownian motion using different kinds of random walks.

Back to top