Calculate probability of assigning a set of specific ranks to an specific item given its rank in the consensus ranking
get_sample_probabilities(
rho_item_rank,
alpha,
remaining_set_ranks,
n_items,
metric = "footrule"
)
sample_prob_list A numeric sequence of sample probabilities for selecting a specific rank given the current rho_item_rank
An integer value rank of an item in the current consensus ranking
Numeric value of the scale parameter
A sequence of integer values of the set of possible ranks that we can assign the item
Integer is the number of items in the consensus ranking
A character string specifying the distance metric to use in the
Bayesian Mallows Model. Available options are "footrule"
,
"spearman"
, "cayley"
, "hamming"
, "kendall"
, and
"ulam"
.