P-value of a fitted distribution to observation?
6 views (last 30 days)
Show older comments
I have an observation data set (of 300 observations). I fitted 5 different distribution on this data. I wish to check which distribution fits best to this observation. apart from using some goodness of fit measures (such as Root mean square or kolmograv-smirnov), i got to report the p value of my fitted distributions as well.
I dont understand this quite well. what does it mean to report a P value here? should i have different P value s for different goodness of fit measures, or should I have it between observation and distribution-based values? how should I calculate this mathematically?
I dont want a built in code in matlab, I want to know how it is done mathematically? should I sample from the data?
how big must the sample be? or is there any other procedure ? stat
3 Comments
Answers (1)
Jeff Miller
on 18 Mar 2020
kstest does return a p value as the second output. Maybe you are supposed to report that.
0 Comments
See Also
Categories
Find more on Hypothesis Tests in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!