FAQ/criteria202015-02-02 14:34:05PeterWatson192013-10-31 15:21:06PeterWatson182013-08-20 15:42:03PeterWatson172013-03-08 10:17:13localhostconverted to 1.6 markup162012-01-24 10:38:47PeterWatson152012-01-24 10:14:09PeterWatson142008-11-24 17:04:37PeterWatson132008-11-24 15:01:36PeterWatson122008-11-24 15:01:16PeterWatson112007-09-12 13:45:00PeterWatson102007-09-12 13:44:40PeterWatson92007-01-25 16:05:58PeterWatson82006-07-25 15:08:51pc0082.mrc-cbu.cam.ac.uk72006-07-25 15:04:50pc0082.mrc-cbu.cam.ac.uk62006-07-25 15:00:07pc0082.mrc-cbu.cam.ac.uk52006-07-25 14:53:32pc0082.mrc-cbu.cam.ac.uk42006-07-25 14:25:49pc0082.mrc-cbu.cam.ac.uk32006-07-25 14:22:59pc0082.mrc-cbu.cam.ac.uk22006-07-25 14:20:34pc0082.mrc-cbu.cam.ac.uk12006-07-25 13:59:06pc0082.mrc-cbu.cam.ac.ukTwo group discriminant diagnosticsFor 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. Letâ€™s call the two groups positive (+) and negative (-) with classification table given below. True

+ -

Pred + a b

- c d

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. Sensitivity = a/(a+c)= proportion of those who are really + who are predicted to be + Specificity = d/(b+d) = proportion of those who are really - who are predicted to be - Positive Predictive Value (PPV) = a/(a+b) = proportion of those predicted as + who really are + Negative Predictive Value (NPV) = d/(c+d) = proportion of those predicted as - who really are - An example is available using wavelength. An example of high sensitivity and low positive predictive value Positive and Negative Likelihood ratios for diagnostic effectiveness Producing a classification table in a Cross-validation sample 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 design set multiplied by the predictor variables in the test set 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. References Fleiss, JL (2003) Statistical Methods for Rates and Proportions, 3rd Edition. Wiley:New York. (in South Wing 5 of University library). Warrens MJ (2011) Chance-corrected measures for 2 x 2 tables that coincide with weighted kappa. British Journal of Mathematical and Statistical Psychology 64 355-365. This quotes the above indices and others showing they are special cases of the weighted Cohen's kappa measure of agreement.