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.
Distribution that works with positive and negative skewness
13 views (last 30 days)
Show older comments
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.
Accepted Answer
Jeff Miller
on 18 Jun 2020
posSkew = SkewNor(10,1,2);
posSkew.PlotDens;
negSkew = SkewNor(10,1,-2);
negSkew.PlotDens;
0 Comments
More Answers (1)
Image Analyst
on 16 Jun 2020
Did you see the skewed normal distribution:
2 Comments
Image Analyst
on 18 Jun 2020
Not sure. Probably not. random() has a few dozen distributions -- would one of them work for you?
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!