

   TThhee GGeenneerraalliizzeedd GGaammmmaa DDiissttrriibbuuttiioonn

        dggamma(y, m, s, f)
        pggamma(q, m, s, f)
        hggamma(y, m, s, f)

   AArrgguummeennttss::

          y: vector of responses.

          q: vector of quantiles.

          m: vector of location parameters.

          s: vector of dispersion parameters.

          f: vector of family parameters.

   DDeessccrriippttiioonn::

        These functions provide information about the general-
        ized gamma distribution with location parameter equal
        to `m', dispersion equal to `s', and family parameter
        equal to `f'.  `dggamma' gives the density, `pggamma'
        gives the distribution function, `hggamma' gives the
        hazard function.

        The generalized gamma distribution has density

        f(y) = 1/((m/s)^(fs) Gamma(s)) y^(f(s-1)) exp(-(y s/m)^f)

        where m is the location parameter of the distribution,
        s is the dispersion, and f is the family parameter.

        f=1 yields a gamma distribution, s=1 a Weibull distri-
        bution, and s=infinity a log normal distribution.

   AAuutthhoorr((ss))::

        J.K. Lindsey

   SSeeee AAllssoo::

        `dgamma' for the gamma distribution, `dweibull' for the
        Weibull distribution, `dlnorm' for the log normal dis-
        tribution.

   EExxaammpplleess::

        dggamma(2, 5, 4, 2)
        pggamma(2, 5, 4, 2)

