How Can I draw confidence intervals on probability plot?
18 次查看(过去 30 天)
显示 更早的评论
Hello I would like to draw probability plot using the probplot function for different distributions (e.g. lognormal and weibull) and i would like to know how i can draw the confidence intervals so that i can check if my data points fit into the confidence bounds. Please note that I have censored and uncensored data so I am forced to use probplot in order to take the censored data into account. I also tried to used the "dfittool" in the Statistics toolbox but even there I could not find the way to draw confidence bounds.
Another question is how to determine the p-value of the probability plot so that I can see how good my data fit the chosen distribution.
Thanks
Paolo
0 个评论
回答(4 个)
Star Strider
2012-10-19
Would it do what you want?
1 个评论
Star Strider
2012-10-19
I'm still not certain what you want, but the function that may be closest to what I believe you're looking for is probably the Kolmogorov-Smirnov test. I'm not sure you can plot its confidence limits, but it may help you decide the distribution that most closely fits your data.
The only other possibility I can think of is for you to use nlinfit and its related functions to fit your data (using an anonymous function to code for the relevant distributions), and then use nlpredci to plot the errors of the fit. If you have the errors and you simply want to plot them, consider errorbar.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!