IDI: integrated discrimination improvement- no thresholds needed...

Description Usage Arguments Details Value

View source: R/metrics.R

Description

This function calculates the ntegrated discrimination improvement (IDI) metric comparing two models

Usage

1
IDI(plpModel1, plpModel2)

Arguments

plpModel1

The object returned by runPlp() containing the trained model or the output when implementing an existing model

plpModel2

The object returned by runPlp() containing the trained model or the output when implementing an existing model

Details

Users need to input two trained models (the output of runPlp()) or the output of running an existing model where the plpData used was the same

Value

A list containing the IDI value and z-value (can be used for statistical significance). A positive value suggests the first model is better than the second model. A negative values suggests the opposite.


OHDSI/PredictionComparison documentation built on July 14, 2020, 6:16 p.m.