GeneralizedGammaDist | R Documentation |
Density (PDF), distribution function (CDF), quantile function (inverted CDF), random generation and hazard function for the generelized Gamma distribution with parameters gamma, kappa and lambda.
dgengamma(x, gamma = 0.3, kappa = 1.2, lambda = 0.3, forceExpectation = F)
pgengamma(x, gamma = .3, kappa = 3, lambda = .3, forceExpectation = F)
qgengamma(p, gamma = .3, kappa = 3, lambda = .3, forceExpectation = F)
rgengamma(n = 1, gamma = .3, kappa = 3, lambda = .3, forceExpectation = F)
gengammaHazard(x, gamma = .3, kappa = 3, lambda = .3, forceExpectation = F)
x |
vector of quantiles. |
p |
vector of probabilities. |
n |
number of observations.. |
gamma , kappa , lambda |
parameters, see 'Details'. |
forceExpectation |
logical; if |
The PDF for the generelized Gamma distribution is:
f(x)=\frac{\gamma x^{\kappa \gamma - 1}}{\lambda^{\kappa \gamma}\Gamma (\kappa)}\exp \left\{{-\left(\frac{x}{\lambda}\right)^{\gamma}}\right\}
dgengamma
gives the density (PDF), pgengamma
gives the distribution function (CDF), qgengamma
gives the quantile function (inverted CDF), rgenGamma
generates random deviates, and genGammaHazard
gives the hazard function.
Markus Belfrage
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.