| meangaitd {VGAM} | R Documentation |
Mean of the GAITD Combo Density
Description
Returns the mean of a 1- or 2-parameter GAITD combo probability mass function.
Usage
meangaitd(theta.p, fam = c("pois", "log", "zeta"),
a.mix = NULL, i.mix = NULL, d.mix = NULL,
a.mlm = NULL, i.mlm = NULL, d.mlm = NULL,
truncate = NULL, max.support = Inf,
pobs.mix = 0, pobs.mlm = 0,
pstr.mix = 0, pstr.mlm = 0,
pdip.mix = 0, pdip.mlm = 0, byrow.aid = FALSE,
theta.a = theta.p, theta.i = theta.p, theta.d = theta.p, ...)
Arguments
theta.p |
Same as |
fam |
Same as |
a.mix, i.mix, a.mlm, i.mlm |
Same as |
d.mix, d.mlm |
Same as |
truncate, max.support |
Same as |
pobs.mix, pobs.mlm, byrow.aid |
Same as |
pstr.mix, pstr.mlm, pdip.mix, pdip.mlm |
Same as |
theta.a, theta.i, theta.d |
Same as |
... |
Currently unused. |
Details
This function returns the mean of the PMF of
the GAITD combo model.
Many of its arguments are the same as dgaitdplot.
More functionality may be added in the future, such as
returning the variance.
Value
The mean.
Note
This utility function may change a lot in the future.
Author(s)
T. W. Yee.
See Also
dgaitdplot,
Gaitdpois,
gaitdpoisson.
Examples
i.mix <- seq(0, 15, by = 5)
lambda.p <- 10
meangaitd(lambda.p, a.mix = i.mix + 1, i.mix = i.mix,
max.support = 17, pobs.mix = 0.1, pstr.mix = 0.1)
[Package VGAM version 1.1-11 Index]