SPF.BinCont {Surrogate} | R Documentation |
Evaluate the surrogate predictive function (SPF) in the binary-continuous setting (sensitivity-analysis based approach)
Description
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.
Usage
SPF.BinCont(x, a, b)
Arguments
x |
A fitted object of class |
a |
The lower interval |
b |
The upper interval |
Value
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 |
Author(s)
Wim Van der Elst & Ariel Alonso
References
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.
See Also
Examples
## 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)