View source: R/MaxEntSPFBinBin.R
MaxEntSPFBinBin | R Documentation |
In a surrogate evaluation setting where both S
and T
are binary
endpoints, a sensitivity-based approach where multiple 'plausible values' for vector \pi
(i.e., vectors \pi
that are compatible with the observable data at hand) can be used (for details, see SPF.BinBin
). Alternatively, the maximum entropy distribution for vector \pi
can be considered (Alonso et al., 2015). The use of the distribution that maximizes the entropy can be justified
based on the fact that any other distribution would necessarily
(i) assume information that we do not have, or (ii) contradict information
that we do have. The function MaxEntSPFBinBin
implements the latter approach.
Based on vector \pi
, the surrogate predictive function (SPF) is computed, i.e., r(i,j)=P(\Delta T=i|\Delta S=j)
. For example, r(-1,1)
quantifies the probability that the treatment has a negative effect on the true endpoint (\Delta T=-1
) given that it has a positive effect on the surrogate (\Delta S=1
).
MaxEntSPFBinBin(pi1_1_, pi1_0_, pi_1_1,
pi_1_0, pi0_1_, pi_0_1, Method="BFGS",
Fitted.ICA=NULL)
pi1_1_ |
A scalar that contains the estimated value for |
pi1_0_ |
A scalar that contains the estimated value for |
pi_1_1 |
A scalar that contains the estimated value for |
pi_1_0 |
A scalar that contains the estimated value for |
pi0_1_ |
A scalar that contains the estimated value for |
pi_0_1 |
A scalar that contains the estimated value for |
Method |
The maximum entropy frequency vector |
Fitted.ICA |
A fitted object of class |
Vector_p |
The maximum entropy frequency vector |
r_1_1 |
The vector of values for |
r_min1_1 |
The vector of values for |
r_0_1 |
The vector of values for |
r_1_0 |
The vector of values for |
r_min1_0 |
The vector of values for |
r_0_0 |
The vector of values for |
r_1_min1 |
The vector of values for |
r_min1_min1 |
The vector of values for |
r_0_min1 |
The vector of values for |
Wim Van der Elst, Ariel Alonso, & Geert Molenberghs
Alonso, A., & Van der Elst, W. (2015). A maximum-entropy approach for the evluation of surrogate endpoints based on causal inference.
ICA.BinBin
, ICA.BinBin.Grid.Sample
, ICA.BinBin.Grid.Full
, plot MaxEntSPF BinBin
# Sensitivity-based ICA results using ICA.BinBin.Grid.Sample
ICA <- ICA.BinBin.Grid.Sample(pi1_1_=0.341, pi0_1_=0.119, pi1_0_=0.254,
pi_1_1=0.686, pi_1_0=0.088, pi_0_1=0.078, Seed=1,
Monotonicity=c("No"), M=5000)
# Sensitivity-based SPF
SPFSens <- SPF.BinBin(ICA)
# Maximum-entropy based SPF
SPFMaxEnt <- MaxEntSPFBinBin(pi1_1_=0.341, pi0_1_=0.119, pi1_0_=0.254,
pi_1_1=0.686, pi_1_0=0.088, pi_0_1=0.078)
# Explore maximum-entropy results
summary(SPFMaxEnt)
# Plot results
plot(x=SPFMaxEnt, SPF.Fit=SPFSens)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.