calculate_forward_probability | R Documentation |
Function to calculate probability of assigning a set of specific ranks to an specific item given its rank in the consensus ranking
calculate_forward_probability(
item_ordering,
partial_ranking,
remaining_set,
rho,
alpha,
n_items,
metric = "footrule"
)
item_ordering |
A vector of integer values to represent the specified queue of which unranked item to assign a rank for the proposed augmented ranking |
partial_ranking |
An incomplete rank sequence vector of the original observed incomplete ranking which contains NAs |
remaining_set |
A vector of integer values to represent the elements (ranks) missing from original observed ranking |
rho |
Numeric vector specifying the consensus ranking |
alpha |
Numeric value of the scale parameter |
n_items |
Integer is the number of items in a ranking |
metric |
A character string specifying the distance metric to use in
the Bayesian Mallows Model. Available options are |
List containing aug_ranking, a ranking sequence vector of the proposed augmented ranking and forward_prob a numerical value of the probability of creating the augmented ranking using the pseudolikelihood augmentation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.