Description Usage Arguments Value See Also
The function selects the most appropriate model from a family of regularized copula-based mixture models arising from a varying number of components and a differing shirnkage parameter.
1 2 3 4 5 6 7 8 9 10 |
x |
A numeric matrix or data frame of observations. Rows correspond to observations and columns correspond to variables. |
lambda_grid |
An integer vector specifying the the values of the shrinkage parameter for which a regularized copula-based mixture model should be fitted. The default is |
K |
An integer vector specifying the number of components for which a regularized copula-based mixture model should be fitted. The default is |
margins |
A character vector specifying the marginal distributions of the components in the mixture. The vector must have a length equal to the number of columns in |
maxit |
A numeric value specifying the maximum number of iterations the ECM algorithm should run before being halted. |
epsilon |
A numeric value indicting the tolerance for convergence. |
transform |
A logical value indicating whether or not starting values for the case |
trace |
A logical value indicating if an update regarding the step's progress should be displayed. |
BICA matrix demonstrating the BIC values achieved by each model in the family. Each column corresponds to a given value of lambda and each row corresponds to a given number of components.
SILA matrix demonstrating the average silhouette width achieved by each model in the family. Each column corresponds to a given value of lambda and each row corresponds to a given number of components.
all_modelsA list of lists with each element containing information about a specific model fitted.
selected_modelsA list containing the information about the optimal model for each number of mixture components in the family. The optimal model for each number of componets is selected by picking the lambda that results in the largest average silhouette width. See the help file for silhouette for details.
final_modelThe model contained in selected_models
that maximized BIC.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.