Learn R Programming

rankrate

The rankrate R package implements the Mallows-Binomial distribution, the first joint statistical model for preference modeling with rankings and ratings.

Where can I learn more?

See the overview tab for information on downloading the package from CRAN or Github, and the tutorial tab for instructions on how to use the package on real data.

Acknowledgements and Funding

This project was supported by the National Science Foundation under Grant No. 2019901.

Copy Link

Version

Install

install.packages('rankrate')

Monthly Downloads

205

Version

1.2.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Michael Pearce

Last Published

March 26th, 2025

Functions in rankrate (1.2.1)

psi

Normalizing constant function of a Mallows distribution, psi
fit_mb

Calculate the exact or approximate MLE of a Mallows-Binomial distribution using various methods
getQ

Calculate Q Matrix
dmb

Calculate the density of rankings and ratings under a Mallows-Binomial distribution.
kendall

Calculate the Kendall's tau between rankings
rmall

Random Mallows generation.
ci_mb

Bootstrap Confidence Intervals for Mallows-Binomial parameters.
AIBS

Real peer review data set from the American Institute of Biological Sciences (AIBS)
dmall

Calculate the density of rankings under a Mallows distribution
Greedy

Estimate the MLE of a Mallows-Binomial distribution using the Greedy method
GreedyLocal

Estimate the MLE of a Mallows-Binomial distribution using the "Greedy Local" method
FV

Estimate the MLE of a Mallows-Binomial distribution using the FV method
ASTAR

Calculate the exact MLE of a Mallows-Binomial distribution using an A* algorithm
rmb

Random Mallows-Binomial generation
to_rankings

Convert ranks into rankings (orderings)
ToyData1

Toy data set of rankings and ratings demonstrating tie-breaking
ToyData3

Toy data set of rankings and ratings when judges express internally inconsistent preferences
ToyData2

Toy data set of rankings and ratings demonstrating decision-making with partial rankings