summary.emMSmix {MSmix} | R Documentation |
Summary of the fitted mixture of Mallows models with Spearman distance
Description
summary
method for class "emMSmix"
.
print
method for class "summary.emMSmix"
.
Usage
## S3 method for class 'emMSmix'
summary(object, digits = 3, ...)
## S3 method for class 'summary.emMSmix'
print(x, ...)
Arguments
object |
An object of class |
digits |
Integer: decimal places for rounding the numerical summaries. Defaults to 3. |
... |
Further arguments passed to or from other methods (not used). |
x |
An object of class |
Value
A list with the following named components:
modal_rankings |
Integer matrix with the MLEs of the |
modal_orderings |
Character matrix with the MLEs of the |
theta |
Numeric vector of the MLEs of the |
weights |
Numeric vector of the MLEs of the |
MAP_distr |
Percentage distribution of the component memberships based on the MAP allocation. Returned when |
conv_perc |
Percentage of convergence of the EM algorithm over the multiple starting points. |
BIC |
BIC value (based on full or augmented rankings). |
BIC_part |
BIC value (based on partial rankings). |
call |
The matched call. |
See Also
Examples
## Example 1. Fit and summary of a 3-component mixture of Mallow models with Spearman distance
## for the Antifragility dataset.
r_antifrag <- ranks_antifragility[, 1:7]
set.seed(123)
mms_fit <- fitMSmix(rankings = r_antifrag, n_clust = 3, n_start = 10)
summary(mms_fit)