dgenf(x, mu=0, sigma=1, Q, P, log = FALSE)
pgenf(q, mu=0, sigma=1, Q, P, lower.tail = TRUE, log.p = FALSE)
qgenf(p, mu=0, sigma=1, Q, P, lower.tail = TRUE, log.p = FALSE)
rgenf(n, mu=0, sigma=1, Q, P)
Hgenf(x, mu=0, sigma=1, Q, P)
hgenf(x, mu=0, sigma=1, Q, P)
length(n) > 1
, the length is
taken to be the number required.dgenf
gives the density, pgenf
gives the distribution
function, qgenf
gives the quantile function, rgenf
generates random deviates, Hgenf
retuns the cumulative hazard
and hgenf
the hazard.dgenf.orig
, for the sake of completion / compatibility.
With the above definitions,
dgenf(x, mu=mu, sigma=sigma, Q=Q, P=P) = dgenf.orig(x, mu=mu, sigma=sigma/delta, s1=s1, s2=s2)
The generalized F distribution with P=0
is equivalent to the
generalized gamma distribution dgengamma
, so that
dgenf(x, mu, sigma, Q, P=0)
equals dgengamma(x, mu, sigma, Q)
.
The generalized gamma reduces further to several
common distributions, as described in the GenGamma
help page.
The generalized F distribution includes the log-logistic distribution
(see Llogis
) as a further special case:
dgenf(x, mu=mu, sigma=sigma, Q=0, P=1) = dllogis(x, shape=sqrt(2)/sigma, scale=exp(mu))
The range of hazard trajectories available under this distribution are
discussed in detail by Cox (2008). Jackson et al. (2010) give an
application to modelling oral cancer survival for use in a health
economic evaluation of screening.GenF.orig
, GenGamma