Functional Specifications [https://trac.sahanapy.org/wiki/BluePrintDecisionMakingFunctional] ---- {{{ #!html

The Delphi Decision Maker - Version 1.0

Technical Specifications

}}} ---- = Version 1.0 ER Diagram for the Database Design = [[BR]] [[Image(DDM-V1.jpg)]] = Matrix Calculations for Thurstone's Law of Comparative Judgment = there are three calculations that occur - normally in a MxM matrix where all of the options are across the first row and column. when explaining it to someone, you read where item in the row item is selected against the item in a column that it's being compared to. now for every paired comparison, let's use (3, 2) - a frequency count is maintained. so, for every user, there will be a point where they select either (3) or (2) when the pairs are presented together. here, we'll keep it simple and say we have 10 users where 6 prefer option 3 over option 2. ----- step 1: get frequency count of votes for each item pair so, this reads, item (3) is selected over item (2) 60% of the time. although it's good for the individual user to see how they voted as an individual, they key issue of this system is that we're getting a group calculation (which answers your next question). it's from this group calculation that a scale is made and hence, everyone can see. this way, they know what the 'group' opinion on the problem is. this is supposed to help them argue their idea of what's best if they see that the group is not voting the way they would overall. step 2: change totals to percentages so, the first step is to keep a running total, a frequency count, of each paired pair's running total. next step is simple, the numbers are changed into a percentage (will be very different numbers obviously though when we have 200 - 2000 people using the system, but i'm going to keep it simple here to explain the process. so, the percentage matrix would be at this point: step 3: find equivalence number in the unit normal table so, from the code i gave you (because i don't have the book with the table by me (sorry)) you would match each number in each cell with the equivalent number in the unit normal table. so, it would look up 60% (and actually the table is the same sort of matrix as we have above (by chance)) and you'd go til you found 6 at the top, then 0 from the other part, but the code probably explains that better to you. i will try to find a UNT online and send. it's really a mapping problem i think. anyway, you change the numbers from the percentage to the equivalent number of that percentage into a UNT value, let's say - they end up being (and must be carried out to the 4th decimal place too: now the columns are totaled (each column represents an item option) and then these summed numbers are the ranked once put into an ascending order - but i don't think you do that - i think this is where the scale comes in. each number (item option) is represented on the scale and that shows the user where the group stands on the overall list. and vwa lah, that's the thurstone scale of comparative judgement! kewl, huh? since there is supposed to be a very large number of users, there's no need to maintain every person's vote change in the frequency matrix. the idea is that, if they change their vote, you just add the vote on top of the existing frequency count. the theory is, that the large numbers of voters and voting will make a particular item surface to the top - so, no need to subtract one from an item if a user changes their mind, you simply add the new vote on top of the existing total votes (frequency matrix). And, about user story #4, Every user should be able to see the votes of other users? How should the user interface look like? they look at the scale where the thurstone's final caculation is represented. a single group vote. this is the beauty behind the system, individuals all input and give there voice on a problem, but there is one running group vote that drives everything else (arguments in the forum to persuade others, then revoting if an individual changes their mind). now remember that uncertainty is part of the other two scales - one to show the best case if all registered voters who haven't voted yet, voted in favor of an option. difference = total voters - those who voted on that item best case = (those who voted on an item + difference)/total voters (scale 2) worst case = (those who voted on an item)/total voters (scale 3) the difference between these and the regular calculation (scale 1) is that in scale 1 only the active voters are considered so the total voters is simply the total voters who actively voted on something (not everyone who could) because remember, they don't have to vote on every item, only those items (subgroup) they select. 9.3 Thurstone’s Law of Comparative Judgment Thurstone’s Law of Comparative Judgment (TLCJ) measures a person’s preference for one item i over any another item j based on a single stimulus measuring the discriminal dispersion between the two on a psychological continuum. This is conducted by using paired comparisons where every item i in a pair (i,j) in a set will be compared to every other item in a set producing a total of n(n-1)/2 comparisons (Thurstone, 1927). Torgerson provides an example of this process using three matrices: matrix F (frequency), matrix P (probability) and matrix X (unit normal derivative). The first matrix F, is a frequency count of item selected in any given pair by every individual in the group. The table presented next shows a frequency count of a user group where N = 5. The items along the 1st row, A, B, C, and D are preferred over the corresponding items in the 1st column of an M x M matrix, where zeros are placed along the diagonal. Given the number of users, N = 5, each corresponding pair should equal N, i.e. (i,j) + (j,i) = 5: A B C D A ---- 1 2 1 B 4 ---- 3 4 C 3 2 ---- 5 D 4 1 1 ---- Table x.1 Matrix F Frequency Count of User Input These frequencies are changed to probabilities as such for matrix P where each each (i,j) + (j,i) = 100%: A B C D A ---- .20 .40 .20 B .80 ---- .60 .80 C .60 .40 ---- 1.00 D .80 .20 .0 ---- 2.2 .80 1.0 2.0 Table x.2 Matrix P Frequencies Converted to Probabilities The final matrix, X, is where these percentages are replaced by their unit normal deviates to cumulative proportions. A B C D A ---- -.85 -.26 -.85 B .84 ---- .25 .84 C .25 -.26 ---- 0 D .84 -.85 0 ---- 1.93 -1.96 -.01 -.01 Table x.3 Matrix X Cumulative Normal Distribution Function Values greater than 50% will be positive in this transformation of matrix P to X and values less than 50% will be negative. Any values of 100% or 0% in matrix P are given a value of 0 in matrix X because the x values corresponding from the unit normal deviate table are unboundedly large (Torgerson, 1958). Thurstone’s scale is an extension based off of Thorndike’s work which provides added insight into ranked lists of items. Given A is preferred over B 75% of the time and B is preferred over C 85% of the time, “how much greater than the distance AB is the distance BC? Thorndike solved this problem by assuming that the difference in distances is proportional to the difference in the unit normal deviates corresponding to the two proportions” (Torgerson, 1958, p. 155).