Borrar filtros
Borrar filtros

How can i draw nested three ellipses?

2 visualizaciones (últimos 30 días)
eren eren
eren eren el 12 de Dic. de 2012
i want to draw ellipse for multivariate data. here is my wish; i have some random numbers x which is
mu=zeros(1,p) % p is dimension
var=eye(p) % p is dimension
x=mvnrnd(mu,var,n)
and i estimate the location and shape parameter of this data with MCD method. method is not important for you because i don't have any problem. And then
i want draw an ellipsoid with center estimated location parameter and its' border is chi-squre with p degrees of freedom and alfa=0.05. in theory inequality is;
1-) (x-mu)'*inv(var)*(x-mu)<= chi2inv(p,alfa) x element of R1 2-) chi2inv(p,alfa)<(x-mu)'*inv(var)*(x-mu)<= chi2inv(p,sigma) x element of R2 3-) (x-mu)'*inv(var)*(x-mu)> chi2inv(p,sigma) x element of R3
and i want to draw R1,R2 and R3 ellipses. These are three nested ellipses.
How can i do this?

Respuestas (1)

Image Analyst
Image Analyst el 12 de Dic. de 2012
  1 comentario
eren eren
eren eren el 13 de Dic. de 2012
it is very general. iwant to do this in multivariate data and nested.

Iniciar sesión para comentar.

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by