PROC.BinBin {Surrogate} | R Documentation |
Evaluate the individual causal association (ICA) and reduction in probability of a prediction error (RPE) in the setting where both
and
are binary endpoints
Description
The function PROC.BinBin
assesses the ICA and RPE in the single-trial causal-inference framework when both the surrogate and the true endpoints are binary outcomes. It additionally allows to account for sampling variability by means of bootstrap. See Details below.
Usage
PROC.BinBin(Dataset=Dataset, Surr=Surr, True=True, Treat=Treat,
BS=FALSE, seqs=250, MC_samples=1000, Seed=1)
Arguments
Dataset |
A |
Surr |
The name of the variable in |
True |
The name of the variable in |
Treat |
The name of the variable in |
BS |
Logical. If |
seqs |
The number of copies of the dataset that are produced or alternatively the number of bootstrap datasets that are produced. Default |
MC_samples |
The number of Monte Carlo samples that need to be obtained per copy of the data set. Default |
Seed |
The seed to be used. Default |
Details
In the continuous normal setting, surroagacy can be assessed by studying the association between the individual causal effects on and
(see
ICA.ContCont
). In that setting, the Pearson correlation is the obvious measure of association.
When and
are binary endpoints, multiple alternatives exist. Alonso et al. (2016) proposed the individual causal association (ICA;
), which captures the association between the individual causal effects of the treatment on
(
) and
(
) using information-theoretic principles.
The function PPE.BinBin
computes using a grid-based approach where all possible combinations of the specified grids for the parameters that are allowed to vary freely are considered. It additionally computes the minimal probability of a prediction error (PPE) and the reduction on the PPE using information that
conveys on
(RPE). Both measures provide complementary information over the
and facilitate more straightforward clinical interpretation. No assumption about monotonicity can be made. The function
PROC.BinBin
makes direct use of the function PPE.BinBin
. However, it is computationally much faster thanks to equally dividing the number of Monte Carlo samples over copies of the input data. In addition, it allows to account for sampling variability using a bootstrap procedure. Finally, the function PROC.BinBin
computes the marginal probabilities directly from the input data set.
Value
An object of class PPE.BinBin
with components,
PPE |
The vector of the PPE values. |
RPE |
The vector of the RPE values. |
PPE_T |
The vector of the |
R2_H |
The vector of the |
Author(s)
Paul Meyvisch, Wim Van der Elst, Ariel Alonso, Geert Molenberghs
References
Alonso A, Van der Elst W, Molenberghs G, Buyse M and Burzykowski T. (2016). An information-theoretic approach for the evaluation of surrogate endpoints based on causal inference.
Meyvisch P., Alonso A.,Van der Elst W, Molenberghs G.. Assessing the predictive value of a binary surrogate for a binary true endpoint, based on the minimum probability of a prediction error.
See Also
Examples
# Conduct the analysis
## Not run: # time consuming code part
library(Surrogate)
# load the CIGTS data
data(CIGTS)
CIGTS_25000<-PROC.BinBin(Dataset=CIGTS, Surr=IOP_12, True=IOP_96,
Treat=Treat, BS=FALSE,seqs=250, MC_samples=100, Seed=1)
## End(Not run)