title: How to do data fitting to find the distribution of given data
body: <p>I need to do data fitting to find the distribution of a given data.</p>
  
  <p>I need to find the pdf function of the distribution. </p>
  
  <p>I can use data fitting functions in matlab and python.</p>
  
  <p>It looks like a truncated gamma. </p>
  
  <p>But, how to find the parameters of the distribution ? </p>
  
  <p>What if the data cannot fit the  truncated gamma well ? </p>
  
  <p>The QQ-plot (qunatile-quantile) show that it is not a good fit for truncated
  gamma.</p>
  
  <p>How to find the distribution parameters such as alpha (shape), beta (scale) 
  for the truncated gamma ? </p>
  
  <p>If data fitting cannot work here, what other methods I can use for that ? </p>
  
  <p>Any help would be appreciated.</p>