ric_empirical: Calculates the relevant RIC statistics (p(x), q(x), and AUCi)...

Description Usage Arguments Value

View source: R/RIC.r

Description

In clinical trials and observational studies the net treatment benefit is rarely available for each individual, as the same person is either a control or a treatment case, and rarely both. However, if this information is available, ric_empirical can be used to calculate relevant RIC statistics.

Usage

1
ric_empirical(xb_data, b_bar = NULL)

Arguments

xb_data

nx2 matrix with first column being the random draws from marker values and the second being an unbiased estimate of treatment benefit at that marker value

b_bar

expected benefit of treating all eligible patients vs. treating no one. Should be populated with expected benefit of treatment without testing ONLY when the outcome is a policy-relevant metric that includes the consequence of testing, otherwise the sample mean of benefits will be used;

Value

p(x), q(x), and AUCi


aminadibi/RIC documentation built on Aug. 12, 2019, 4:13 a.m.