Description Usage Arguments Details Value References Examples
Estimate the order of a finite mixture of multinomial models with fixed and known number of trials.
1 | multinomialOrder(y, lambdas, K = NULL, ...)
|
y |
n by D matrix consisting of the data, where n is the sample size
and D is the number of categories.
The rows of |
lambdas |
Vector of tuning parameter values. |
K |
Upper bound on the true number of components.
If |
... |
Additional control parameters. See the Details section. |
The following is a list of additional control parameters.
theta
D by K matrix of starting values where each column is the vector
of multinomial probabilities for one mixture component.
The columns of theta
should therefore
sum to 1. If theta=NULL
, the starting values are
chosen using the MCMC algorithm described by Grenier (2016).
pii
Vector of size K whose elements must sum to 1, consisting of
the starting values for the mixing proportions.
If NULL
, it will be set to a discrete
uniform distribution with K support points.
penalty
Choice of penalty, which may be "SCAD"
, "MCP"
,
"SCAD-LLA"
, "MCP-LLA"
or "ADAPTIVE-LASSO"
.
Default is "SCAD"
.
mcmcIter
Number of iterations for the starting value algorithm described
by Grenier (2016).
uBound
Upper bound on the tuning parameter of the proximal gradient algorithm.
C
Tuning parameter for penalizing the mixing proportions.
a
Tuning parameter for the SCAD or MCP penalty. Default is 3.7
.
convMem
Convergence criterion for the modified EM algorithm.
convPgd
Convergence criterion for the proximal gradient descent algorithm.
maxMem
Maximum number of iterations of the Modified EM algorithm.
maxPgd
Maximum number of iterations of the proximal gradient descent algorithm.
verbose
If TRUE
, print updates while the function is running.
An object with S3 classes gsf
and multinomialGsf
,
consisting of a list with the estimates produced for every tuning
parameter in lambdas
.
Manole, T., Khalili, A. 2019. "Estimating the Number of Components in Finite Mixture Models via the Group-Sort-Fuse Procedure".
Grenier, I. (2016) Bayesian Model Selection for Deep Exponential Families. M.Sc. dissertation, McGill University Libraries.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.