how to get probability data (y values) from probplot?
Mostrar comentarios más antiguos
Hello dear.
I want to manage and work on probability data produced by a probplot function.
I have my dataset (data) which is a vector of something like thermal index.
I apply the probplot Matlab command with an exponentialpr distribution, and I would like to find the intercept points between the exponential function (black dashed line) and my data, in terms of y-values so the probability.
figure,probplot('exponential',data)

I know that the equation of the black dashed shold be
y=f(x|mu)=1/mu*exp^(-x/mu)
where mu (μ) is the mean of the function and could be calculted as
pd=fitdist(data,'exponential');
mu=pd.mu;
Now, I have to find a certain threshold for a probability value which corresponds to the first intercept of the black dashed line with my probability exponential distribution, but at the moment I don't know how to act on the Y_data from probplot function.
Any helps?
Thank you!
3 comentarios
Adam
el 4 de Jun. de 2019
h = probplot(...)
will return a vector of handles to the line objects plotted. You can get the YData from these. Ideally you would use whatever maths produced the plot to get your data rather than hack it out of a plot, but if the maths is not obvious then this method should at least give you the data.
fransec
el 4 de Jun. de 2019
fransec
el 4 de Jun. de 2019
Respuestas (0)
Categorías
Más información sobre Half-Normal Distribution en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!