Compute importance sampling estimates of log partition function for footrule and Spearman distances.
compute_importance_sampling_estimate(
alpha_vector,
n_items,
metric = "footrule",
nmc = 10000L
)
Vector of alpha values at which to compute partition function.
Integer specifying the number of ranked items.
Distance measure of the target Mallows distribution. Defaults to footrule
.
Number of Monte Carlo samples. Defaults to 1e4
.