Description Usage Arguments Value Details References See Also
View source: R/interval_judgement.R
A function to obtain random matrices
1 | random.pcmatrices(data_lower, data_upper, nmatrices)
|
data_lower |
A list of dataframes objects with the lower bounds for each pairwise comparison matrix |
data_upper |
A list of dataframes objects with the upper bounds for each pairwise comparison matrix |
nmatrices |
Integer, total number of random matrices to generate |
A list of matrices
Given matrices
C^{L} = ≤ft[ {\begin{array}{cccc} 1 & a^L_{12} & … & a^L_{1m}\\ 1/a^L_{12} & 1 & … & a^L_{2m} \\ … & … & 1 & …\\ 1/a^L_{1m} & 1/a^L_{2m} & … & 1 \end{array} } \right],\hspace{.5cm} C^{U} = ≤ft[ {\begin{array}{cccc} 1 & a^U_{12} & … & a^U_{1m}\\ 1/a^U_{12} & 1 & … & a^U_{2m} \\ … & … & 1 & …\\ 1/a^U_{1m} & 1/a^U_{2m} & … & 1 \end{array} } \right]
with the lower and upper bounds of an interval pairwise comparison matrix, this function generates a set of random matrices within the interval. The random numbers for each comparison are generated with an uniform distribution.
Saaty, Thomas L. y Vargas, Luis G.: Uncertainty and rank order in the analytic hierarchy process. European Journal of Operational Research, 1987, 32(1), pp. 107–117. ISSN 0377- 2217. doi: 10.1016/0377-2217(87)90275-X.
runif about the uniform distribution
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.