View source: R/curve_constructors.R
GGamma | R Documentation |
This creates a Curve object for a Generalised Gamma distribution.
Curve objects contain all necessary information to describe a distribution, including functions and parameters describing it.
See Details for information on parameterisation.
GGamma(theta, eta, rho)
theta |
Scale parameter for Generalised Gamma distribution. |
eta |
Shape parameter for Generalised Gamma distribution. |
rho |
Family parameter for Generalised Gamma distribution. |
The Generalised Gamma distribution has parameterisation:
f(x) = (rho x^((rho eta)-1) e^(-(x/theta)^rho) theta^(-rho eta) )/Gamma(eta)
F(x) = LPGamma(eta,(x/theta)^rho)/Gamma(eta)
where Gamma is the gamma function, and LPGamma is the lower partial gamma function.
As of v1.4.0, all values of eta are now fully supported.
Jasmin Ruehl
Tadikamalla PR, Random Sampling from the Generalized Gamma Distribution. Computing, 1979, 23(2), 199-203.
GGamma(theta=20,eta=2,rho=0.7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.