Distribution from a Histogram
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi All,
I have the following histogram which has been generated from my data. But I am unable to fix this to a distribution; because of the negative values I am unable to create a lognormal or Weibull distribution. Any ideas on how to do this?
1 commentaire
Réponses (1)
Belita Kin
le 12 Juil 2017
(As others have pointed out, a Weibull distribution is not likely to be an appropriate approximation when the data are integers only. The following is intended just to help you determine what that previous researcher did, rightly or wrongly.) There are several alternative methods that are not affected by zeros in the data, such as using various method-of moments estimators. These typically require numerical solution of equations involving the gamma function, because the moments of the Weibull distribution are given in terms of this function. I'm not familiar with R, but here's a Sage program that illustrates one of the simpler methods -- maybe it can be adapted to R? (You can read about this and other such methods in, e.g., "The Weibull distribution: a handbook" by Horst Rinne, p. 455ff -- however, there is a typo in his eq.12.4b, as the '-1' is redundant). Check for fast custom online
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!