Comparison of the mode of lognormal distributions

Hi. I'm trying to compare the modes of a set of lognormal distributions. I realised I could write a function to fit the data (using lognfit) and bootstrap to estimate CI/variance, but I was wondering if a more computationally simple approach existed (as I'm analysing a lot of samples and the distribution is so similar to the normal). Thanks

Réponses (1)

Shashank Prasanna
Shashank Prasanna le 8 Juil 2013

0 votes

If you'd like to compare distribution you can use LILLIETEST or KSTEST

3 commentaires

Will
Will le 8 Juil 2013
Thanks but the lillietest and kstest are tests for the normality of a distribution. I'm comparing whether the mode of samples, which possess the lognormal distribution, are the same.
Shashank Prasanna
Shashank Prasanna le 8 Juil 2013
Modifié(e) : Shashank Prasanna le 8 Juil 2013
Those tests can be used for non-normal distributions as well. Specify the distribution as shown in the links.
Is the end goal to understand if the samples come from the given distribution? or just to compare the modes?
Will
Will le 8 Juil 2013
The end goal is just to compare modes. The difference between distributions is easily shown with a log transformation, to normalise the data, and comparison of mean and variance. However, I'm working with people with little maths/stats background and (probably as they're easier to visualise) I've been asked to perform a comparison of these peaks. Thanks

Connectez-vous pour commenter.

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Centre d'aide et File Exchange

Question posée :

le 8 Juil 2013

Community Treasure Hunt

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

Start Hunting!

Translated by