Predict.Treat.ContCont function

Compute the predicted treatment effect on the true endpoint of a patient based on his or her observed pretreatment predictor value in the continuous-continuous setting

Compute the predicted treatment effect on the true endpoint of a patient based on his or her observed pretreatment predictor value in the continuous-continuous setting

This function computes the predicted ΔTj\Delta T_j of a patient based on the pretreatment value SjS_j of a patient in the continuous-continuous setting.

Predict.Treat.ContCont(x, S, Beta, SS, mu_S)

Arguments

  • x: An object of class PCA.ContCont. See PCA.ContCont.
  • S: The observed pretreatment value SjS_j for a patient.
  • Beta: The estimated treatment effect on the true endpoint (in the validation sample).
  • SS: The estimated variance of the pretreatment predictor endpoint.
  • mu_S: The estimated mean of the pretreatment predictor (in the validation sample).

Returns

An object of class PCA.Predict.Treat.ContCont with components, - Pred_T: The predicted ΔTj\Delta T_j.

  • Var_Delta.T: The variance σΔT.\sigma_{\Delta_{T}}.

  • T0T1: The correlation between the counterfactuals T0T_{0}, T1T_{1}.

  • PCA: The vector of ρψ\rho_{\psi} values.

  • Var_Delta.T_S: The variance σΔT\sigma_{\Delta_{T}}|SjS_j.

References

Alonso, A., Van der Elst, W., & Molenberghs, G. (submitted). Validating predictors of therapeutic success: a causal inference approach.

Author(s)

Wim Van der Elst, Ariel Alonso, & Geert Molenberghs

See Also

PCA.ContCont

Examples

# Generate the vector of PCA.ContCont values when rho_T0S=.3, rho_T1S=.9, # sigma_T0T0=2, sigma_T1T1=2,sigma_SS=2, and the grid of values {-1, -.99, # ..., 1} is considered for the correlations between T0 and T1: PCA <- PCA.ContCont(T0S=.3, T1S=.9, T0T0=2, T1T1=2, SS=2, T0T1=seq(-1, 1, by=.01)) # Obtain the predicted value T for a patient who scores S = 10, using beta=5, # SS=2, mu_S=4 Predict <- Predict.Treat.ContCont(x=PCA, S=10, Beta=5, SS=2, mu_S=4) # examine the results summary(Predict) # plot Delta_T_j given S_T, for the mean value of the valid rho_T0T1 plot(Predict, Mean.T0T1=TRUE, Median.T0T1=FALSE)
  • Maintainer: Wim Van der Elst
  • License: GPL (>= 2)
  • Last published: 2020-07-04

Useful links