Compare Real Valued Random Variables

A framework with tools to compare two random variables, and determine which of takes produces lower values. See the at <> for a quick start guide. It can compute the Cp and Cd of two probability distributions, as explained in E. Arza (2021) <>. Given the observed samples of two random variables X_A and X_B, it can compute the cumulative difference-plot (see E. Arza (2021) <> for details). Uses bootstrap and DKW-bounds to compute the confidence bands of the cumulative distributions. These two methods are described in B. Efron. (1979) and P. Massart (1990) .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1.5 by Etor Arza, 5 months ago

Browse source code at

Authors: Etor Arza

Documentation:   PDF Manual  

CC0 license

Imports Rcpp, utils

Depends on stats, pracma, ggplot2

Linking to Rcpp

See at CRAN