Find value for a specific probability in probplot

2 visualizaciones (últimos 30 días)
Marco Kapfenberger
Marco Kapfenberger el 22 de Ag. de 2016
Comentada: dpb el 22 de Ag. de 2016
I have several vectors containing data points. I then use
probplot(gca,vector,[],[],'noref') % and
fitdist(vector,'normal')
to plot these points and create fits for each vector. The Result looks like seen in the image.
For further purposes I now want to know for each fit at which x-value it would have a probability of 50%. (For example in this image R1's fit has a probability of 50% at x=100, U8's at x=87 etc...)
For now I used the data cursor to do this manually, does anybody have an idea how I could implement this in my code?

Respuesta aceptada

dpb
dpb el 22 de Ag. de 2016
Use the resulting output from fitdist and then norminv...
fd=fitdist(vector,'normal');
p50=norminv(0.5,fd.mu,fd.sigma);
  2 comentarios
Marco Kapfenberger
Marco Kapfenberger el 22 de Ag. de 2016
Thanks! That's exactly what I needed.
dpb
dpb el 22 de Ag. de 2016
I know... vbg

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by