Quantile calculation
NOTE: this function is now available from the IoSR Matlab Toolbox as iosr.statistics.quantile.
-------------------------
This function calculates quantiles and weighted quantiles for vectors, matrices, or N-D arrays, via one of a number of methods described in http://en.wikipedia.org/wiki/Quantile.
Cite As
Christopher Hummersone (2024). Quantile calculation (https://github.com/IoSR-Surrey/MatlabToolbox), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Returns weighted percentiles of a sample
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.
+iosr
+iosr/+acoustics
+iosr/+auditory
+iosr/+bss
+iosr/+dsp
+iosr/+figures
+iosr/+general
+iosr/+statistics
+iosr/+svn
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.4.0.0 | Added weighting option.
|
|
|
1.3.1.0 | Minor bug fix when checking P and minor simplification in preallocation of q and N. Added N output to help.
|
||
1.3.0.0 | Added traps for sample sizes of 0 or 1. |
||
1.2.0.0 | Added more input checking. |
||
1.1.0.0 | Updated function to return sample size. |
||
1.0.0.0 |