Is there a way to know how close to a Gaussian distribution is my plot?
显示 更早的评论
I am creating some plots and i would like to see how close to a Gaussian distribution they are. Maybe it will help me compare the quality of the data because one time I can have values from 0 to 40 and another from 0 to 1000. Does anyone have any previous experience with this? Thank you in advance.
采纳的回答
更多回答(1 个)
Walter Roberson
2011-9-2
0 个投票
If you were fitting a specific Gaussian distribution then kstest2() . But if you do not know the parameters of the distribution then... ummm, measure the mean and standard deviation of the actual data, and generate a gaussian distribution from those, and then kstest2() that against the actual data, maybe?
2 个评论
van lef
2011-9-2
Walter Roberson
2011-9-2
See the legend under the top graph at http://en.wikipedia.org/wiki/Gaussian_function
类别
在 帮助中心 和 File Exchange 中查找有关 Half-Normal Distribution 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!