Clear Filters
Clear Filters

Negative values in lognormal distribution (lognfit)

4 views (last 30 days)
Kash022
Kash022 on 11 Jul 2017
Commented: Jan on 12 Jul 2017
I have a 1 x 4000 vector which also contains some negative values. The shape seems to resemble a log normal distribution but the lognfit will not work because of the negative values. Please suggest a workaround for this. What distribution should I use, if not lognormal? Or if I want to continue using lognormal how to do it?
Thanks,
  1 Comment
Jan
Jan on 12 Jul 2017
The question is not clear, because the readers cannot guess how the negative values should be treated. If you get them from a valid measurement, and do not want to ignore them, there is no way to fit them to a distribution, which does not allow negative values. There is not even a "workaround" for this, because you ask for something, which is not mathematically meaningful. Then even posting multiple threads for the same question does not help.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!