HistFit with skewness and kurtosis
Show older comments
Hello
I have a distribution of data points which seems to look like an asymetric gaussian distribution. (Skewness > 0)
When I tried to use histfit, I would have expected it to find the correct values for Skewness and Kurtosis but it doesn't.
How can I have the same behavior as histfit, but taking into account that my data is asymetric ?
Thanks
Edit: the data : https://pastebin.com/n02NKdS2
1 Comment
Jeff Miller
on 7 Jan 2019
What distributions are you giving histfit to use in fitting the data?
Answers (2)
Nis Caj
on 7 Jan 2019
0 votes
Jeff Miller
on 8 Jan 2019
0 votes
All normals have skewness=0, so histfit can't give you a normal that matches the skewness in your data. You'll have to try fitting some other distributions that do allow skewness. Looks like the Beta(5,13.5) would be about right.
Categories
Find more on Descriptive Statistics in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!