Description Usage Arguments Details Value Author(s) References See Also Examples
Carries out model-based clustering using the mixture of coalesced generalized hyperbolic distributions.
1 2 |
data |
A n x p matrix or data frame such that rows correspond to observations and columns correspond to variables. |
gpar0 |
(optional) A list containing the initial parameters of the mixture model. See the 'Details' section. |
G |
The range of values for the number of clusters. |
max.iter |
(optional) A numerical parameter giving the maximum number of iterations each EM algorithm is allowed to use. |
eps |
(optional) A number specifying the epsilon value for the convergence criteria used in the EM algorithms. For each algorithm, the criterion is based on the difference between the log-likelihood at an iteration and an asymptotic estimate of the log-likelihood at that iteration. This asymptotic estimate is based on the Aitken acceleration. |
label |
( optional) A n dimensional vector, if label[i]=k then observation belongs to group k, if NULL then the data has no known groups. |
method |
( optional) A string indicating the initialization criterion, if not specified kmeans clustering is used. Alternative methods are: hierarchical "hierarchical", random "random", and model based "modelBased" |
scale |
( optional) A logical value indicating whether or not the data should be scaled, true by default. |
nr |
( optional) A number indicating the number of starting value when random is used, 10 by default. |
modelSel |
( optional) A string indicating the model selection criterion, if not specified AIC is used. Alternative methods are: BIC,ICL, and AIC3 |
seed |
( optional) A number giving the pseudo-random number seed to be used. If NULL a pseudo-random number is used, by default 12345. |
The arguments gpar0, if specified, has to be a list structure containing as much element as the number of components G. Each element must include the following parameters: one p dimensional vector mu, alpha and phi, a pxp matrix gamma, a px2 vector cpl containing the vectors omega and lambda, and a 2-dimensional vector containing the omega0 and lambda0.
A list with components
index |
Value of the index used for model selection (AIC or ICL or BIC or AIC3) for each G,the index used is specified by the user, if not specified AIC is used. |
model |
A list containing the following elements for the selected model |
BIC |
Bayesian information criterion value. |
ICL |
ICL index. |
AIC |
AIC index. |
AIC3 |
AIC3 index. |
gpar |
A list of the model parameters in the rotated space. |
loglik |
The log-likelihood values. |
map |
A vector of integers indicating the maximum a posteriori classifications for the best model. |
par |
A list of the model parameters. |
z |
A matrix giving the raw values upon which map is based. |
Cristina Tortora, Ryan P. Browne, Brian C. Franczak and Paul D. McNicholas. Maintainer: Cristina Tortora <ctortora@mcmaster.ca>
C. Tortora, A. ElSherbiny, B.C. Franczak, R.P. Browne, and P.D. McNicholas (2016). A Mixture of Coalesced Generalized Hyperbolic Distributions. Arxiv preprint arXiv:1403.2332v7
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.