Distribution that works with positive and negative skewness

11 次查看(过去 30 天)
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 个评论
Anel Ruiz
Anel Ruiz 2020-6-16
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.

请先登录,再进行评论。

采纳的回答

Jeff Miller
Jeff Miller 2020-6-18
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;

更多回答(1 个)

Image Analyst
Image Analyst 2020-6-16
Did you see the skewed normal distribution:
  2 个评论
Image Analyst
Image Analyst 2020-6-18
Not sure. Probably not. random() has a few dozen distributions -- would one of them work for you?

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by