Distribution that works with positive and negative skewness

11 visualizaciones (últimos 30 días)
Hi,
I am trying to obtain the distribution type of a variable that changes over time. For each stage I have n number of data.
I use fitdist grouping by stage to get the distribution for each stage. The problem is that the distribution varies over time, being, in some stages, positive skewed (lognormal is the best distribution), in other stages symetrical (normal) and in other stages negative skewed (extreme value).
My question is if there is any distribution type that fits for all cases; and if there is not, how can I change the distribution type by stage as fitdist only allow one distribution type.
  1 comentario
Anel Ruiz
Anel Ruiz el 16 de Jun. de 2020
Aditional, I would appreciate any alternative advise for analysing this kind of data. I thought of only use median and percentiles, but I'am still trying with distribution types.

Iniciar sesión para comentar.

Respuesta aceptada

Jeff Miller
Jeff Miller el 18 de Jun. de 2020
The skew normal is in Cupid. The last parameter controls the amount and direction of skew. E.g.,
posSkew = SkewNor(10,1,2);
posSkew.PlotDens;
negSkew = SkewNor(10,1,-2);
negSkew.PlotDens;

Más respuestas (1)

Image Analyst
Image Analyst el 16 de Jun. de 2020
Did you see the skewed normal distribution:
  2 comentarios
Anel Ruiz
Anel Ruiz el 17 de Jun. de 2020
Is this distribution in MatLab library? I can't find it.
Image Analyst
Image Analyst el 18 de Jun. de 2020
Not sure. Probably not. random() has a few dozen distributions -- would one of them work for you?

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by