HistFit with skewness and kurtosis

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

What distributions are you giving histfit to use in fitting the data?

Sign in to comment.

Answers (2)

Nis Caj
Nis Caj on 7 Jan 2019
i tested with the "normale" parameter and withotu this parameter, same result
Jeff Miller
Jeff Miller on 8 Jan 2019
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.

Products

Asked:

on 7 Jan 2019

Answered:

on 8 Jan 2019

Community Treasure Hunt

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

Start Hunting!