<?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/criteria</title><revhistory><revision><revnumber>20</revnumber><date>2015-02-02 14:34:05</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>19</revnumber><date>2013-10-31 15:21:06</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>18</revnumber><date>2013-08-20 15:42:03</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>17</revnumber><date>2013-03-08 10:17:13</date><authorinitials>localhost</authorinitials><revremark>converted to 1.6 markup</revremark></revision><revision><revnumber>16</revnumber><date>2012-01-24 10:38:47</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>15</revnumber><date>2012-01-24 10:14:09</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>14</revnumber><date>2008-11-24 17:04:37</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>13</revnumber><date>2008-11-24 15:01:36</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>12</revnumber><date>2008-11-24 15:01:16</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>11</revnumber><date>2007-09-12 13:45:00</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>10</revnumber><date>2007-09-12 13:44:40</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>9</revnumber><date>2007-01-25 16:05:58</date><authorinitials>PeterWatson</authorinitials></revision><revision><revnumber>8</revnumber><date>2006-07-25 15:08:51</date><authorinitials>pc0082.mrc-cbu.cam.ac.uk</authorinitials></revision><revision><revnumber>7</revnumber><date>2006-07-25 15:04:50</date><authorinitials>pc0082.mrc-cbu.cam.ac.uk</authorinitials></revision><revision><revnumber>6</revnumber><date>2006-07-25 15:00:07</date><authorinitials>pc0082.mrc-cbu.cam.ac.uk</authorinitials></revision><revision><revnumber>5</revnumber><date>2006-07-25 14:53:32</date><authorinitials>pc0082.mrc-cbu.cam.ac.uk</authorinitials></revision><revision><revnumber>4</revnumber><date>2006-07-25 14:25:49</date><authorinitials>pc0082.mrc-cbu.cam.ac.uk</authorinitials></revision><revision><revnumber>3</revnumber><date>2006-07-25 14:22:59</date><authorinitials>pc0082.mrc-cbu.cam.ac.uk</authorinitials></revision><revision><revnumber>2</revnumber><date>2006-07-25 14:20:34</date><authorinitials>pc0082.mrc-cbu.cam.ac.uk</authorinitials></revision><revision><revnumber>1</revnumber><date>2006-07-25 13:59:06</date><authorinitials>pc0082.mrc-cbu.cam.ac.uk</authorinitials></revision></revhistory></articleinfo><section><title>Two group discriminant diagnostics</title><para>For 2 x 2 tables there are four terms used to summarise the classification table of observed and predicted group membership outputted by discriminant procedures such as binary logistic regression. </para><para>Let’s call the two groups positive (+) and negative (-) with classification table given below.  </para><informaltable><tgroup cols="7"><colspec colname="col_0" colwidth="25*"/><colspec colname="col_1"/><colspec colname="col_2"/><colspec colname="col_3"/><colspec colname="col_4"/><colspec colname="col_5"/><colspec colname="col_6"/><tbody><row rowsep="1"><entry colsep="1" nameend="col_3" namest="col_0" rowsep="1"/><entry colsep="1" rowsep="1"/><entry colsep="1" nameend="col_6" namest="col_5" rowsep="1"><para>True </para></entry></row><row rowsep="1"><entry colsep="1" nameend="col_3" namest="col_0" rowsep="1"/><entry colsep="1" rowsep="1"/><entry colsep="1" rowsep="1"><para>  + </para></entry><entry colsep="1" rowsep="1"><para> - </para></entry></row><row rowsep="1"><entry colsep="1" nameend="col_3" namest="col_0" rowsep="1"><para> Pred  </para></entry><entry colsep="1" rowsep="1"><para> + </para></entry><entry colsep="1" rowsep="1"><para>  a </para></entry><entry colsep="1" rowsep="1"><para> b </para></entry></row><row rowsep="1"><entry colsep="1" nameend="col_3" namest="col_0" rowsep="1"/><entry colsep="1" rowsep="1"><para> - </para></entry><entry colsep="1" rowsep="1"><para>  c </para></entry><entry colsep="1" rowsep="1"><para> d </para></entry></row></tbody></tgroup></informaltable><para>The following four quantities are often quoted and asked for by journals as a means of evaluating the sharpness of the model fit in the two group case. </para><itemizedlist><listitem><para>Sensitivity =  a/(a+c)= proportion of those who are really + who are predicted to be + </para></listitem><listitem><para>Specificity = d/(b+d) = proportion of those who are really - who are predicted to be -         </para></listitem><listitem><para>Positive Predictive Value (PPV) =  a/(a+b) = proportion of those predicted as + who really are + </para></listitem><listitem><para>Negative Predictive Value (NPV) =  d/(c+d) = proportion of those predicted as - who really are -  </para></listitem><listitem><para><ulink url="https://lsr-wiki-02.mrc-cbu.cam.ac.uk/statswiki/FAQ/criteria/statswiki/FAQ/wavelength_eg#">An example</ulink> is available using wavelength. </para></listitem><listitem><para><ulink url="https://lsr-wiki-02.mrc-cbu.cam.ac.uk/statswiki/FAQ/criteria/statswiki/FAQ/gallowayeg#">An example of high sensitivity and low positive predictive value</ulink> </para></listitem><listitem><para><ulink url="https://lsr-wiki-02.mrc-cbu.cam.ac.uk/statswiki/FAQ/criteria/statswiki/FAQ/likrat#">Positive and Negative Likelihood ratios for diagnostic effectiveness</ulink> </para></listitem></itemizedlist><para><emphasis role="underline">Producing a classification table in a Cross-validation sample</emphasis> </para><para>Output from a discriminant procedure such as logistic regression from one data set (design set) can easily be tested on another one (test set) when there are two groups. Simply compute the sum of the product of the regression coefficients from the <emphasis role="underline">design set</emphasis> multiplied by the predictor variables in the <emphasis role="underline">test set</emphasis> to produce a score for each subject. If the score is positive allocate to one group (usually the lower coded group) and if this score is negative allocate to the other group (usually the higher coded group but check on these codings). The classification table comparing predicted groups to true group membership can then be produced using, for example, the CROSSTABS procedure in SPSS. In general for k groups (k-1) multiple discriminant scores are produced with one group having a zero score. The predicted group for each individual corresponds to the group with the highest discriminant score.   </para><para><emphasis role="underline">References</emphasis> </para><para>Fleiss, JL (2003) Statistical Methods for Rates and Proportions, 3rd Edition. Wiley:New York. (in South Wing 5 of University library). </para><para>Warrens MJ (2011) Chance-corrected measures for 2 x 2 tables that coincide with weighted kappa. <emphasis>British Journal of Mathematical and Statistical Psychology</emphasis> <emphasis role="strong">64</emphasis> 355-365. This quotes the above indices and others showing they are special cases of the weighted Cohen's kappa measure of agreement. </para></section></article>