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.
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 LinuxCategories
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Probability Distributions > Exploration and Visualization >
Find more on Exploration and Visualization in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.