Contains fitting for histogram data on normal and lognormal distributions. Though still requiring the fitting toolbox, the parameters are adapted in such a way that Matlab can actually fit the values (e.g. very small x values)!
Functions return mu and sigma parameter, scaling factor (for non-unit distributions) and goodness of fit.
Additionally included are logn2mean and mean2logn to convert between logn parameters mu/sigma and mean/std value (in contrast to lognstat which returns mean and variance)
Cite As
Alexandra (2024). Lognormal Helpers (https://www.mathworks.com/matlabcentral/fileexchange/43624-lognormal-helpers), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox >
- AI, Data Science, and Statistics > Curve Fitting Toolbox >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |