Quantifying fit of data to distribution
1 view (last 30 days)
Show older comments
I have a vector of data and want to see which distribution fits it best. I can fitdist to find the parameters of the closest fit, to a particular distribution. But after that, how do I compare the fit from two different distributions and see which is a better fit?
0 Comments
Accepted Answer
Jeff Miller
on 9 Oct 2018
You can do it visually like this: documentation. Alternatively, try fitmethis on FileExchange. I think it computes the likelihood of the data under each fitted distribution and indicates the one under which the data have the highest likelihood.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!