How to determine the parameters of statistical distributions
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
vedesh Mohit
am 26 Mär. 2018
Kommentiert: Star Strider
am 26 Mär. 2018
Hey, I have a dataset which consist of hourly wind speed points. I would like to know ho to use the "mle" command to determine the estimates for the parameters of a weibull, rayleigh, gamma and chi-square distribution?
0 Kommentare
Akzeptierte Antwort
Star Strider
am 26 Mär. 2018
5 Kommentare
Star Strider
am 26 Mär. 2018
I usually substitute a very small scalar for zero entries, usually 1E-7, 1E-8 (essentially sqrt(eps)) or something in that range. I choose the magnitude so that squaring it remains a very small scalar, rather than zero, since zero could result in non-finite results. That also does not (in my experience at least) significantly affect the estimated distribution parameters.
However it could affect the parameter values if the rest of your data have very small amplitudes as well. The only solution for that might be to do your calculations in the Symbolic Math Toolbox, where extended precision is allowed. Then you could use an even smaller symbolic scalar to substitute for zero values.
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!