ahp.cr {ahpsurvey}R Documentation

Calculates the consistency ratio of each decision-maker

Description

The ahp.cr function calculates the consistency ratio of each decision-maker, defined by the following equation:

CR = (\lambda-n)/((n-1)(RI))

Where \lambda is the maximum eigenvalue of the pairwise comparison matrix, n is the number of attributes, and RI is the random index. Following Saaty and Tran (2007), the RI is a function of n and is the consistency ratio of randomly generated pairwise comparison matrices.

Usage

ahp.cr(ahpmat, atts, ri = NULL)

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. The RI is asymptotic as it approaches n=15, thus it is set to be equal to 1.6 if the number of attributes exceeds 16.

ri

A user-supplied random index value, probably user generated using ahp.ri.

Value

A list of consistency ratios of each decision-maker.

Author(s)

Frankie Cho

References

Saaty TL, Tran LT (2007). “On the invalidity of fuzzifying numerical judgments in the Analytic Hierarchy Process.” Mathematical and Computer Modelling, 46(7), 962 - 975. ISSN 0895-7177, Decision Making with the Analytic Hierarchy Process and the Analytic Network Process, http://www.sciencedirect.com/science/article/pii/S0895717707000787.

Examples


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

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


[Package ahpsurvey version 0.4.1 Index]