a numeric vector that stores the values of a sample.
w
a numeric vector that stores the corresponding
weights/frequencies of the observations.
size
number of successful trials (ignored if x is
an object of class npnbinom).
grouping
logical, to use frequencies (w) for identical
values
n
the sample size.
x
an object of class npnbinom, or a numeric vector
(then value of size must be provided).
mix
an object of class disc.
log,
=FALSE, if log-values are to be returned.
lower.tail,
=FALSE, if lower.tail values are to be
returned.
log.p,
=FALSE, if log probability values are to be
returned.
Author
Yong Wang <yongwang@auckland.ac.nz>
References
Wang, Y. (2007). On fast computation of the non-parametric
maximum likelihood estimate of a mixing
distribution. Journal of the Royal Statistical Society,
Ser. B, 69, 185-198.