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

Respuestas (1)

Shashank Prasanna
Shashank Prasanna el 8 de Jul. de 2013

0 votos

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

3 comentarios

Will
Will el 8 de Jul. de 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 el 8 de Jul. de 2013
Editada: Shashank Prasanna el 8 de Jul. de 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 el 8 de Jul. de 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

Iniciar sesión para comentar.

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 8 de Jul. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by