How can I use lognormal distribution to fit the non-negative dataset with zero values?
1 view (last 30 days)
Show older comments
The command I try to use is lognfit.
parmhat = lognfit(data)
Accepted Answer
Star Strider
on 19 Feb 2015
The easiest way is to substitute the zero values with eps.
2 Comments
Image Analyst
on 19 Feb 2015
Joy's "Flag" moved here to be a comment:
"advanced command which I never access to save for review and study Thanks"
Star Strider
on 21 Feb 2015
I doubt there are any other methods, other than to substitute NaN for the zero values.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!