How to Use an Empirical Distribution Function in Python

Last Updated on August 28, 2020

An empirical distribution function provides a way to model and sample cumulative probabilities for a data sample that does not fit a standard probability distribution.

As such, it is sometimes called the empirical cumulative distribution function, or ECDF for short.

In this tutorial, you will discover the empirical probability distribution function.

After completing this tutorial, you will know:

  • Some data samples cannot be summarized using a standard distribution.
  • An empirical distribution function provides a way of modeling cumulative probabilities for a data sample.
  • How to use the statsmodels library to model and sample an empirical cumulative distribution function.

Kick-start your project with my new book Probability for Machine Learning, including step-by-step tutorials and the Python source code files for all examples.

Let’s get started.

How to Use an Empirical Distribution Function in Python

How to Use an Empirical Distribution Function in Python
Photo by Gigi Griffis, some rights reserved.

Tutorial Overview

This tutorial is divided into three parts; they are:

  1. Empirical Distribution Function
  2. Bimodal Data Distribution
  3. Sampling Empirical Distribution

Empirical
To finish reading, please visit source site