Clear Filters
Clear Filters

How can I use lognormal distribution to fit the non-negative dataset with zero values?

1 view (last 30 days)
The command I try to use is lognfit.
parmhat = lognfit(data)

Accepted Answer

Star Strider
Star Strider on 19 Feb 2015
The easiest way is to substitute the zero values with eps.
  2 Comments
Image Analyst
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"

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!