Re: 3-parameter Gamma and Weibull distribution



Maciej wrote:
Do exist m-files that I could use to fit 3-parameter distribution: Gamma and Weibull

Maciej, the most common way to fit univariate distributions is by maximum likelihood, but with a threshold parameter, like the 3-param Gamma and Weibull have, maximum likelihood often doesn't give plausible fits (Weibull), and sometimes never works at all (lognormal). In the case of the lognormal, the problem is that the ML estimate of the threshold is the smallest observation, and the estimated distribution is degenerate at that point. I think the Weibull has similar cases.

So people have come up with various ad-hoc methods to overcome this, the ones I've seen are mostly specific to one distribution. I know that for the Weibull, there have been a variety of methods proposed, not sure about the gamma. You may find something on MATLAB Central along those lines.

This demo

<http://www.mathworks.com/products/statistics/demos.html?file=/products/demos/shipping/stats/cdffitdemo.html>

illustrates a general method for estimating a threshold parameter. You may find it helpful. Just by coincidence, gamma and Weibull are two of the examples.

- Peter Perkins
The MathWorks, Inc.
.



Relevant Pages

  • Re: Predicting using SAS-Survival analysis
    ... The problem with simply using the highest likelihood is that those ... one parameter, Weibull, logistic, log-normal, normal, and log-logistic ... are two-parameter distributions, and gamma has three. ... chi-square distribution with 1 degree of freedom, ...
    (sci.stat.math)
  • Re: Predicting using SAS-Survival analysis
    ... The problem with simply using the highest likelihood is that those ... one parameter, Weibull, logistic, log-normal, normal, and log-logistic ... are two-parameter distributions, and gamma has three. ... chi-square distribution with 1 degree of freedom, ...
    (sci.stat.edu)
  • 3-parameter Gamma and Weibull distribution
    ... Do exist m-files that I could use to fit 3-parameter ... distribution: Gamma and Weibull ...
    (comp.soft-sys.matlab)
  • Statistical Distribution Analysis
    ... that a given distribution (gained from measurements) ... weibull, gamma, lognormal etc.) and the result would be the best ...
    (comp.soft-sys.matlab)
  • Re: Distribution fitting
    ... > Peter Perkins wrote: ... >> Jan Van den Bulcke wrote: ... >>> like a distribution. ... >> which, if you plotted them against 1:n, look like a Weibull (or ...
    (comp.soft-sys.matlab)