Description Usage Arguments Details Author(s) References See Also Examples
Function plotgrad
plots the gradient function or its first derivative
of a nonparametric mixture.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
x |
a data object of a mixture model class. |
mix |
an object of class 'disc', for a discrete mixing distribution. |
beta |
the structural parameter. |
len |
number of points used to plot the smooth curve. |
order |
the order of the derivative of the gradient function to be plotted. If 0, it is the gradient function itself. |
col |
color for the curve. |
col2 |
color for the support points. |
add |
if |
main, xlab, ylab, cex, pch, lwd, xlim, ylim |
arguments for graphical
parameters (see |
... |
arguments passed on to function |
data
must belong to a mixture family, as specified by its class.
The support points are shown on the horizontal line of gradient 0. The vertical lines going downwards at the support points are proportional to the mixing proportions at these points.
Yong Wang <yongwang@auckland.ac.nz>
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.
Wang, Y. (2010). Maximum likelihood computation for fitting semiparametric mixture models. Statistics and Computing, 20, 75-86
plot.nspmix
, nnls
, cnm
,
cnmms
, npnorm
, nppois
.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.