README.md

C.for.Benefit from the CforBenefit package

This function calculates the C-for-benefit as proposed by D. van Klaveren et al. (2018) by matching patient based on patient characterstics.

The C-for-benefit measures the discriminative ability of a model that estimates heterogeneous treatment effect. The C-for-benefit is the probability that from two randomly chosen matched patient pairs with unequal observed benefit, the pair with greater observed benefit also has a higher predicted benefit. The C-for-benefit was calculated by the number of concordant pairs divided by the number of concordant and discordant pairs. Two patient pairs are concordant if the pair with the greater observed benefit also has higher predicted benefit. Two patient pairs are discordant if the pair with greater observed benefit has lower predicted benefit. Two patient pairs are uninformative if the pairs have the same observed benefit.

Install using

remotes::install_github("CHMMaas/CforBenefit")

For an example of how to use the "C.for.Benefit" function, have look at "Examples" under "?C.for.Benefit".

Reference

van Klaveren D, Steyerberg EW, Serruys PW, Kent DM. The proposed 'concordance-statistic for benefit' provided a useful metric when modeling heterogeneous treatment effects. J Clin Epidemiol. 2018 Feb;94:59-68. doi: 10.1016/j.jclinepi.2017.10.021. Epub 2017 Nov 11. PMID: 29132832; PMCID: PMC7448760.



CHMMaas/CforBenefit documentation built on Dec. 24, 2021, 12:12 a.m.