Min.R2.delta {EffectTreat} | R Documentation |
R^2_{\delta}
for desired prediction accuracyComputes the minimum R^2_{\delta}
needed to achieve the desired prediction accuracy for the set of pretreatment predictors.
Min.R2.delta(delta, Sigma_T0T0, Sigma_T1T1)
delta |
The vector of |
Sigma_T0T0 |
The variance of |
Sigma_T1T1 |
The variance of |
Wim Van der Elst, Ariel Alonso & Geert Molenberghs
Alonso, A., Van der Elst, W., Luaces, P., Sanchez, L., & Molenberghs, G. (submitted). Evaluating multivariate predictors of therapeutic success: a causal inference approach.
Fit <- Min.R2.delta(delta = seq(from = 0, to = 250, by=50),
Sigma_T0T0 = 38.606, Sigma_T1T1 = 663.917)
# Explore the results
summary(Fit)
plot(Fit)