Description Usage Arguments Details Author(s) References See Also Examples
Class nppois
is used to store data that will be processed as those of
a nonparametric Poisson mixture.
1 2 3 4 5 6 
v 
a numeric vector that stores the values of a sample. 
w 
a numeric vector that stores the corresponding weights/frequencies of the observations. 
n 
the sample size. 
x 
an object of class 
mix 
an object of class 
beta 
the structural parameter, which is not really needed for the Poisson mixture. 
col 
the color of the density curve to be plotted. 
add 
if 
components 
if 
main, lwd, lty, xlab, ylab 
arguments for graphical parameters (see

... 
arguments passed on to function 
Function nppois
creates an object of class nppois
, given
values and weights/frequencies.
Function rnppois
generates a random sample from a Poisson mixture and
saves the data as an object of class nppois
.
Function plot.nppois
plots the Poisson mixture.
When components=TRUE
, the support points are shown on the horizontal
line of density 0. The component density curves, weighted appropriately, are
also shown.
Yong Wang <yongwang@auckland.ac.nz>
Wang, Y. (2007). On fast computation of the nonparametric maximum likelihood estimate of a mixing distribution. Journal of the Royal Statistical Society, Ser. B, 69, 185198.
nnls
, cnm
, cnmms
,
plot.nspmix
.
1 2 3 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.