approx_rank_relative: Approximation of relative rank probabilities

View source: R/approximate.ranks.R

approx_rank_relativeR Documentation

Approximation of relative rank probabilities


Approximate relative rank probabilities P(rk(u)<rk(v)). In a network context, P(rk(u)<rk(v)) is the probability that u is less central than v, given the partial ranking P.


approx_rank_relative(P, iterative = TRUE, num.iter = 10)



A partial ranking as matrix object calculated with neighborhood_inclusion or positional_dominance.


Logical scalar if iterative approximation should be used.


Number of iterations to be used. defaults to 10 (see Details).


The iterative approach generally gives better approximations than the non iterative, if only slightly. The default number of iterations is based on the observation, that the approximation does not improve significantly beyond this value. This observation, however, is based on very small networks such that increasing it for large network may yield better results. See vignette("benchmarks",package="netrankr") for more details.


a matrix containing approximation of relative rank probabilities. relative.rank[i,j] is the probability that i is ranked lower than j


David Schoch


De Loof, K. and De Baets, B and De Meyer, H., 2008. Properties of mutual rank probabilities in partially ordered sets. In Multicriteria Ordering and Ranking: Partial Orders, Ambiguities and Applied Issues, 145-165.

See Also

approx_rank_expected, exact_rank_prob, mcmc_rank_prob


P <- matrix(c(0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, rep(0, 10)), 5, 5, byrow = TRUE)
approx_rank_relative(P, iterative = FALSE)
approx_rank_relative(P, iterative = TRUE)

netrankr documentation built on Aug. 20, 2023, 5:06 p.m.