revisedConsistency | R Documentation |
This function returns the revised consistency classification for a PCM, evaluated by comparison with the threshold of consistency for intentional PCMs in the same preference heterogeneity quartile. The measure for inconsistency is the geometric mean of ratios in comparison with the corresponding benchmark PCM.
revisedConsistency(PCM, typePCM = TRUE)
PCM |
A pairwise comparison matrix |
typePCM |
boolean flag indicating if the first argument is a PCM or a vector of upper triangular elements |
A list of four elements, revCons = the revised consistency classification, inconGM = the Geometric Mean measure of inconsistency with the best 'PCM', dQrtl = the preference heterogeneity quartile for the normalized eigenvector, and diff = the preference heterogeneity measure
revCon1 <- revisedConsistency(matrix(
c(1,1/4,1/4,7,1/5, 4,1,1,9,1/4, 4,1,1,8,1/4,
1/7,1/9,1/8,1,1/9, 5,4,4,9,1), nrow=5, byrow=TRUE))
revCon1
revCon2 <- revisedConsistency(c(7,1,9,8, 1/6,7,9, 9,9, 5), typePCM=FALSE)
revCon2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.