ahp.harker {ahpsurvey} | R Documentation |

## Replace inconsistent pairwise comparisons

### Description

Based on the matrix derived from `ahp.error`

, replaces the top `n`

number of inconsistent pairwise comparisons with a value calculated by from the method in Harker (1987). While there are strong arguments against replacing inconsistent values without the decision-maker's consent for the sake of satisfying the consistency ratio criterion of consistency ratio < 0.1 (see Saaty and Tran (2007)), it is often not possible for enumerators to ask respondents to change their answers based on consistency, whereas truncating inconsistent decisions may make the dataset unrepresentative of the population. Researchers should think carefully and explain fully the methods used to process AHP data, and whenever possible, use a lower number of iterations.

### Usage

```
ahp.harker(
ahpmat,
atts,
round = FALSE,
limit = FALSE,
iterations = 1,
stopcr = 0,
printiter = TRUE
)
```

### Arguments

`ahpmat` |
A list of pairwise comparison matrices of each decision maker generated by |

`atts` |
A list of attributes in the correct order |

`round` |
Rounds the imputation values of the matrix to the nearest integer if |

`limit` |
If set to |

`iterations` |
The number of comparisons with the highest inconsistency to be changed. For example, if |

`stopcr` |
The stopping Consistency Ratio, which was calculated by |

`printiter` |
Whether the number of iterations taken for each pairwise matrix is reported or not. If |

### Value

A list of matrices with values replaced with consistent values.

### Author(s)

Frankie Cho

### References

Harker P (1987).
“Incomplete pairwise comparisons in the analytic hierarchy process.”
*Mathematical Modelling*, **9**(11), 837 - 848.
ISSN 0270-0255, http://www.sciencedirect.com/science/article/pii/0270025587905033.

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.

### See Also

ahp.error ahp.cr

### Examples

```
atts <- c('cult', 'fam', 'house', 'jobs', 'trans')
data(city200)
cityahp <- ahp.mat(city200, atts, negconvert = TRUE)
ahp.harker(cityahp, atts)
```

*ahpsurvey*version 0.4.1 Index]