summary.emMSmix: Summary of the fitted mixture of Mallows models with Spearman...

summary.emMSmixR 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

Percentage distribution of the component memberships based on the MAP allocation. Returned when n_clust > 1, otherwise NULL

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

fitMSmix, plot.emMSmix

Examples

## Example 1. Fit and summary of a 3-component mixture of Mallows 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)



MSmix documentation built on April 3, 2025, 9:29 p.m.