Function to perform Metropolis-Hastings for new augmented ranking
metropolis_hastings_aug_ranking(
alpha,
rho,
n_items,
partial_ranking,
current_ranking,
pseudo,
metric = "footnote"
)
R_curr or R_obs A ranking sequence vector representing proposed augmented ranking for next iteration of MCMC chain
Numeric value of the scale parameter
Numeric vector specifying the consensus ranking
Integer is the number of items in a ranking
An incomplete rank sequence vector of the original observed incomplete ranking which contains NAs
An complete rank sequence vector of the proposed augmented ranking obtained from calculate_forward_probability function
Boolean specifying whether to use pseudo proposal or not.s
A character string specifying the distance metric to use in the
Bayesian Mallows Model. Available options are "footrule"
,
"spearman"
, "cayley"
, "hamming"
, "kendall"
, and
"ulam"
.