P-value of a fitted distribution to observation?
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Jeff Miller
2020-3-18
kstest does return a p value as the second output. Maybe you are supposed to report that.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Hypothesis Tests 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!