MATLAB: How to fit a (left) skewed distribution

functionplottingStatistics and Machine Learning Toolbox

Hi,
Currently, I am using the following code to fit distributions to my data:
pd = fitdist(mydata,distribution)
x_values = 1:1:26;
y = pdf(pd,x_values);
plot(x_values,y,'LineWidth',2)
However, as far as I can see all the distributions offered by Matlab are either not skewed or right-skewed. Hence my question: Knowing that my data is left-skewed, how could I fit such a distribution to it?
Thanks

Best Answer

Try fitting the max value minus your data. In other words, flip your distribution right to left.
Related Question