Package: MSmix 1.0.2

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

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) <doi:10.1007/s11222-023-10266-8>.

Authors:Cristina Mollica [aut, cre, cph], Marta Crispino [aut, cph], Lucia Modugno [ctb], Luca Tardella [ctb]

MSmix_1.0.2.tar.gz
MSmix_1.0.2.zip(r-4.5)MSmix_1.0.2.zip(r-4.4)MSmix_1.0.2.zip(r-4.3)
MSmix_1.0.2.tgz(r-4.4-x86_64)MSmix_1.0.2.tgz(r-4.4-arm64)MSmix_1.0.2.tgz(r-4.3-x86_64)MSmix_1.0.2.tgz(r-4.3-arm64)
MSmix_1.0.2.tar.gz(r-4.5-noble)MSmix_1.0.2.tar.gz(r-4.4-noble)
MSmix_1.0.2.tgz(r-4.4-emscripten)MSmix_1.0.2.tgz(r-4.3-emscripten)
MSmix.pdf |MSmix.html
MSmix/json (API)
NEWS

# Install 'MSmix' in R:
install.packages('MSmix', repos = c('https://cmollica.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

26 exports 0.36 score 154 dependencies 200 downloads

Last updated 3 months agofrom:ca2d579e4c. Checks:OK: 7 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 14 2024
R-4.5-win-x86_64NOTESep 14 2024
R-4.5-linux-x86_64NOTESep 14 2024
R-4.4-win-x86_64OKSep 14 2024
R-4.4-mac-x86_64OKSep 14 2024
R-4.4-mac-aarch64OKSep 14 2024
R-4.3-win-x86_64OKSep 14 2024
R-4.3-mac-x86_64OKSep 14 2024
R-4.3-mac-aarch64OKSep 14 2024

Exports:aicMSmixbicMSmixbootstrapMSmixconfintMSmixdata_augmentationdata_censoringdata_completiondata_conversiondata_descriptionexpected_spear_distfitMSmixlikMSmixpartition_fun_spearplot.bootMSmixplot.data_descrplot.distplot.emMSmixprint.bootMSmixprint.data_descrprint.emMSmixprint.summary.emMSmixrMSmixspear_distspear_dist_distrsummary.emMSmixvar_spear_dist

Dependencies:abindaskpassassertthatbackportsbase64encBayesMallowsBDgraphbmixturebootbriobroombslibcachemcallrcarcarDatacliclustercodetoolscolorspacecorrplotcowplotcpp11crayoncrosstalkcurldata.tabledendextendDerivdescdiffobjdigestdoBydotCall64dplyrDTellipseemmeansestimabilityevaluatefactoextraFactoMineRfansifarverfastmapfieldsflashClustfontawesomeforeachfsgenericsggbumpggplot2ggpubrggrepelggsciggsignifgluegmpgridExtragtablehighrhtmltoolshtmlwidgetshttpuvhttrigraphisobanditeratorsjquerylibjsonliteknitrlabelinglaterlatticelazyevalleapslifecyclelme4magrittrmapsMASSMatrixMatrixModelsmemoisemgcvmicrobenchmarkmimeminqamodelrmultcompViewmunsellmvtnormnlmenloptrnnetnumDerivopensslpbkrtestpillarpkgbuildpkgconfigpkgloadplyrpolynompraisepROCprocessxpromisespspurrrquantregR6RankclusterrappdirsrbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackrelationsrematch2reshapereshape2rlangrmarkdownrprojrootrstatixsassscalesscatterplot3dsetsslamspamSparseMspsUtilstringistringrsurvivalsystestthattibbletidyrtidyselecttinytexutf8vctrsviridisviridisLitewaldowithrxfunyaml

Readme and manuals

Help Manual

Help pageTopics
Finite Mixtures of Mallows Models with Spearman Distance for Full and Partial RankingsMSmix-package MSmix
BIC and AIC for mixtures of Mallows models with Spearman distanceaicMSmix bicMSmix
Bootstrap confidence intervals for mixtures of Mallows models with Spearman distancebootstrapMSmix plot.bootMSmix
Hessian-based confidence intervals for mixtures of Mallows models with Spearman distanceconfintMSmix
Data augmentation of partial rankingsdata_augmentation
Censoring of full rankingsdata_censoring
Completion of partial rankings with reference full rankingsdata_completion
Switch data format from rankings to orderings and vice versadata_conversion
Descriptive summaries for partial rankingsdata_description print.data_descr
Expectation of the Spearman distanceexpected_spear_dist
MLE of mixtures of Mallows models with Spearman distance via EM algorithmsfitMSmix print.emMSmix
(Log-)likelihood for mixtures of Mallows models with Spearman distancelikMSmix
Partition function of the Mallows model with Spearman distancepartition_fun_spear
Plot descriptive statistics for partial rankingsplot.data_descr
Plot the Spearman distance matrixplot.dist
Plot the MLEs for the fitted mixture of Mallows models with Spearman distanceplot.emMSmix
Print of the bootstrap confidence intervals for mixtures of Mallows models with Spearman distanceprint.bootMSmix
Antifragility Data (complete rankings with covariates)ranks_antifragility
Beers Data (partial rankings with covariate)ranks_beers
Arkham Horror Data (complete rankings)ranks_horror
Reading Genres Data (partial rankings with covariates)ranks_read_genres
Sports Data (complete rankings with covariates)ranks_sports
Random samples from a mixture of Mallows models with Spearman distancerMSmix
Spearman distancespear_dist
Spearman distance distribution under the uniform ranking modelspear_dist_distr
Summary of the fitted mixture of Mallows models with Spearman distanceprint.summary.emMSmix summary.emMSmix
Variance of the Spearman distancevar_spear_dist