File Exchange

image thumbnail

Isolines (quantiles) of bivariate normal distribution

version 1.0.0 (1.79 KB) by Martin Magris
Calculates the elliptic isolines corresponding to quantiles of bivariate normal distribution

1 Download

Updated 06 Jun 2020

View License

The function returns the symbolic equation of the ellipses corresponding to the isolines of a given quantile, or the isoline and its corresponding quantile passing through a given point.
Despite common contour plots where the isoline connects points of the same density, here the isoline connects points corresponding to quantiles of the same level.

The code is based on the fact that the q-level isoline satisfies:
(X-M)'inv(S)(X-M) = -2*log(q)
with X being the bivariate normal data, S its covariance matrix, and M its mean vector.

Cite As

Martin Magris (2021). Isolines (quantiles) of bivariate normal distribution (https://www.mathworks.com/matlabcentral/fileexchange/76676-isolines-quantiles-of-bivariate-normal-distribution), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2020a
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!