Inverse empirical cumulative distribution function

Quantile function or inverse-ECDF of some data-sample. Data is finite and the ECDF from which the inverse is taken is discontiuous.
303 Downloads
Updated 14 Feb 2019

View License

Quantile function for an empirical cumulative distribution function (ECDF), i.e. inverse-ECDF, of some (finite) data-sample. The ECDF (F) is thus discontinuous and the quantile function (Q) at q is computed as:
Q(q) = inf{x: q<=F(x)}.

Simple problem, frequently discussed online, for which however a clean matlab code seems not to be available.

Cite As

Martin Magris (2024). Inverse empirical cumulative distribution function (https://www.mathworks.com/matlabcentral/fileexchange/70283-inverse-empirical-cumulative-distribution-function), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.1

Title changed.

1.0.0