ahp.pwerror {ahpsurvey}R Documentation

Finds the pairwise comparisons with the maximum amount of inconsistency

Description

After constructing a list of matrices with \epsilon_{ij} = a_{ij}w_{j}/w_{i} (following ahp.error), this algorithm extracts the top n numbers of pairwise comparison matrices with the highest \epsilon_{ij} for each decision-maker.

Usage

ahp.pwerror(ahpmat, atts, npw = 3)

Arguments

ahpmat

A list of pairwise comparison matrices of each decision maker generated by ahp.mat.

atts

a list of attributes in the correct order

npw

Number of pairwise comparisons

Value

A list of matrices containing \epsilon_{ij} = a_{ij}w_{j}/w_{i} for each decision-maker, with elements from the lower triangle set as NA automatically (since it is essentially equal to the element in the upper triangle).

Author(s)

Frankie Cho

References

Saaty TL (2004). “Decision making — the Analytic Hierarchy and Network Processes (AHP/ANP).” Journal of Systems Science and Systems Engineering, 13(1), 1–35. ISSN 1861-9576, doi: 10.1007/s11518-006-0151-5, https://doi.org/10.1007/s11518-006-0151-5.

Examples


library(magrittr)

atts <- c('cult', 'fam', 'house', 'jobs', 'trans')

data(city200)

cityahp <- ahp.mat(city200, atts, negconvert = TRUE)
ahp.error(cityahp, atts)



[Package ahpsurvey version 0.4.1 Index]