score was 21.1 (SD 2.6) in people with type 2 diabetes and 20.5 (2.7) in those without type 2 diabetes (web table K). The simple gene count and the genetic risk function gave very similar discrimination, with areas under the receiver operating characteristics curve of 0.54 (0.50 to 0.58) (fig 1) and 0.55 (0.51 to 0.59) (table 1). Table 1 shows the detection rates at 5% and 10% false positive rates.