Comparison of Two Populations

A short compilation of visual methods for comparing two samples.

Visual Tools

  1. Box Plots
  2. Bee Swarm Plots
  3. Violin Plots
  4. Histograms
  5. Kernel Density Estimation
  6. Empirical ROC
  7. Empirical Cumulative Distribution Functions

Hypothesis Tests

  1. Kolmogorov-Smirnov
  2. Anderson-Darling

You can find the Python code below or in this Git Link.


Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Quant Girl

I write about Mathematics, Statistics, Finance, Programming, and the relationships among them. I enjoy learning, listening to music and podcasts, practicing yoga, reading magazines, and watching documentaries.

2 thoughts on “Comparison of Two Populations

  1. For the empirical ROC, the value of the AUC is relevant in any way to determine if the two sample come from the same distribution? Which of those methods can be generalized to compare more than two samples?

Leave a Reply to Mattia Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.