EGG {gfcure}R Documentation

The Extended Generalized Gamma Distribution

Description

Density, distribution function, quantile function and random number generation for the extended generalized gamma distribution

Usage

degg(t, q, sigma, mu, method = 0)

pegg(t, q, sigma, mu, method = 0)

qegg(p, q, sigma, mu)

regg(n, q, sigma, mu)

Arguments

t

vector of quantiles

q

The shape parameter

sigma

The scale parameter

mu

The location parameter

method

If method=1, a special C program is used in the calculation. Otherwise, the calculation does not rely on any external programs.

p

vector of probabilities

n

number of observations

Details

"scale" must be positive while "q" and "mu" can be any real value

Value

"degg" gives the density, "pegg" gives the distribution function, "qegg" gives the quantile function, and "regg" generates random deviates.

Author(s)

Yingwei Peng

References

Lawless, J. F. (2003), Statistical Models and Methods for Lifetime Data, 2nd edn, John Wiley & Sons, Hoboken, New Jersey.

Examples


regg(20, 1, 1, 0)


[Package gfcure version 2.0 Index]