Learn R Programming

⚠️There's a newer version (2.0.0) of this package.Take me there.

MSmix (version 1.0.2)

Finite Mixtures of Mallows Models with Spearman Distance for Full and Partial Rankings

Description

Fit and analysis of finite Mixtures of Mallows models with Spearman Distance for full and partial rankings with arbitrary missing positions. Inference is conducted within the maximum likelihood framework via Expectation-Maximization algorithms. Estimation uncertainty is tackled via diverse versions of bootstrapping as well as via Hessian-based standard errors calculations. The most relevant reference of the methods is Crispino, Mollica, Astuti and Tardella (2023) .

Copy Link

Version

Install

install.packages('MSmix')

Monthly Downloads

218

Version

1.0.2

License

GPL (>= 3)

Maintainer

Cristina Mollica

Last Published

June 15th, 2024

Functions in MSmix (1.0.2)

plot.dist

Plot the Spearman distance matrix
rMSmix

Random samples from a mixture of Mallows models with Spearman distance
ranks_antifragility

Antifragility Data (complete rankings with covariates)
likMSmix

(Log-)likelihood for mixtures of Mallows models with Spearman distance
plot.data_descr

Plot descriptive statistics for partial rankings
expected_spear_dist

Expectation of the Spearman distance
partition_fun_spear

Partition function of the Mallows model with Spearman distance
plot.emMSmix

Plot the MLEs for the fitted mixture of Mallows models with Spearman distance
fitMSmix

MLE of mixtures of Mallows models with Spearman distance via EM algorithms
var_spear_dist

Variance of the Spearman distance
ranks_beers

Beers Data (partial rankings with covariate)
spear_dist

Spearman distance
ranks_read_genres

Reading Genres Data (partial rankings with covariates)
ranks_horror

Arkham Horror Data (complete rankings)
ranks_sports

Sports Data (complete rankings with covariates)
summary.emMSmix

Summary of the fitted mixture of Mallows models with Spearman distance
spear_dist_distr

Spearman distance distribution under the uniform ranking model
data_censoring

Censoring of full rankings
data_description

Descriptive summaries for partial rankings
MSmix-package

Finite Mixtures of Mallows Models with Spearman Distance for Full and Partial Rankings
print.bootMSmix

Print of the bootstrap confidence intervals for mixtures of Mallows models with Spearman distance
data_conversion

Switch data format from rankings to orderings and vice versa
confintMSmix

Hessian-based confidence intervals for mixtures of Mallows models with Spearman distance
bootstrapMSmix

Bootstrap confidence intervals for mixtures of Mallows models with Spearman distance
data_completion

Completion of partial rankings with reference full rankings
bicMSmix

BIC and AIC for mixtures of Mallows models with Spearman distance
data_augmentation

Data augmentation of partial rankings