on network data
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License
.
In a new version of Potential Method softvare it may happen that the text in the output is slightly different than the output writen here on the web page. Sorry for inconvenience.
Flow
This piece of software calculates a potential of the preference graph.Basic articles:
A universal voting system based on the Potential Method
Measure of Inconsistency for the Potential Method
Option: -a average
Command line:
Option: -a sum
Command line:
Option: -a undef
Command line:
Flow visualization (igraph)
- Download R-script source file flow.lib.R.
- Download R-script file flow.plot.R.
- Open flow.plot.R in R-Studio.
-
For input input.txt you wil get the graph
- You may notice that node size depends upon its potential (option -a average).
Table
This piece of software calculates the potential of the rows in table, regarding the columns as atributes and vice versa.Options: -a [sum, average, multigraph]
Command line:
./pmtable -f table.csv -s -a average
./pmtable -f table.csv -s -a multigraph
Another example
Command line:
Duality
Command line:
R-matrix
This piece of software calculates the weights of the alternatives from the reciprocal matrix by EVM, GMM and PM methods.Single DM
-
-
Command line:
./pmrmatrix -f rmatrix.csv -m EVM
You may also try:./pmrmatrix -f rmatrix.csv -m GMM
./pmrmatrix -f rmatrix.csv -m PMIncomplete matrix
Methods: GMM and EVM makes no sense, but
./pmrmatrix -f rmatrix.csv -m PMis legal.An example
Using 3 options EVM, GMM, PM you will get three different results:
EVM GMM PM A 0.196265 0.183133 0.2 B 0.181652 0.161498 0.2 C 0.162806 0.148919 0.2 D 0.18307 0.18447 0.2 E 0.276206 0.32198 0.2
Additionaly, here is an ods file to check EVM, and here is an ods file to check GMM.
Aggregation of reciprocal matrices
- Download group.zip
- Unpack it in the same folder where is rmatrix executable.
-
Command line (group aggregation with GMM):
./pmrmatrix -f group -m gGMM
-
Command line (group aggregation with PM):
./pmrmatrix -f group -m gPM
Hierarchy
This piece of software solves a hierarchicaly structured decision problem (goal, criteria, subcriteria,..., alternatives).Top down hierarchy
-
This hierarchy is an example with a parent node (1.1) which has child nodes in a third level and 'jumps over' the second level. Such feature is not allowed (as I know) in the Expert choice software.
Command line:./pmhier -f hier1.txt > a.out
-
Restriction of the hierarchy
A command line./pmhier -f hier1.txt -r 1.2restricts the hierarchy down from the 'root 1.2' (a2) and solves the restricted hierarchy.
Group decision (GDM)
Top-down aggregation
A group of flows may be aggregate using a hierarchical model. In example hier1.txt a hierarchy is structered with 3 levels:structure: {A: {a1, a2}, B: {b1, b2, b3}, C: {c1, c2, c3}}.
Remark. A hidden assumption in such formulation is that all decision makers use the same set of criteria which may not be the case in reality.Restrict and aggregate (ABC)
A command line:./pmhier -f hier1.txt --abc
Remark. A hidden assumption in such formulation is that all decision makers use the same set of criteria which may not be the case in reality.Divide and aggregate
This kind of aggregation assume that each decision maker defines his own hierarchy with his own criteria and subcriteria (or even without them). The only restriction is that hierarchies have the same bottom level (names of the alternatives).
Example. Download a group data and unpack them in the same folder where is pmhier executable. In the folder named group there are hierarchies of all decision makers and a file named group.info./pmhier -f ./group/ -m(-m means members) gives as ouputGroup self-ranking
As above, each DM has his own hierrarchy with one difference: the alternatives are decision makers themselves. There are 2 possibilities of self-evaluation of a group of decision makers: (1) with supervisor and (2) without supervisor.(1) In the first case the supervisor gives a priori members weights. The procedure is the same as in Divide and aggregate. The supervisor also has a possibility to exclude each DM from the preferences in his hierarchy. For such possiblity a group type gtype:{dual} is introduced in the file group.info as shown in the textarea above. A full example is linked here.
(2) The second case is more complicated to understand at this moment. To understand this case you should understand first the idea of self-dual hierarchy (the next chapter). Self-ranking is meaningfull for dual type groups, i.e. for those groups with the set of alternatives equal to the set of group members. The software recognize such case in group.info (option method:{iterate}) and test data for such possibility. A full example is linked here.
Self dual hierarchy
Theory: Self Duality and Conflict ResolutionSelf-dual hierarchy has the same nodes in the first and in the last level. A procedure starts with some initial weight on the first level, calculates the last level weight, substitute the new weight as new initial weight and so on... The procedure has a fix point which is a robust weight of the alternatives. It is proved that the fix point does not depend upon the initial weight.
-
-
Command line:
./pmhier -f hier.dual.txt -
Choice modeling
This piece of software aggregates ratios $R\oplus S$ where$S:=C:A=2:3$
Theory: Preference measurement and application to choice theory
- Download the choice file.
- Make it executable
chmod +x filename
-
-
Command line:
./pmchoice -f choice_binomial.txt
-
Other examples (play with input data to see the difference):
choice_1
choice_2
choice_puzzle
choice_test
Conclude that: (A:B=2:1 & B:C=2:1) is equivalent to A:B:C=4:2:1.
Choce model as a generalization of R-matrix approach
Here are two examples: ctest.txt and rtest.csv. The first one is a choice model, and the second is a R-matrix model. You may try:-
./pmchoice -f ctest.txt
-
./pmrmatrix -f rtest.csv -m PM
A | 0.571429 | B | 0.285714 |
C | 0.142857 |
Geometrical interpretation of ratio(s)
Let us denote by $\Sigma$ a simplex with vertices A,B,C,D in 4-dimensional euclidean space.Ratio B:C:D=2:1:4 defines a point in the BCD facet.
Ratio A:D=2:4 defines a point in the AD facet...
In a Future ...
- Ordinal Potential Method.
- Missing Data - a proxy approach (partialy done).
- Machine Learning and Prediction by PM (partialy done).
- PM Score Matching in Observational Studies (partialy done).
- Input-Output models (DEA vs. PM) (partialy done)