File Exchange

image thumbnail

Inverse empirical cumulative distribution function

version 1.0.1 (1.27 KB) by Martin Magris
Quantile function or inverse-ECDF of some data-sample. Data is finite and the ECDF from which the inverse is taken is discontiuous.

5 Downloads

Updated 14 Feb 2019

View Version History

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 (2021). Inverse empirical cumulative distribution function (https://www.mathworks.com/matlabcentral/fileexchange/70283-inverse-empirical-cumulative-distribution-function), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

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!