The statistical packages, scripts, and macros available for download from this site may not in any form be used for commercial purposes.

NRI-IDI

The NRI-IDI package for calculation of net reclassification index (NRI) and integrated discrimination improvement (IDI) based on logistic regression is available for R, SAS, and Stata users. Formulae and a working example using NRI and IDI are presented in the article:

J Sundström, L Byberg, R Gedeborg, K Michaëlsson, L Berglund. Useful tests of usefulness of new risk factors: Tools for assessing reclassification and discrimination. Scand J Public Health. 2011;39(4):439-41. doi: 10.1177/1403494810396556

Downloads

R users (right click to save): nriidi_Rscript.txt
SAS users (right click to save): nriidi_macro.sas
Stata users: type "net from http://www.ucr.uu.se/en/images/stories/downloads" in the command window of Stata to view and install the nriidi-package.

 

Back to top