alpha: shape parameter of the distribution (alpha > 0).
gamma: scale parameter of the distribution (gamma > 0).
kappa: shape parameter of the distribution (kappa > 0).
log, log.p: logical; if TRUE, probabilities p are given as log(p).
q: vector of quantiles.
lower.tail: logical; if TRUE (default), probabilities are P[X≤x]; otherwise, P[X>x].
p: vector of probabilities.
...: further arguments passed to other methods.
n: number of random values to return.
Returns
dggstacy gives the (log) probability function, pggstacy gives the (log) distribution function, qggstacy gives the quantile function, and rggstacy generates random deviates.
Details
Probability density function:
f(x∣α,γ,κ)=γαΓ(α/κ)κxα−1exp{−(γx)κ}I[0,∞)(x),
for α>0, γ>0 and κ>0.
Distribution function:
F(t∣α,γ,κ)=FG(x∣ν,1),
where x=(γt)κ, and FG(⋅∣ν,1) corresponds to the distribution function of a gamma distribution with shape parameter ν=α/γ and scale parameter equals to 1.