compute_avg_tau: Compute Average tau

View source: R/compute_avg_tau.R

compute_avg_tauR Documentation

Compute Average tau

Description

Calculates the average tau correlation coefficient defined by Emond and Mason (2002). The average tau correlation has a one-to-one relationship with total Kemeny distance, While it is more common, total Kemeny distance may be preferred to avoid rounding error.

Usage

compute_avg_tau(total_K, n, k, wt)

Arguments

total_K

a positive integer as the total Kemeny distance of a ranking versus the input rankings.

n

a positive integer for the number of objects in the ranking.

k

a positive integer for the number of judges or attributes in the given ranking problem. This is also the number of input rankings from the problem.

wt

a k-length vector containing weights for each judge or attribute. An optional parameter.

Value

A numeric of the average tau correlation based on the total Kemeny distance.

References

Emond, E. J., & Mason, D. W. (2002). A new rank correlation coefficient with application to the consensus ranking problem. Journal of Multi-Criteria Decision Analysis, 11(1), 17-28.


RankAggSIgFUR documentation built on July 9, 2023, 7:26 p.m.