Usage
ZAIG(mu.link = "log", sigma.link = "log", nu.link = "logit")
dZAIG(x, mu = 1, sigma = 1, nu = 0.1, log = FALSE)
pZAIG(q, mu = 1, sigma = 1, nu = 0.1, lower.tail = TRUE, log.p = FALSE)
qZAIG(p, mu = 1, sigma = 1, nu = 0.1, lower.tail = TRUE, log.p = FALSE,
upper.limit = mu + 10 * sqrt(sigma^2 * mu^3))
rZAIG(n, mu = 1, sigma = 1, nu = 0.1, ...)
plotZAIG(mu = 5, sigma = 1, nu = 0.1, from = 0, to = 10, n = 101, ...)
meanZAIG(obj)
Arguments
mu.link
Defines the mu.link
, with "log" link as the default for the mu parameter
sigma.link
Defines the sigma.link
, with "log" link as the default for the sigma parameter
nu.link
Defines the nu.link
, with "logit" link as the default for the sigma parameter
mu
vector of location parameter values
sigma
vector of scale parameter values
nu
vector of probability at zero parameter values
log, log.p
logical; if TRUE, probabilities p are given as log(p).
lower.tail
logical; if TRUE (default), probabilities are P[X <= x],="" otherwise,="" p[x=""> x]=>
upper.limit
the argument upper.limit
sets the upper limit in the golden section search for q,
the default is 10 time its standard deviation
p
vector of probabilities.
n
number of observations. If length(n) > 1
, the length is
taken to be the number required
from
where to start plotting the distribution from
to
up to where to plot the distribution
...
...
can be used to pass the uppr.limit argument to qIG