Curve Fitting for Gen Normal Distribution (version 1 & 2)

1 次查看(过去 30 天)
Hello!
I have been on the search for MATLAB code which estimates the parameters for the General Normal Distribution (version 1 & 2) with confidence intervals for each of the parameters.
I have searched for a viable solution for some time but have not found any.
Any help would be greatly appreciated!
Thank you!

回答(1 个)

Image Analyst
Image Analyst 2015-9-27
Did you try fitdist() in the Statistics and Machine Learning Toolbox? Or simply mean() and var()?
  3 个评论
Image Analyst
Image Analyst 2015-9-27
Why not? What went wrong? It's pretty simple. How about just doing
theMean = mean(yourData(:));
theVar = var(yourData(:));
That defines the Gaussian parameters. What more do you need?
dsmalenb
dsmalenb 2015-9-29
That is not quite what you need for the general version. See link: https://en.wikipedia.org/wiki/Generalized_normal_distribution

请先登录,再进行评论。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by