Quantiles of mixtures with disjoint ordered support

Analytic and Monte Carlo quantiles of a mixture of PDFs with disjoint ordered supports
217 Downloads
Updated 7 May 2012

View License

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
Created with R2010a
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.0.0