Find value for a specific probability in probplot
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Marco Kapfenberger
am 22 Aug. 2016
Kommentiert: dpb
am 22 Aug. 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?
0 Kommentare
Akzeptierte Antwort
dpb
am 22 Aug. 2016
Use the resulting output from fitdist and then norminv...
fd=fitdist(vector,'normal');
p50=norminv(0.5,fd.mu,fd.sigma);
2 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!