Min.R2.delta {EffectTreat}R Documentation

Compute minimum R^2_{\delta} for desired prediction accuracy

Description

Computes the minimum R^2_{\delta} needed to achieve the desired prediction accuracy for the set of pretreatment predictors.

Usage

Min.R2.delta(delta, Sigma_T0T0, Sigma_T1T1)

Arguments

delta

The vector of \delta values to be considered.

Sigma_T0T0

The variance of T in the control treatment group.

Sigma_T1T1

The variance of T in the experimental treatment group.

Author(s)

Wim Van der Elst, Ariel Alonso & Geert Molenberghs

References

Alonso, A., Van der Elst, W., Luaces, P., Sanchez, L., & Molenberghs, G. (submitted). Evaluating multivariate predictors of therapeutic success: a causal inference approach.

Examples

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)

[Package EffectTreat version 1.1 Index]