SPF.BinCont | R Documentation |
Computes the surrogate predictive function (SPF) based on sensitivity-analyis, i.e., P(\Delta T | \Delta S \in I[ab])
, in the setting where S
is continuous and T
is a binary endpoint.
SPF.BinCont(x, a, b)
x |
A fitted object of class |
a |
The lower interval |
b |
The upper interval |
a |
The lower interval |
b |
The upper interval |
P_Delta_T_min1 |
The vector of values for |
P_Delta_T_0 |
The vector of values for |
P_Delta_T_1 |
The vector of values for |
Wim Van der Elst & Ariel Alonso
Alonso, A., Van der Elst, W., Molenberghs, G., & Verbeke, G. (2017). Assessing the predictive value of a continuous surogate for a binary true endpoint based on causal inference.
ICA.BinBin
, plot.SPF.BinCont
## Not run: # time consuming code part
# Use ICA.BinCont to examine surrogacy
data(Schizo_BinCont)
Result_BinCont <- ICA.BinCont(M = 1000, Dataset = Schizo_BinCont,
Surr = PANSS, True = CGI_Bin, Treat=Treat, Diff.Sigma=TRUE)
# Obtain SPF
Fit <- SPF.BinCont(x=Result_BinCont, a = -30, b = -3)
# examine results
summary(Fit1)
plot(Fit1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.