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 "emMSmix" returned by fitMSmix.

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 "summary.emMSmix" returned by summary.emMSmix.

Value

A list with the following named components:

modal_rankings

Integer matrix with the MLEs of the G component-specific consensus rankings in each row.

modal_orderings

Character matrix with the MLEs of the G component-specific consensus orderings in each row.

theta

Numeric vector of the MLEs of the G precisions.

weights

Numeric vector of the MLEs of the G mixture weights.

MAP_distr

Relative frequency distribution of the component memberships based on the MAP allocation.

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).

See Also

fitMSmix, plot.emMSmix

Examples

## Example 1. Fit and summary of a 3-component mixture of Mallow models with Spearman distance
## for the Antifragility dataset.
set.seed(123)
mms_fit <- fitMSmix(rankings = ranks_antifragility, n_clust = 3, n_start = 10)
summary(mms_fit)



[Package MSmix version 1.0.1 Index]