Quantiles of mixtures with disjoint ordered support
Unlike the general case, the quantiles of a mixture of PDFs whose supportes are disjoint and ordered can be calculated analytically. This script illustrates the calculation. The example uses a random sample drawn from a single distribution. However, the script is reasonably generic to accommodate an arbitrary number of weights and corresponding PDFs by modifying:
1. an array of weights;
2. an array of tranformations (of the random variable generating the sample)
3. an array of CDF of the random variables resulting from the tranformations.
Furthermore, one could modify the initial sample by changing the either directly or mapping it to another distribution by composition
Cite As
Giuseppe Castellacci (2024). Quantiles of mixtures with disjoint ordered support (https://www.mathworks.com/matlabcentral/fileexchange/36584-quantiles-of-mixtures-with-disjoint-ordered-support), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Probability Distributions > Continuous Distributions > Beta Distribution >
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.
DisjointMixtureQuantiles/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |