Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

compute_importance_sampling_estimate

Compute importance sampling estimates of log partition function for footrule and Spearman distances.


Description

Compute importance sampling estimates of log partition function for footrule and Spearman distances.

Usage

compute_importance_sampling_estimate(
  alpha_vector,
  n_items,
  metric = "footrule",
  nmc = 10000L
)

Arguments

alpha_vector

Vector of alpha values at which to compute partition function.

n_items

Integer specifying the number of ranked items.

metric

Distance measure of the target Mallows distribution. Defaults to footrule.

nmc

Number of Monte Carlo samples. Defaults to 1e4.


BayesMallows

Bayesian Preference Learning with the Mallows Rank Model

v1.0.1
GPL-3
Authors
Oystein Sorensen [aut, cre] (<https://orcid.org/0000-0003-0724-3542>), Valeria Vitelli [aut] (<https://orcid.org/0000-0002-6746-0453>), Marta Crispino [aut], Qinghua Liu [aut], Cristina Mollica [aut], Luca Tardella [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.