<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>FAQ/ranksum</title><revhistory><revision><revnumber>10</revnumber><date>2013-03-08 10:17:10</date><authorinitials>localhost</authorinitials><revremark>converted to 1.6 markup</revremark></revision><revision><revnumber>9</revnumber><date>2007-10-25 08:46:01</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>8</revnumber><date>2007-10-25 08:45:21</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>7</revnumber><date>2007-10-25 08:44:48</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>6</revnumber><date>2007-10-25 08:39:03</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>5</revnumber><date>2007-10-24 16:09:47</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>4</revnumber><date>2007-10-24 16:07:41</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>3</revnumber><date>2007-10-24 16:02:52</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>2</revnumber><date>2007-10-24 15:46:12</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>1</revnumber><date>2007-10-24 15:43:48</date><authorinitials>PeterWatson</authorinitials></revision></revhistory></articleinfo><section><title>What is the expected total discrepancy score in a R choice task?</title><para>Suppose we have R possible choices and each of these is equally likely to be the true one.  </para><para>If we consider a discrepancy as the difference between the true choice and the one given by a subject then </para><para>The expected total discrepancy of the <emphasis>absolute value</emphasis> of discrepancies equals  </para><para>$$\sum_{k=1}^R (k=1)k $$, $$1 \leq k \leq R $$ </para><para>with the average sum of the absolute values of discrepancies per rating equal to </para><para>$$\frac{\sum_{k=1}^R (k=1)k}{R}$$.  </para><para>For example the table below gives all the abs(discrepancies) for the case where R = 4. </para><informaltable><tgroup cols="8"><colspec colname="col_0"/><colspec colname="col_1"/><colspec colname="col_2"/><colspec colname="col_3"/><colspec colname="col_4"/><colspec colname="col_5"/><colspec colname="col_6"/><colspec colname="col_7"/><tbody><row rowsep="1"><entry colsep="1" nameend="col_3" namest="col_0" rowsep="1"><para> <emphasis role="strong">k=1</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">k=2</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">k=3</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">k=4</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">True Rank</emphasis> </para></entry></row><row rowsep="1"><entry colsep="1" nameend="col_3" namest="col_0" rowsep="1"><para> <emphasis role="strong">0</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">1</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">2</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">3</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">1</emphasis> </para></entry></row><row rowsep="1"><entry colsep="1" nameend="col_3" namest="col_0" rowsep="1"><para> <emphasis role="strong">1</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">0</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">1</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">2</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">2</emphasis> </para></entry></row><row rowsep="1"><entry colsep="1" nameend="col_3" namest="col_0" rowsep="1"><para> <emphasis role="strong">2</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">1</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">0</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">1</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">3</emphasis> </para></entry></row><row rowsep="1"><entry colsep="1" nameend="col_3" namest="col_0" rowsep="1"><para> <emphasis role="strong">3</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">2</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">1</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">0</emphasis> </para></entry><entry colsep="1" rowsep="1"><para> <emphasis role="strong">4</emphasis> </para></entry></row></tbody></tgroup></informaltable><para>Expected total score assuming random guesses at true rank  </para><para>= 2(1+2+3)+2(1+1+2)= 20  </para><para>= 1x2 + 2x3 + 3x4  </para><para>= $$\sum_{k=1}^4 (k=1)k $$.  </para><para>The average sum of abs(discrepancies) per rating = 20/4 = 5. </para></section></article>