GF {gfcure}R Documentation

The Generalized F Distribution

Description

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

Usage

dgf(t, s1, s2, sigma, mu, method = 0)

pgf(t, s1, s2, sigma, mu, method = 0)

qgf(p, s1, s2, sigma, mu)

rgf(n, s1, s2, sigma, mu)

Arguments

t

vector of quantiles

s1

The first shape parameter

s2

The second 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

"s1", "s2", "sigma" are positive and mu can be any real value

Value

"dgf" gives the density, "pgf" gives the distribution function, "qgf" gives the quantile function, and "rgf" generates random deviates.

Author(s)

Yingwei Peng

References

Kalbfleisch, J. D. & Prentice, R. L. (2002), The Statistical Analysis of Failure Time Data, 2nd edn, John Wiley & Sons, New York.

Examples


rgf(20, 1, 1, 1, 0)


[Package gfcure version 2.0 Index]