distributionFitter: Lognormal distribution
Afficher commentaires plus anciens
Hi
I wanted to fit my Data to the lognormal distribution, but I get this error message : "The data in X must be positive".
I am pretty sure that the data and the frequency arrays are positive (>=0).
How can I ovecome this issue.
5 commentaires
Maybe there are NaN, Inf or -Inf values in your data vector ?
What does
any(Data(1,:) < 0)
return ?
Check it. We cannot because you didn't include the data.
Mohamed Zied
le 9 Fév 2023
So you don't use the Data(1,:) directly to fit the lognormal distribution, but some preprocessed data that you don't know exactly ?
What about
any(Data(1,:) <= 0)
?
Mohamed Zied
le 13 Fév 2023
Mohamed Zied
le 13 Fév 2023
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur ROC - AUC dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!